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
Represents a mapping between a queryItem and a caseItem.
- Author:
- Alexander Stromer
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionThe item (GraphNode or GraphEdge) of the caseGraph.The item (GraphNode or GraphEdge) of the queryGraph.The calculated weighted similarity between the two items.The type of the mapping.The calculated similarity between the two items.double
Custom weight -
Constructor Summary
ConstructorDescriptionAStarGraphItemMapping
(NESTGraphItemObject queryItem, NESTGraphItemObject caseItem, Similarity sim) AStarGraphItemMapping
(NESTGraphItemObject queryItem, NESTGraphItemObject caseItem, Similarity sim, double weight, Similarity unweightedSim) -
Method Summary
-
Field Details
-
queryItem
The item (GraphNode or GraphEdge) of the queryGraph. -
caseItem
The item (GraphNode or GraphEdge) of the caseGraph. -
sim
The calculated weighted similarity between the two items. -
unweightedSim
The calculated similarity between the two items. -
type
The type of the mapping. -
weight
public double weightCustom weight
-
-
Constructor Details
-
AStarGraphItemMapping
public AStarGraphItemMapping(NESTGraphItemObject queryItem, NESTGraphItemObject caseItem, Similarity sim) - Parameters:
queryItem
-caseItem
-sim
-
-
AStarGraphItemMapping
public AStarGraphItemMapping(NESTGraphItemObject queryItem, NESTGraphItemObject caseItem, Similarity sim, double weight, Similarity unweightedSim) - Parameters:
queryItem
-caseItem
-sim
-weight
-
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<AStarGraphItemMapping>
-
toString
-
toDetailedString
-
getQueryItemId
-
getCaseItemId
-