22 #ifndef __NAVGRAPH_CONSTRAINTS_NODE_CONSTRAINT_H_ 23 #define __NAVGRAPH_CONSTRAINTS_NODE_CONSTRAINT_H_ 28 #include <navgraph/navgraph_node.h> 46 virtual bool compute(
void)
throw();
49 bool operator==(
const std::string &name)
const;
Fawkes library namespace.
std::string name()
Get name of constraint.
virtual ~NavGraphNodeConstraint()
Virtual empty destructor.
virtual bool compute(void)
Perform compuations before graph search and to indicate re-planning.
NavGraphNodeConstraint(const std::string &name)
Constructor.
virtual bool blocks(const fawkes::NavGraphNode &node)=0
Check if constraint blocks a node.
std::string name_
Name of constraint.
Constraint that can be queried to check if a node is blocked.
bool operator==(const std::string &name) const
Check if constraint matches name.