|
| bool | InDomain (int64_t x) const |
| |
| bool | IsConvex () const |
| |
| bool | IsNonDecreasing () const |
| |
| bool | IsNonIncreasing () const |
| |
| int64_t | Value (int64_t x) const |
| |
| int64_t | GetMaximum () const |
| |
| int64_t | GetMinimum () const |
| |
| int64_t | GetMaximum (int64_t range_start, int64_t range_end) const |
| |
| int64_t | GetMinimum (int64_t range_start, int64_t range_end) const |
| |
| std::pair< int64_t, int64_t > | GetSmallestRangeGreaterThanValue (int64_t range_start, int64_t range_end, int64_t value) const |
| |
| std::pair< int64_t, int64_t > | GetSmallestRangeLessThanValue (int64_t range_start, int64_t range_end, int64_t value) const |
| |
| std::pair< int64_t, int64_t > | GetSmallestRangeInValueRange (int64_t range_start, int64_t range_end, int64_t value_min, int64_t value_max) const |
| |
| void | AddConstantToX (int64_t constant) |
| |
| void | AddConstantToY (int64_t constant) |
| |
| void | Add (const PiecewiseLinearFunction &other) |
| |
| void | Subtract (const PiecewiseLinearFunction &other) |
| |
| std::vector< PiecewiseLinearFunction * > | DecomposeToConvexFunctions () const |
| |
| const std::vector< PiecewiseSegment > & | segments () const |
| |
| std::string | DebugString () const |
| |
|
| static PiecewiseLinearFunction * | CreatePiecewiseLinearFunction (std::vector< int64_t > points_x, std::vector< int64_t > points_y, std::vector< int64_t > slopes, std::vector< int64_t > other_points_x) |
| |
| static PiecewiseLinearFunction * | CreateStepFunction (std::vector< int64_t > points_x, std::vector< int64_t > points_y, std::vector< int64_t > other_points_x) |
| |
| static PiecewiseLinearFunction * | CreateFullDomainFunction (int64_t initial_level, std::vector< int64_t > points_x, std::vector< int64_t > slopes) |
| |
| static PiecewiseLinearFunction * | CreateOneSegmentFunction (int64_t point_x, int64_t point_y, int64_t slope, int64_t other_point_x) |
| |
| static PiecewiseLinearFunction * | CreateRightRayFunction (int64_t point_x, int64_t point_y, int64_t slope) |
| |
| static PiecewiseLinearFunction * | CreateLeftRayFunction (int64_t point_x, int64_t point_y, int64_t slope) |
| |
| static PiecewiseLinearFunction * | CreateFixedChargeFunction (int64_t slope, int64_t value) |
| |
| static PiecewiseLinearFunction * | CreateEarlyTardyFunction (int64_t reference, int64_t earliness_slope, int64_t tardiness_slope) |
| |
| static PiecewiseLinearFunction * | CreateEarlyTardyFunctionWithSlack (int64_t early_slack, int64_t late_slack, int64_t earliness_slope, int64_t tardiness_slope) |
| |
◆ Add()
◆ AddConstantToX()
| void AddConstantToX |
( |
int64_t |
constant | ) |
|
◆ AddConstantToY()
| void AddConstantToY |
( |
int64_t |
constant | ) |
|
◆ CreateEarlyTardyFunction()
| PiecewiseLinearFunction * CreateEarlyTardyFunction |
( |
int64_t |
reference, |
|
|
int64_t |
earliness_slope, |
|
|
int64_t |
tardiness_slope |
|
) |
| |
|
static |
◆ CreateEarlyTardyFunctionWithSlack()
| PiecewiseLinearFunction * CreateEarlyTardyFunctionWithSlack |
( |
int64_t |
early_slack, |
|
|
int64_t |
late_slack, |
|
|
int64_t |
earliness_slope, |
|
|
int64_t |
tardiness_slope |
|
) |
| |
|
static |
◆ CreateFixedChargeFunction()
◆ CreateFullDomainFunction()
| PiecewiseLinearFunction * CreateFullDomainFunction |
( |
int64_t |
initial_level, |
|
|
std::vector< int64_t > |
points_x, |
|
|
std::vector< int64_t > |
slopes |
|
) |
| |
|
static |
◆ CreateLeftRayFunction()
◆ CreateOneSegmentFunction()
| PiecewiseLinearFunction * CreateOneSegmentFunction |
( |
int64_t |
point_x, |
|
|
int64_t |
point_y, |
|
|
int64_t |
slope, |
|
|
int64_t |
other_point_x |
|
) |
| |
|
static |
◆ CreatePiecewiseLinearFunction()
| PiecewiseLinearFunction * CreatePiecewiseLinearFunction |
( |
std::vector< int64_t > |
points_x, |
|
|
std::vector< int64_t > |
points_y, |
|
|
std::vector< int64_t > |
slopes, |
|
|
std::vector< int64_t > |
other_points_x |
|
) |
| |
|
static |
◆ CreateRightRayFunction()
◆ CreateStepFunction()
| PiecewiseLinearFunction * CreateStepFunction |
( |
std::vector< int64_t > |
points_x, |
|
|
std::vector< int64_t > |
points_y, |
|
|
std::vector< int64_t > |
other_points_x |
|
) |
| |
|
static |
◆ DebugString()
| std::string DebugString |
( |
| ) |
const |
◆ DecomposeToConvexFunctions()
◆ GetMaximum() [1/2]
| int64_t GetMaximum |
( |
| ) |
const |
◆ GetMaximum() [2/2]
| int64_t GetMaximum |
( |
int64_t |
range_start, |
|
|
int64_t |
range_end |
|
) |
| const |
◆ GetMinimum() [1/2]
| int64_t GetMinimum |
( |
| ) |
const |
◆ GetMinimum() [2/2]
| int64_t GetMinimum |
( |
int64_t |
range_start, |
|
|
int64_t |
range_end |
|
) |
| const |
◆ GetSmallestRangeGreaterThanValue()
| std::pair< int64_t, int64_t > GetSmallestRangeGreaterThanValue |
( |
int64_t |
range_start, |
|
|
int64_t |
range_end, |
|
|
int64_t |
value |
|
) |
| const |
◆ GetSmallestRangeInValueRange()
| std::pair< int64_t, int64_t > GetSmallestRangeInValueRange |
( |
int64_t |
range_start, |
|
|
int64_t |
range_end, |
|
|
int64_t |
value_min, |
|
|
int64_t |
value_max |
|
) |
| const |
◆ GetSmallestRangeLessThanValue()
| std::pair< int64_t, int64_t > GetSmallestRangeLessThanValue |
( |
int64_t |
range_start, |
|
|
int64_t |
range_end, |
|
|
int64_t |
value |
|
) |
| const |
◆ InDomain()
| bool InDomain |
( |
int64_t |
x | ) |
const |
◆ IsConvex()
◆ IsNonDecreasing()
| bool IsNonDecreasing |
( |
| ) |
const |
◆ IsNonIncreasing()
| bool IsNonIncreasing |
( |
| ) |
const |
◆ segments()
◆ Subtract()
◆ Value()
| int64_t Value |
( |
int64_t |
x | ) |
const |
◆ kNotFound
The documentation for this class was generated from the following files: