public class RepEGraphImpl extends EGraphImp implements RepEGraph
| Constructor and Description |
|---|
RepEGraphImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRepresentedGraph(int graphId) |
int |
getCost() |
int |
getCost(java.lang.String costFunctionName) |
java.util.Map<java.lang.String,java.lang.Integer> |
getCosts() |
java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.lang.Integer>> |
getEdgeRepresentedEdges() |
java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.lang.Integer>> |
getNodeRepresentedNodes() |
ENode |
getNodeRepresenting(int graphId,
int nodeId) |
java.util.Map<java.lang.Integer,java.lang.Integer> |
getNodeToCost() |
java.util.Map<java.lang.Integer,java.lang.Boolean> |
getNodeToMappedCorrectly() |
java.util.List<java.lang.Integer> |
getRepresentedGraphIds() |
void |
removeNode(ENode node) |
void |
setCost(int cost) |
void |
setCost(java.lang.String costFunctionName,
int cost) |
void |
setNodeToCorrect(java.util.Map<java.lang.Integer,java.lang.Boolean> nodeToCorrect) |
void |
setNodeToCost(java.util.Map<java.lang.Integer,java.lang.Integer> nodeToCost) |
java.lang.String |
toString() |
void |
updateEdgeRepresentedEdge(int edgeId,
int orgGraphId,
int orgEdgeId) |
void |
updateNodeRepresentedNode(int nodeId,
int orgGraphId,
int orgNodeId) |
addEdge, addNode, getDist, getEdge, getEdges, getId, getNodeById, getNodes, getNodesWithLabel, getSize, setGraphDist, setIdpublic void addRepresentedGraph(int graphId)
addRepresentedGraph in interface RepEGraphpublic void removeNode(ENode node)
removeNode in interface EGraphremoveNode in class EGraphImppublic void updateNodeRepresentedNode(int nodeId,
int orgGraphId,
int orgNodeId)
updateNodeRepresentedNode in interface RepEGraphpublic void updateEdgeRepresentedEdge(int edgeId,
int orgGraphId,
int orgEdgeId)
updateEdgeRepresentedEdge in interface RepEGraphpublic java.util.List<java.lang.Integer> getRepresentedGraphIds()
getRepresentedGraphIds in interface RepEGraphpublic java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.lang.Integer>> getEdgeRepresentedEdges()
getEdgeRepresentedEdges in interface RepEGraphpublic java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.lang.Integer>> getNodeRepresentedNodes()
getNodeRepresentedNodes in interface RepEGraphpublic java.util.Map<java.lang.Integer,java.lang.Integer> getNodeToCost()
getNodeToCost in interface RepEGraphpublic void setNodeToCost(java.util.Map<java.lang.Integer,java.lang.Integer> nodeToCost)
setNodeToCost in interface RepEGraphpublic java.util.Map<java.lang.Integer,java.lang.Boolean> getNodeToMappedCorrectly()
getNodeToMappedCorrectly in interface RepEGraphpublic void setNodeToCorrect(java.util.Map<java.lang.Integer,java.lang.Boolean> nodeToCorrect)
setNodeToCorrect in interface RepEGraphpublic ENode getNodeRepresenting(int graphId, int nodeId)
getNodeRepresenting in interface RepEGraphpublic int getCost(java.lang.String costFunctionName)
public void setCost(java.lang.String costFunctionName,
int cost)