Home | Trees | Indices | Help |
|
---|
|
Methods to manage states and initial states.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
set |
|
||
set |
|
||
|
|||
|
|||
|
|||
list of labeled states |
|
||
|
|||
Inherited from |
Properties | |
initial Return SubSet of initial states. |
|
Inherited from |
Method Details |
Initialize
|
Return list of states. For more details see LabeledDiGraph.nodes |
str(x)
|
Wraps LabeledDiGraph.add_node, which wraps |
Wraps LabeledDiGraph.add_nodes_from, which wraps |
Remove Wraps |
Remove a list of states. Iterates |
Direct successor set (1-hop) for given states. Edge labels are ignored. If multiple states provided, then union Post(s) for s in states provided. See Also
|
Return direct predecessors (1-hop) of given state. See Also
|
Return states reachable from given state. Iterated post(), a wrapper of networkx.descendants. |
Return states from which the given state can be reached. A wrapper of networkx.ancestors. |
Color the given state. The state is filled with given color, rendered with dot when plotting and saving.
|
Filter by desired states and by desired state labels. ExamplesAssume that the system is: >>> import transys as trs >>> ts = trs.FTS() >>> ts.atomic_propositions.add('p') >>> ts.states.add('s0', ap={'p'})
|
Return True if state has no outgoing transitions. See AlsoDef. 2.4, p.23 [BK08] |
Property Details |
initialReturn SubSet of initial states.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Nov 19 00:11:17 2016 | http://epydoc.sourceforge.net |