1 %feature("docstring") gum::Arc
2 "
3 pyAgrum.Arc is the representation of an arc between two nodes represented by int : the head and the tail.
4 
5 Arc(tail, head) -> Arc
6     Parameters:
7         * **tail** (*int*) -- the tail
8         * **head** (*int*) -- the head
9 
10 Arc(src) -> Arc
11     Parameters:
12         * **src** (*Arc*) -- the pyAgrum.Arc to copy
13 "
14 
15 %feature("docstring") gum::Arc::tail
16 "
17 Returns
18 -------
19 int
20   the id of the tail node
21 "
22 
23 %feature("docstring") gum::Arc::head
24 "
25 Returns
26 ------
27 int
28   the id of the head node
29 "
30 
31 %feature("docstring") gum::Arc::other
32 "
33 Parameters
34 ----------
35 id : int
36   the nodeId of the head or the tail
37 
38 
39 Returns
40 -------
41 int
42   the nodeId of the other node
43 "
44 
45 
46 %feature("docstring") gum::Arc::first
47 "
48 Returns
49 -------
50 int
51   the nodeId of the first node of the arc (the tail)
52 "
53 
54 
55 %feature("docstring") gum::Arc::second
56 "
57 Returns
58 -------
59 int
60   the nodeId of the second node of the arc (the head)
61 "
62