114 bool nodes_resize_policy =
true,
116 bool arcs_resize_policy =
true);
167 #ifndef GUM_NO_INLINE 169 #endif // GUM_NOINLINE Base classes for oriented graphs.
bool __hasDirectedPath(const NodeId from, const NodeId to)
checks whether there exists a directed path from from to to
UndiGraph moralGraph() const
static constexpr Size default_size
The default number of slots in hashtables.
Inline implementation of Base classes for directed acylic graphs.
Base classes for undirected graphs.
DAG & operator=(const DAG &g)
copy operator
gum is the global namespace for all aGrUM entities
DAG(Size nodes_size=HashTableConst::default_size, bool nodes_resize_policy=true, Size arcs_size=HashTableConst::default_size, bool arcs_resize_policy=true)
default constructor
Base class for all oriented graphs.
virtual void addArc(const NodeId tail, const NodeId head)
insert a new arc into the directed graph
Base class for undirected graphs.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Size NodeId
Type for node ids.