codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
bool BFS::solve() { cout << "THINGY::::: " << States.at(0).state<<endl; vector<string> temp_strings; for(int a=0; a < States.size(); a ++) { if(States.size() !=1)tempor.s_struct(States.at(a).state, tempor); if(tempor.win_condition()) { return true; } temp_strings = get_states(tempor); for(int b=0; b< temp_strings.size(); b++) States.push_back(m_s(ID, ID+1, temp_strings.at(b))); tempor.print_table(); if(a > pow((double)root.list_T.size(), 4)) return false; } return false; }
Private
[
?
]
Run code
Submit