public interface perturber<N,E>
Modifier and Type | Method and Description |
---|---|
int |
clear_removed_edges()
Clear state held for any removed edges.
|
java.util.List<Edge<N,E>> |
perturb()
Carry out 1 iteration of the perturbation of the graph, according to the
policy of the implementation.
|
java.util.List<Edge<N,E>> |
removed_edges() |
int |
restore()
Restore edges removed previously, up until the last call to
clear_removed_edges() . |
java.util.List<Edge<N,E>> perturb()
int restore()
clear_removed_edges()
. This also clears the remember, removed edges.java.util.List<Edge<N,E>> removed_edges()
int clear_removed_edges()
restore()
calls will
not be able to add back any of the edges held before the call to this
method.