OR-Tools  8.2
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 coeff, int64 offset)
 
bool TryAdd (int x, int y, int64 coeff, int64 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 107 of file affine_relation.h.

◆ Get()

AffineRelation::Relation Get ( int  x) const
inline

Definition at line 210 of file affine_relation.h.

◆ IgnoreFromClassSize()

void IgnoreFromClassSize ( int  x)
inline

Definition at line 93 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  coeff,
int64  offset 
)
inline

Definition at line 164 of file affine_relation.h.

◆ TryAdd() [2/2]

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

Definition at line 168 of file affine_relation.h.


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