23 #ifndef __NAVGRAPH_CONSTRAINTS_STATIC_LIST_NODE_CONSTRAINT_H_ 24 #define __NAVGRAPH_CONSTRAINTS_STATIC_LIST_NODE_CONSTRAINT_H_ 26 #include <navgraph/constraints/node_constraint.h> 31 #include <navgraph/navgraph.h> 44 std::vector<fawkes::NavGraphNode> &node_list);
48 const std::vector<fawkes::NavGraphNode> & node_list()
const;
51 void add_nodes(
const std::vector<fawkes::NavGraphNode> &nodes);
56 virtual bool compute(
void)
throw();
59 {
return has_node(node); }
Fawkes library namespace.
std::vector< fawkes::NavGraphNode > node_list_
Node list.
virtual bool blocks(const fawkes::NavGraphNode &node)
Check if constraint blocks a node.
Constraint that holds a list of nodes to block.
bool modified_
Set to true if changes are made to the constraint.
Constraint that can be queried to check if a node is blocked.