public class BinarySearch
extends java.lang.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 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.BioException