public class SymmetricAcyclicGraphChecker<V,EX extends Exception> extends Object implements GraphChecker<EX>
| Constructor and Description |
|---|
SymmetricAcyclicGraphChecker(SymmetricMultiGraph<V,?,? extends EX> graph,
boolean isForward) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkGraph()
Test the graph for cycles and makes sure that all connections are consistent with back connections.
|
public SymmetricAcyclicGraphChecker(SymmetricMultiGraph<V,?,? extends EX> graph, boolean isForward)
public void checkGraph()
throws AsymmetricException,
CycleException,
EX extends Exception
checkGraph in interface GraphChecker<EX extends Exception>AsymmetricException - where the edges are not symmetricCycleException - if there is a cycle in the graphEX extends ExceptionCopyright © 2016. All rights reserved.