Class SMCollectionMappingImpl.AStarSolution
java.lang.Object
de.uni_trier.wi2.procake.similarity.base.collection.impl.SMCollectionMappingImpl.AStarSolution
- All Implemented Interfaces:
Comparable<de.uni_trier.wi2.procake.similarity.base.collection.impl.SMCollectionMappingImpl.AStarComparable>
- Enclosing class:
- SMCollectionMappingImpl
represents a possible solution for a mapping scenario
-
Field Summary
Modifier and TypeFieldDescriptionlist of yet unmapped caseItemskeeps similaritydouble
sim-calc: the denominator of g and h (refer to A-Star for more detail)double
sim-calc: the numerator of g (refer to A-Star for more detail)double
sim-calc: the numerator of h (refer to A-Star for more detail)int
keeps unique ID for this itemlist of mappings until nowlist of yet unmapped queryItems -
Constructor Summary
ConstructorDescriptionAStarSolution
(SMCollectionMappingImpl.AStarSolution oldSolution) copies the content of the submitted solution (convenience method) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(de.uni_trier.wi2.procake.similarity.base.collection.impl.SMCollectionMappingImpl.AStarComparable o)
-
Field Details
-
queryCollection
list of yet unmapped queryItems -
caseCollection
list of yet unmapped caseItems -
mapping
list of mappings until now -
g_Numerator
public double g_Numeratorsim-calc: the numerator of g (refer to A-Star for more detail) -
g_h_Denominator
public double g_h_Denominatorsim-calc: the denominator of g and h (refer to A-Star for more detail) -
h_Numerator
public double h_Numeratorsim-calc: the numerator of h (refer to A-Star for more detail) -
itemID
public int itemIDkeeps unique ID for this item -
f
keeps similarity
-
-
Constructor Details
-
AStarSolution
public AStarSolution() -
AStarSolution
copies the content of the submitted solution (convenience method)
-
-
Method Details
-
compareTo
public int compareTo(de.uni_trier.wi2.procake.similarity.base.collection.impl.SMCollectionMappingImpl.AStarComparable o) - Specified by:
compareTo
in interfaceComparable<de.uni_trier.wi2.procake.similarity.base.collection.impl.SMCollectionMappingImpl.AStarComparable>
-