const NodeSet & parents(const NodeId id) const
wrapping DAG::parents(id)
Size sizeArcs() const
wrapping DAG::sizeArcs()
Size sizeNodes() const
wrapping DAG::sizeNodes()
Size size() const
alias for sizeNodes
const NodeSet & children(const NodeId id) const
wrapping DAG::parents(id)
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Size size() const
wrapping DAG::size()
const ArcSet & arcs() const
wrapping DAG::arcs()
Size sizeArcs() const
indicates the number of arcs stored within the ArcGraphPart
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
const NodeSet & parents(const NodeId id) const
returns the set of nodes with arc ingoing to a given node
const NodeGraphPart & nodes() const
return *this as a NodeGraphPart
Class for node sets in graph.
Size sizeNodes() const
returns the number of nodes in the NodeGraphPart
const NodeSet & children(const NodeId id) const
returns the set of nodes with arc outgoing from a given node
const ArcSet & arcs() const
returns the set of arcs stored within the ArcGraphPart
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Size NodeId
Type for node ids.
const NodeGraphPart & nodes() const
wrapping DAG::nodes()