Modifier and Type | Field and Description |
---|---|
protected double |
bestScore
The best solution score.
|
protected java.util.ArrayList<MatchPair> |
matches
The best matching solutions.
|
protected double |
totalScore
The total solution score, which is all matched scores summed.
|
evaluation, name
Constructor and Description |
---|
MatchResult()
Create a new instance of MatchResult
|
Modifier and Type | Method and Description |
---|---|
double |
getAverageScore()
Get the average solution score obtained, which s the total score divided by
the number of matches.
|
double |
getBestScore()
Get the best single solution score obtained.
|
java.util.ArrayList<MatchPair> |
getSolutionMatches()
Get the lists of best solutions.
|
double |
getTotalScore()
Get the total solution score obtained.
|
void |
setBestScore(double thisBestScore)
Set the solution best score.
|
void |
setSolutionMatches(java.util.ArrayList<MatchPair> thisSolutionMatches)
Set the lists of best matching solutions with related problem datasets.
|
void |
setTotalScore(double thisTotalScore)
Set the total solution score.
|
java.lang.String |
toString()
Get a string-based description of this grid solution.
|
getEvaluation, getName, isClusterType, isErrorType, isMatchType, isValueType, setEvaluation, setName
protected double bestScore
protected double totalScore
protected java.util.ArrayList<MatchPair> matches
public void setBestScore(double thisBestScore)
thisBestScore
- the best single score obtained.public double getBestScore()
public void setTotalScore(double thisTotalScore)
thisTotalScore
- the summed score of all matches.public double getTotalScore()
public double getAverageScore()
public void setSolutionMatches(java.util.ArrayList<MatchPair> thisSolutionMatches)
thisSolutionMatches
- the best matching solutions and problem indexes.
Of type MatchPair.public java.util.ArrayList<MatchPair> getSolutionMatches()
MatchPair
.