Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
UndiGraph _graph
The DAG of this Directed Graphical Model.
virtual NodeId idFromName(const std::string &name) const =0
Getter by name.
const NodeSet & neighbours(const NodeId id) const
returns the neighbours of a node as set of nodes
const EdgeSet & edges() const
returns the neighbours of a node as set of nodes
Size size() const
alias for sizeNodes
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
const NodeSet & neighbours(const NodeId id) const
returns the set of edges adjacent to a given node
const EdgeSet & edges() const
returns the set of edges stored within the EdgeGraphPart
const NodeGraphPart & nodes() const
Returns a constant reference to the dag of this Bayes Net.
Class for node sets in graph.
Size sizeEdges() const
Returns the number of arcs in this Directed Graphical Model.
const UndiGraph & graph() const
Returns a constant reference to the dag of this Bayes Net.
Base class for undirected graphs.
Size sizeEdges() const
indicates the number of edges stored within the EdgeGraphPart
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Size NodeId
Type for node ids.
virtual Size size() const final
Returns the number of variables in this Directed Graphical Model.