traversal#
add2edges#
addaAedge#
addacedge#
addanedge#
addapath#
addavedge#
addaVpath#
check3#
checkable#
checkAedge#
checkApath#
checkbedges#
checkcedge#
checkedge#
checker#
checkerDS#
checkvedge#
childrenedges#
chunks#
cleanedges#
cleanVedges#
cloneempty#
conformanceDS#
del2edges#
del_empty#
delaAedge#
delacedge#
delanedge#
delapath#
delavedge#
delaVpath#
edge_function_idx#
edge_increment_ok#
esig#
forks#
- gunfolds.solvers.traversal.forks(n, c, el, bl, doempty=<function <lambda>>)[source]#
- Parameters:
n ((guess)string) – single node string
c – mutable list of children of node n (will be changed as a side effect)
el – list of edges available for construction (side effect change)
bl – list of bidirected edges
doempty –
- Returns:
- Return type:
gpurgepath#
gsig#
inorder_check2#
inorder_checks#
invertCDSelement#
isAedge#
isApath#
isCedge#
isedge#
isvedge#
length_d_loopy_paths#
length_d_paths#
longpaths_pick#
make_allforks_and_rest#
make_emptyforks#
- gunfolds.solvers.traversal.make_emptyforks(n, c, el, bl)[source]#
An empty fork is a fork without the bidirected edge
- Parameters:
n ((guess)string) – single node string
c – mutable list of children of node n (will be changed as a side effect)
el – list of edges available for construction (side effect change)
bl – list of bidirected edges
- Returns:
- Return type:
make_fullforks#
- gunfolds.solvers.traversal.make_fullforks(n, c, el, bl)[source]#
- Parameters:
n ((guess)string) – single node string
c – mutable list of children of node n (will be changed as a side effect)
el – list of edges available for construction (side effect change)
bl – list of bidirected edges
- Returns:
- Return type:
make_longpaths#
makechains#
makesink#
makesinks#
mask2edges#
maskaAedge#
maskaCedge#
maskanedge#
maskapath#
maskavedge#
maskaVpath#
memo_no_return#
ok2add2edges#
ok2addaAedge#
ok2addacedge#
ok2addanedge#
ok2addanedge1#
ok2addanedge2#
ok2addapath#
ok2addavedge#
ok2addaVpath#
prune_sort_CDS#
prunepaths_1D#
purgepath#
selfloops#
signature#
single_nodes#
supergraphs_in_eq#
- gunfolds.solvers.traversal.supergraphs_in_eq(g, g2, rate=1)[source]#
Find all supergraphs of
g
that are also in the same equivalence class with respect to g2 and the rate. Currently works only for bfu.undersample by 1- Parameters:
g (dictionary (
gunfolds
graphs)) –gunfolds
graphg2 –
rate –
- Returns:
- Return type: