libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
EdgeInterface.h
1 #ifndef MHO_EDGEINTERFACE_H
2 #define MHO_EDGEINTERFACE_H
3 
4 
5 #include <vector>
6 #include "GraphCommon.h"
7 
8 namespace mho {
9 
10 class NodeInterface;
11 
13 {
14 public:
15 
16  //EdgeInterface();
17  //EdgeInterface(NodeInterface *n1, NodeInterface *n2, cost_t c);
18 
19  virtual NodeInterface* first(void) =0;
20  virtual NodeInterface* second(void) =0;
21  virtual NodeInterface* oppositeSideOf(NodeInterface* n) =0;
22  virtual cost_t getCost(void) =0;
23  virtual void setCost(cost_t c) =0 ;
24  virtual void setFirst(NodeInterface* n) =0;
25  virtual void setSecond(NodeInterface* n) =0;
26 
27 };
28 
29 } // namespace mho
30 
31 
32 #endif // MHO_EDGEINTERFACE_H
Definition: NodeInterface.h:11
Definition: EdgeInterface.h:12