public class LinearStrategy extends Object implements SearchStrategy
| 构造器和说明 |
|---|
LinearStrategy(double lower,
double upper,
double step)
Define a linear search
|
public LinearStrategy(double lower,
double upper,
double step)
lower - lower bound of search spaceupper - upper bound of search spacestep - gap between two angles to be searchedpublic double search(DoubleFunction<Double> cost)
SearchStrategysearch 在接口中 SearchStrategycost - the cost function, lower is betterCopyright © 2019. All rights reserved.