ivy.bipart module

class ivy.bipart.Bipart(elements, subset, node=None, support=None)[source]

Bases: object

A class representing a bipartition.

compute(elements)[source]
iscompatible(other)[source]
class ivy.bipart.TreeSet(root, elements=None)[source]
ivy.bipart.compare(set1, set2, support=None)[source]
ivy.bipart.compare_trees(r1, r2, support=None)[source]
ivy.bipart.conflict(bp1, bp2, support=None)[source]