File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,17 @@ def __str__(self):
2222 else :
2323 av = 0
2424 w = 0
25- return "Expanded %d state(s).\n Opened %d state(s).\n Reopened %d state(s).\n Evaluated %d state(s).\n Generated %d state(s).\n Dead ends: %d state(s).\n Runtime: %.2fs.\n Total heuristic runtime: %.2fs\n Computational weight of heuristic in the search: %.2f%%" % (
26- self .n_expended ,
27- self .n_opened ,
28- self .n_reopened ,
29- self .n_evaluated ,
30- self .n_generated ,
31- self .deadend_states ,
32- self .runtime ,
33- av ,
34- w ,
25+ return (
26+ "Expanded %d state(s).\n Opened %d state(s).\n Reopened %d state(s).\n Evaluated %d state(s).\n Generated %d state(s).\n Dead ends: %d state(s).\n Runtime: %.2fs.\n Total heuristic runtime: %.2fs\n Computational weight of heuristic in the search: %.2f%%"
27+ % (
28+ self .n_expended ,
29+ self .n_opened ,
30+ self .n_reopened ,
31+ self .n_evaluated ,
32+ self .n_generated ,
33+ self .deadend_states ,
34+ self .runtime ,
35+ av ,
36+ w ,
37+ )
3538 )
You can’t perform that action at this time.
0 commit comments