X-Git-Url: https://ruin.nu/git/?p=popboot.git;a=blobdiff_plain;f=planner.h;fp=planner.h;h=55d572877e61641cbdce15d0186bee9b4da9c235;hp=8d116933f14a6d0122aaa0182ca22f21686ca277;hb=92aca829cc32e9e4d5965259bd565e727469358d;hpb=a1941ebc8535c578f0989f847794917096274f8e diff --git a/planner.h b/planner.h index 8d11693..55d5728 100644 --- a/planner.h +++ b/planner.h @@ -22,11 +22,15 @@ class Planner { void makePlan(Node* node); void addNode(Node* node); + void executePlan(); + void replan(); + int cleanupExecution(); + int executeChildren(Node* node); sem_t _nodes; sem_t _list; std::queue _executedNodes; - + Node* _start; Node* _finish; __gnu_cxx::hash_map _addedEffects;