Overview#
The phylozoo.core.network.sdnetwork module provides classes and functions for working with
semi-directed phylogenetic networks. Semi-directed networks have directed hybrid edges and undirected
tree edges, allowing for flexible representation without requiring a fixed root. Note that unrooted phylogenetic trees are a special case of a semi-directed phylogenetic network.
All classes and functions on this page can be imported from the sdnetwork module:
from phylozoo.core.network.sdnetwork import *
# or directly
from phylozoo.core.network.sdnetwork import SemiDirectedPhyNetwork
Tip
For convenience, you can also use the alias phylozoo.core.sdnetwork instead of
phylozoo.core.network.sdnetwork. Both import paths work identically.
Documentation#
Semi-Directed Network (Class) - The SemiDirectedPhyNetwork class and its properties
Semi-Directed Network (Advanced Features) - Network features, transformations, classifications, isomorphism
Semi-Directed Generator - Level-k network generators
See Also#
API Reference - Complete function signatures and detailed examples
Directed Networks - Rooted networks with all edges directed