Friday, June 20, 2008

Stopping Criteria

Follow up from yesterday's NS code.

Check at the 3500th iteration if it is above the desired/actual/computed/pleasant number.

if yes,
break
no?

go to hell!!!
(I mean to 10000th iteration)

ha ha!

%%%%%%%%%%%%%%%%%%%

if nest = = 3500
[x,y,z] = Results(Samples, nest, logZ);
if x>0.1
break
end
end

No comments: