PDAG.edges

PDAG.edges()
Returns:

the list of the edges

Return type:

List

Example

import pyagrum as gum

pdag = gum.fastPDAG("A->B-C;C-D")
sorted(pdag.edges())
# [(1, 2), (2, 3)]

Used by

PDAG, ChainGraph

Inheritance diagram of pyagrum.PDAG, pyagrum.ChainGraph