symbolic_dynamics.sofic.idot

symbolic_dynamics.sofic.idot(G, it, w)[source]

Computes the transition action of w in G on each element of the iterable it, returning an iset of the non-None results.

Parameters
Gdeterministic labeled graph
ititerable of vertices in G
wword

See also

dot()

Examples

>>> G = nx.MultiDiGraph()
>>> nx.add_path(G, range(5), label="a")
>>> sd.idot(G, [0, 1], "aaa")
{3, 4}
>>> sd.idot(G, [0, 1], "aaaa")
{4}
>>> sd.idot(G, [0, 1], "aaaaa")
{}