signature.simple.SimpleQuotientGraph Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signatures Show documentation
Show all versions of signatures Show documentation
A graph signature library
The newest version!
package signature.simple;
import signature.AbstractQuotientGraph;
public class SimpleQuotientGraph extends AbstractQuotientGraph {
private SimpleGraph graph;
public SimpleQuotientGraph(SimpleGraph graph) {
super();
this.graph = graph;
SimpleGraphSignature graphSignature = new SimpleGraphSignature(graph);
super.construct(graphSignature.getSymmetryClasses());
}
public SimpleQuotientGraph(SimpleGraph graph, int height) {
super();
this.graph = graph;
SimpleGraphSignature graphSignature = new SimpleGraphSignature(graph);
super.construct(graphSignature.getSymmetryClasses(height));
}
public boolean isConnected(int i, int j) {
return graph.isConnected(i, j);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy