Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <affine_relation.h>
Public Member Functions | |
Relation (int r, int64_t c, int64_t o) | |
Relation (int r) | |
bool | operator== (const Relation &other) const |
Public Attributes | |
int | representative |
int64_t | coeff |
int64_t | offset |
Returns a valid relation of the form x = coeff * representative + offset.
Definition at line 77 of file affine_relation.h.
|
inline |
Definition at line 82 of file affine_relation.h.
|
inlineexplicit |
Definition at line 84 of file affine_relation.h.
|
inline |
Definition at line 86 of file affine_relation.h.
int64_t operations_research::AffineRelation::Relation::coeff |
Definition at line 79 of file affine_relation.h.
int64_t operations_research::AffineRelation::Relation::offset |
Definition at line 80 of file affine_relation.h.
int operations_research::AffineRelation::Relation::representative |
Definition at line 78 of file affine_relation.h.