priops.path

priops.Path

class priops.path.Path(edges)[source]

Bases: list

A sequence of edges, together with the net weight.

__init__(edges)[source]

edges is a list of Edges.

__str__()[source]

Returns pretty-formatted string containing a numbered list of edges making up the Path.

__xor__(edge)[source]

Combines this path with edge to a new path. edge will extend self at the end of self.

__rxor__(edge)[source]

Combines this path with edge to a new path. edge will extend self at the start of self.

__call__(input)[source]

Processes inter-node data input.

Table Of Contents

Previous topic

priops.edge

Next topic

priops.priop

This Page