Class AStarCaseSolution
java.lang.Object
de.uni_trier.wi2.procake.similarity.nest.astar.utils.AStarCaseSolution
- All Implemented Interfaces:
Comparable<AStarCaseSolution>
Represents a possible solution for a case, with a specific mapping.
- Author:
- Alexander Stromer
-
Field Summary
Modifier and TypeFieldDescriptionContains all not yet mapped GraphEdges of the case.Contains all not yet mapped GraphNodes of the case.A* dependent heuristic for estimating similarities of all not yet mapped graph items of the query.Contains the mappings so far for the solution.Contains all not yet investigated GraphEdges of the query.Contains all not yet investigated GraphNodes of the query.Required for deciding whether to add null mappings for nodes.double
The current total similarity for this solution.double
The current sum of estimated similarities of all not yet mapped graph items.double
The sum of similarities of all already mapped graph items.long
The unique ID of the CaseSolution.boolean
Flag whether to use case-oriented mapping. -
Constructor Summary
ConstructorDescriptionAStarCaseSolution
(long solutionID) Standard constructorAStarCaseSolution
(long solutionID, AStarCaseSolution onBase) -
Method Summary
-
Field Details
-
useCaseOrientedMapping
public boolean useCaseOrientedMappingFlag whether to use case-oriented mapping. -
queryNodes
Contains all not yet investigated GraphNodes of the query. -
queryEdges
Contains all not yet investigated GraphEdges of the query. -
caseNodes
Contains all not yet mapped GraphNodes of the case. -
caseEdges
Contains all not yet mapped GraphEdges of the case. -
requiredNullMappingsForNode
Required for deciding whether to add null mappings for nodes. -
heuristic
A* dependent heuristic for estimating similarities of all not yet mapped graph items of the query. -
mappedItems
Contains the mappings so far for the solution. -
simPartial
public double simPartialThe sum of similarities of all already mapped graph items. -
simEstimate
public double simEstimateThe current sum of estimated similarities of all not yet mapped graph items. -
sim
public double simThe current total similarity for this solution. -
solutionID
public long solutionIDThe unique ID of the CaseSolution.
-
-
Constructor Details
-
AStarCaseSolution
public AStarCaseSolution(long solutionID) Standard constructor -
AStarCaseSolution
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<AStarCaseSolution>
-
toString
-
toDetailedString
-