signature.edgecolored.EdgeColoredQuotientGraph 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.edgecolored;
import java.util.Map;
import signature.AbstractQuotientGraph;
public class EdgeColoredQuotientGraph extends AbstractQuotientGraph {
private EdgeColoredGraph graph;
public EdgeColoredQuotientGraph(EdgeColoredGraph graph, Map colorMap) {
super();
this.graph = graph;
EdgeColoredGraphSignature graphSignature = new EdgeColoredGraphSignature(graph, colorMap);
super.construct(graphSignature.getSymmetryClasses());
}
public EdgeColoredQuotientGraph(EdgeColoredGraph graph, Map colorMap, int height) {
super();
this.graph = graph;
EdgeColoredGraphSignature graphSignature = new EdgeColoredGraphSignature(graph, colorMap);
super.construct(graphSignature.getSymmetryClasses(height));
}
public boolean isConnected(int i, int j) {
return graph.isConnected(i, j);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy