public class SearchSolution extends SingleSolution
solve
method,
to compare solutions.dataset, evaluator
evaluation, 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, solve
getEvaluation, getName, setEvaluation, setName
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEvaluation, getName, setEvaluation, setName
public 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