@@ -122,11 +122,19 @@ class World
bool explored[size];
+ stack<unsigned int> open;
+
for (unsigned int k(0); k < size; k ++)
explored[k] = false;
explored[s0] = true;
+ do {
+ // todo ...
+ } while (!r && !open.empty());
return r;
}
};