Fawkes API
Fawkes Development Version
|
22 #ifndef _NAVGRAPH_CONSTRAINTS_EDGE_CONSTRAINT_H_
23 #define _NAVGRAPH_CONSTRAINTS_EDGE_CONSTRAINT_H_
25 #include <navgraph/navgraph_node.h>
43 virtual bool compute(
void)
throw();
virtual bool compute(void)
Perform compuations before graph search and to indicate re-planning.
virtual bool blocks(const fawkes::NavGraphNode &from, const fawkes::NavGraphNode &to)=0
Check if constraint blocks an edge.
bool operator==(const std::string &name) const
Check if constraint matches name.
std::string name_
Name of constraint.
Constraint that can be queried to check if an edge is blocked.
Fawkes library namespace.
NavGraphEdgeConstraint(const std::string &name)
Constructor.
virtual ~NavGraphEdgeConstraint()
Virtual empty destructor.
std::string name()
Get name of constraint.