public class SearchSolution extends SingleSolution
solve method,
to compare solutions.dataset, evaluatorevaluation, name| Constructor and Description |
|---|
SearchSolution(java.lang.String thisName)
Create a new instance of SearchSolution.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Create and return a copy of this solution.
|
void |
solve(SearchSolution compareTo)
Calculate the result of this solution over all problem datasets.
|
getDataset, setDataset, setEvaluator, solvegetEvaluation, getName, setEvaluation, setNameequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEvaluation, getName, setEvaluation, setNamepublic SearchSolution(java.lang.String thisName)
throws java.lang.Exception
thisName - the solution name.java.lang.Exception - any error.public void solve(SearchSolution compareTo) throws java.lang.Exception
compareTo - the dataset to compare with.java.lang.Exception - any error.public java.lang.Object clone()
clone in class SingleSolution