public class BinarySearch extends Object
| Constructor and Description |
|---|
BinarySearch() |
| Modifier and Type | Method and Description |
|---|---|
static double |
solve(double min,
double max,
double tolerance,
ComputeObject obj)
method that will attempt solving the equation.
|
public BinarySearch()
public static double solve(double min, double max, double tolerance, ComputeObject obj) throws BioException
min - lower bound of search space.max - upper bound of search space.tolerance - change in x required to continue iteration.obj - the class of ComputeObject class representing the equation to be solved.BioExceptionCopyright © 2020 BioJava. All rights reserved.