unknownrate#
add2set_#
add2set_loop#
allsloops#
bconflictor#
build_loop_step#
cacheconflicts#
- gunfolds.solvers.unknownrate.cacheconflicts(num, cache)[source]#
Given a number representation of a graph and an iterable of conflicting subgraphs return True if the graph conflicts with any of them and false otherwise
- Parameters:
num – the number representation of a graph
cache – an iterable of number representations of conflicting graphs
- Returns:
- Return type:
conflictor#
conflictor_set#
conflictors#
confpairs#
del_loop#
delAloop#
e2num#
ekey2e#
forward_loop_match#
gen_loops#
iteqclass#
lconflictors#
lconfpairs#
le2num#
liteqclass#
loop2graph#
main#
matchAloop#
perm_circular#
prune_conflicts#
- gunfolds.solvers.unknownrate.prune_conflicts(H, g, elist)[source]#
Checks if adding an edge from the list to graph g causes a conflict with respect to H and if it does removes the edge from the list
- Parameters:
H – the undersampled graph
g – a graph under construction
elist – list of edges to check
- Returns:
- Return type: