23 #include <navgraph/constraints/static_list_node_constraint.h>
49 std::vector<fawkes::NavGraphNode> &node_list)
121 const std::vector<fawkes::NavGraphNode> &
Constraint that can be queried to check if a node is blocked.
void clear_nodes()
Remove all nodes.
bool has_node(const fawkes::NavGraphNode &node)
Check if constraint has a specific node.
void remove_node(const fawkes::NavGraphNode &node)
Remove a single node from the constraint list.
virtual ~NavGraphStaticListNodeConstraint()
Virtual empty destructor.
virtual bool compute(void) noexcept
Perform compuations before graph search and to indicate re-planning.
void add_nodes(const std::vector< fawkes::NavGraphNode > &nodes)
Add multiple nodes to constraint list.
const std::vector< fawkes::NavGraphNode > & node_list() const
Get list of blocked nodes.
void add_node(const fawkes::NavGraphNode &node)
Add a single node to constraint list.
NavGraphStaticListNodeConstraint(std::string name)
Constructor.
std::vector< fawkes::NavGraphNode > node_list_
Node list.
bool modified_
Set to true if changes are made to the constraint.
Fawkes library namespace.