Type parameters:
| T | Type of object. |
Constructors
MaximumSearch
#Create a new search with custom setup.
Parameters:
| limit ((double, double)) | Limit boundary. Value exceeding the boundary will not be considered. |
| initialBoundary (double) | Boundary at start of search. |
| initialValue (T) | Instance value at start of search. |
MaximumSearch
#Create a new search with a limiting boundary.
Parameters:
| limit ((double, double)) | Limit boundary. Value exceeding the boundary will not be considered. |
Properties
Boundary
Gets the boundary value associated with the current instance.
Instance
public T Instance { get; }
Gets the found instance.
Range
Gets the range within which values are considered.
Methods
Parameters:
| value (double) | Distance associated with value. |
| instance (T) | Value associated with distance. |
Returns: True if the considered value became the new minimum value.