projekty
/
imago.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use ransac in linef
[imago.git]
/
imago_pack
/
cs.py
diff --git
a/imago_pack/cs.py
b/imago_pack/cs.py
index
6273651
..
09d5280
100644
(file)
--- a/
imago_pack/cs.py
+++ b/
imago_pack/cs.py
@@
-71,6
+71,6
@@
def optimize(dimension, boundary, function_d, n_nest, n_turns, reset=1):
for _ in xrange(n_turns / reset):
next_turn(space)
best_list.append((space.best_value, space.best))
for _ in xrange(n_turns / reset):
next_turn(space)
best_list.append((space.best_value, space.best))
- print space.best_value
+
#
print space.best_value
return max(best_list)[1]
return max(best_list)[1]