Class AStarGraphItemMapping
- java.lang.Object
-
- de.uni_trier.wi2.procake.similarity.nest.astar.utils.AStarGraphItemMapping
-
- All Implemented Interfaces:
Comparable<AStarGraphItemMapping>
- Direct Known Subclasses:
AStarGraphEdgeMapping
,AStarGraphNodeMapping
public class AStarGraphItemMapping extends Object implements Comparable<AStarGraphItemMapping>
Represents a mapping between a queryItem and a caseItem.- Author:
- Alexander Stromer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AStarGraphItemMapping.MappingType
-
Field Summary
Fields Modifier and Type Field Description NESTGraphItemObject
caseItem
The item (GraphNode or GraphEdge) of the caseGraph.NESTGraphItemObject
queryItem
The item (GraphNode or GraphEdge) of the queryGraph.Similarity
sim
The calculated similarity between the two items.AStarGraphItemMapping.MappingType
type
The type of the mapping.
-
Constructor Summary
Constructors Constructor Description AStarGraphItemMapping(NESTGraphItemObject queryItem, NESTGraphItemObject caseItem, Similarity sim)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(AStarGraphItemMapping o)
String
getCaseItemId()
String
getQueryItemId()
String
toDetailedString()
String
toString()
-
-
-
Field Detail
-
queryItem
public NESTGraphItemObject queryItem
The item (GraphNode or GraphEdge) of the queryGraph.
-
caseItem
public NESTGraphItemObject caseItem
The item (GraphNode or GraphEdge) of the caseGraph.
-
sim
public Similarity sim
The calculated similarity between the two items.
-
type
public AStarGraphItemMapping.MappingType type
The type of the mapping.
-
-
Constructor Detail
-
AStarGraphItemMapping
public AStarGraphItemMapping(NESTGraphItemObject queryItem, NESTGraphItemObject caseItem, Similarity sim)
- Parameters:
queryItem
-caseItem
-sim
-
-
-
Method Detail
-
compareTo
public int compareTo(AStarGraphItemMapping o)
- Specified by:
compareTo
in interfaceComparable<AStarGraphItemMapping>
-
toDetailedString
public String toDetailedString()
-
getQueryItemId
public String getQueryItemId()
-
getCaseItemId
public String getCaseItemId()
-
-