root/deus/forward_search.h

Revision 8, 0.5 kB (checked in by pantley2, 4 years ago)

added old DEUS project to SVN

Line 
1 /**
2  * forward_search.h
3  */
4 #pragma once
5
6 #include "structures.h"
7
8 // Returns true if a match is found
9 bool forward_search(int time_ms);
10 bool forward_search_rec(PlanNode *n, int time_ms, class QTime *t);
11
12 // Returns NULL if no match is found
13 bool matches_reverse(PlanNode *node, PlanNode *root);   
14
15 // Holds any nodes that match between the forward and backward searches
16 extern list<PlanNode *> matching_nodes;
17
18 World* buildWorld(PlanNode *n);
19 list<std::pair<std::pair<World*,PlanNode*>, Condition> > GetWorldStates(Condition &c);
Note: See TracBrowser for help on using the browser.