pm4py.objects.powl.BinaryRelation module#

class pm4py.objects.powl.BinaryRelation.BinaryRelation(nodes: List[T])[source]#

Bases: object

get_nodes() → List[T][source]#
add_edge(source: T, target: T) → None[source]#
remove_edge(source: T, target: T) → None[source]#
remove_edge_without_violating_transitivity(source: T, target: T) → None[source]#
add_node(node: T) → None[source]#
is_edge(source: T, target: T) → bool[source]#
is_edge_id(i: int, j: int) → bool[source]#
get_transitive_reduction() → BinaryRelation[source]#
add_transitive_edges() → None[source]#
is_strict_partial_order() → bool[source]#
get_start_nodes() → Set[T][source]#
get_end_nodes() → Set[T][source]#
is_irreflexive() → bool[source]#
is_transitive() → bool[source]#
property nodes: List[T]#
property edges#