orderedskeleton

This module facilitates the process of creating ordered graph skeletons by topologically ordering them automatically.

class libpgm.orderedskeleton.OrderedSkeleton(graphskeleton=None)[source]

This class represents a graph skeleton (see graphskeleton) that is always topologically ordered.

V = None

A list of names of vertices

E = None

A list of [origin, destination] pairs of verties that constitute edges.

load(path)[source]

Loads a dictionary from a file located at path in the same manner as graphskeleton, but includes a step where it topologically orders the nodes.

Previous topic

graphskeleton

Next topic

nodedata

This Page