#include <range_query_function.h>
RangeMinMaxIndexFunction is different from RangeIntToIntFunction in two ways:
- It does not support codomain or value queries.
- For domain queries it returns an argument where the minimum/maximum is attained, rather than the minimum/maximum value.
Definition at line 60 of file range_query_function.h.
◆ ~RangeMinMaxIndexFunction()
virtual operations_research::RangeMinMaxIndexFunction::~RangeMinMaxIndexFunction |
( |
| ) |
|
|
virtualdefault |
◆ RangeMaxArgument()
virtual int64_t operations_research::RangeMinMaxIndexFunction::RangeMaxArgument |
( |
int64_t | from, |
|
|
int64_t | to ) const |
|
pure virtual |
Suppose f is the abstract underlying function. Returns an x from [from, to), such that f(x) => f(y) for every y from [from, to).
◆ RangeMinArgument()
virtual int64_t operations_research::RangeMinMaxIndexFunction::RangeMinArgument |
( |
int64_t | from, |
|
|
int64_t | to ) const |
|
pure virtual |
Returns an x from [from, to), such that f(x) <= f(y) for every y from [from, to).
The documentation for this class was generated from the following file: