Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
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 © 2000–2016 AO Industries, Inc.. All rights reserved.