Home | Trees | Indices | Help |
|
---|
|
Base classes for labeled directed graphs
Classes | |
States Methods to manage states and initial states. |
|
Transitions Methods for handling labeled transitions. |
|
LabeledDiGraph Directed multi-graph with constrained labeling. |
Functions | |||
|
|||
|
|||
|
|||
|
Variables | |
logger = logging.getLogger(__name__)
|
|
__package__ = None hash(x) |
Function Details |
Return True if all labels match. Supports symbolic evaluation, if label type is callable. |
If string, convert to set(string). Convention: singleton str {'*'} can be passed as str '*' instead. |
Prepend items with given string. Example>>> states = [0, 1] >>> prepend_str = 's' >>> states = prepend_with(states, prepend_str) >>> assert(states == ['s0', 's1'] ) See Also
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Nov 19 00:11:17 2016 | http://epydoc.sourceforge.net |