OR-Tools  9.3
AffineRelation

Detailed Description

Definition at line 36 of file affine_relation.h.

Classes

struct  Relation
 

Public Member Functions

 AffineRelation ()
 
int NumRelations () const
 
bool TryAdd (int x, int y, int64_t coeff, int64_t offset)
 
bool TryAdd (int x, int y, int64_t coeff, int64_t offset, bool allow_rep_x, bool allow_rep_y)
 
Relation Get (int x) const
 
void IgnoreFromClassSize (int x)
 
int ClassSize (int x) const
 

Constructor & Destructor Documentation

◆ AffineRelation()

AffineRelation ( )
inline

Definition at line 38 of file affine_relation.h.

Member Function Documentation

◆ ClassSize()

int ClassSize ( int  x) const
inline

Definition at line 110 of file affine_relation.h.

◆ Get()

AffineRelation::Relation Get ( int  x) const
inline

Definition at line 214 of file affine_relation.h.

◆ IgnoreFromClassSize()

void IgnoreFromClassSize ( int  x)
inline

Definition at line 96 of file affine_relation.h.

◆ NumRelations()

int NumRelations ( ) const
inline

Definition at line 41 of file affine_relation.h.

◆ TryAdd() [1/2]

bool TryAdd ( int  x,
int  y,
int64_t  coeff,
int64_t  offset 
)
inline

Definition at line 167 of file affine_relation.h.

◆ TryAdd() [2/2]

bool TryAdd ( int  x,
int  y,
int64_t  coeff,
int64_t  offset,
bool  allow_rep_x,
bool  allow_rep_y 
)
inline

Definition at line 172 of file affine_relation.h.


The documentation for this class was generated from the following file: