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 classAStarGraphItemMapping.MappingType
-
Field Summary
Fields Modifier and Type Field Description NESTGraphItemObjectcaseItemThe item (GraphNode or GraphEdge) of the caseGraph.NESTGraphItemObjectqueryItemThe item (GraphNode or GraphEdge) of the queryGraph.SimilaritysimThe calculated similarity between the two items.AStarGraphItemMapping.MappingTypetypeThe 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 intcompareTo(AStarGraphItemMapping o)StringgetCaseItemId()StringgetQueryItemId()StringtoDetailedString()StringtoString()
-
-
-
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:
compareToin interfaceComparable<AStarGraphItemMapping>
-
toDetailedString
public String toDetailedString()
-
getQueryItemId
public String getQueryItemId()
-
getCaseItemId
public String getCaseItemId()
-
-