1 %feature("docstring") gum::Edge
2 "
3 pyAgrum.Edge is the representation of an arc between two nodes represented by int : the first and the second.
4 
5 Edge(aN1,aN2) -> Edge
6     Parameters:
7         * **aN1** (*int*) -- the nodeId of the first node
8         * **aN2** (*int*) -- the nodeId of the secondnode
9 
10 Edge(src) -> Edge
11     Parameters:
12         * **src** (*yAgrum.Edge*) -- the Edge to copy
13 "
14 
15 %feature("docstring") gum::Edge::other
16 "
17 Parameters
18 ----------
19 id : int
20   the nodeId of one of the nodes of the Edge
21 
22 
23 Returns
24 ------
25 int
26   the nodeId of the other node
27 "
28 
29 
30 %feature("docstring") gum::Edge::first
31 "
32 Returns
33 ------
34 int
35   the nodeId of the first node of the arc (the tail)
36 "
37 
38 
39 %feature("docstring") gum::Edge::second
40 "
41 Returns
42 ------
43 int
44   the nodeId of the second node of the arc (the head)
45 "
46