nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adding a README to the actors group
[nit.git]
/
lib
/
ai
/
search.nit
diff --git
a/lib/ai/search.nit
b/lib/ai/search.nit
index
69b5c0d
..
f406949
100644
(file)
--- a/
lib/ai/search.nit
+++ b/
lib/ai/search.nit
@@
-731,7
+731,7
@@
class SearchNode[S: Object, A]
print "result:{state}"
for n in path do
var a = n.action
- if a != null then print " + {a or else ""}"
+ if a != null then print " + {a}"
print " {n.steps}: {n.state} ({n.cost}$)"
end
end