1 %feature("docstring") gum::DAG
2 "
3 DAG represents a Directed Acyclic Graph.
4 
5 DAG() -> DAG
6     default constructor
7 
8 DAG(src) -> DAG
9     Parameters:
10         * **src** (*DAG*) -- the DAG to copy
11 "
12 
13 %feature("docstring") gum::DAG::addArc
14 "
15 Add an arc from tail to head.
16 
17 Parameters
18 ----------
19 tail : int
20   the id of the tail node
21 head : int
22   the id of the head node
23 
24 Raises
25 ------
26 pyAgrum.InvalidDirectedCircle
27 	If any (directed) cycle is created by this arc
28 pyAgrum.InvalidNode
29 	If head or tail does not belong to the graph nodes
30 "
31