Class ResultKey
java.lang.Object
org.moeaframework.analysis.diagnostics.ResultKey
- All Implemented Interfaces:
Serializable
,Comparable<ResultKey>
The key for a result entry, allowing distinct algorithm and problem pairings in sets and maps.
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ResultKey
Constructs a new result key with the specified algorithm and problem.- Parameters:
algorithm
- the algorithm represented by this result keyproblem
- the problem represented by this result key
-
-
Method Details
-
getAlgorithm
Returns the algorithm represented by this result key.- Returns:
- the algorithm represented by this result key
-
getProblem
Returns the problem represented by this result key.- Returns:
- the problem represented by this result key.
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ResultKey>
-
hashCode
public int hashCode() -
equals
-
toString
-