public class HillClimbing extends SearchFramework
| Modifier and Type | Field and Description |
|---|---|
protected int |
beamWidth
Number of solutions to keep at each iteration
|
datasetType, similarityRange, similarityRangeAsPercentage, solutions, stopping, valueCompare| Constructor and Description |
|---|
HillClimbing(TestSpec testSpec)
Create a new instance of HillClimbing.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<MatchPair> |
solve()
Search for the best solution set to the problem.
|
insideRange, setSolutionspublic HillClimbing(TestSpec testSpec) throws java.lang.Exception
testSpec - with any other test spec parameters, such as a beam width.java.lang.Exception - any error.public java.util.ArrayList<MatchPair> solve() throws java.lang.Exception
solve in class SearchFrameworkjava.lang.Exception - any error.