Class AStarRetrievalSolution
java.lang.Object
de.uni_trier.wi2.procake.retrieval.impl.AStarRetrievalSolution
- All Implemented Interfaces:
Comparable<AStarRetrievalSolution>
Contains a possible solution for a retrieval situation.
- Author:
- Alexander Stromer
-
Field Summary
Modifier and TypeFieldDescriptionReference to the original graphAll possible solutions for the current case.int
The unique ID of the RetrievalSolution. -
Constructor Summary
ConstructorDescriptionAStarRetrievalSolution
(NESTWorkflowObject originalCaseGraph) Standard constructor. -
Method Summary
-
Field Details
-
caseGraph
Reference to the original graph -
caseSolutions
All possible solutions for the current case. -
solutionID
public int solutionIDThe unique ID of the RetrievalSolution.
-
-
Constructor Details
-
AStarRetrievalSolution
Standard constructor.
-
-
Method Details
-
getSim
public double getSim()The maximum similarity of all cases in caseSolutions.- Returns:
- Maximum similarity.
-
compareTo
- Specified by:
compareTo
in interfaceComparable<AStarRetrievalSolution>
-
toString
-