File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 77// //////////////////////////////////////////////////////////////////////////////////////////////////////////////
88
99#include < iostream>
10- #include < sstream>
1110#include < stdio.h>
1211#include < assert.h>
13- #include < new>
14-
1512#include < ctype.h>
1613
1714// Configuration
@@ -668,7 +665,9 @@ int main( int argc, char *argv[] )
668665
669666 unsigned int SearchState;
670667
668+ #if DEBUG_LISTS
671669 unsigned int SearchSteps = 0 ;
670+ #endif
672671
673672 do
674673 {
@@ -711,7 +710,10 @@ int main( int argc, char *argv[] )
711710 astarsearch.CancelSearch();
712711 }
713712#endif
713+
714+ #if DEBUG_LISTS
714715 SearchSteps++;
716+ #endif
715717 }
716718 while ( SearchState == AStarSearch<PuzzleState>::SEARCH_STATE_SEARCHING );
717719
Original file line number Diff line number Diff line change @@ -23,9 +23,3 @@ tests : tests.cpp 8puzzle findpath minpathbucharest
2323
2424test : tests
2525 ./tests
26-
27-
28-
29-
30-
31-
You can’t perform that action at this time.
0 commit comments