Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::AffineRelation Class Reference

Detailed Description

Definition at line 37 of file affine_relation.h.

#include <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()

operations_research::AffineRelation::AffineRelation ( )
inline

Definition at line 39 of file affine_relation.h.

Member Function Documentation

◆ ClassSize()

int operations_research::AffineRelation::ClassSize ( int x) const
inline

Definition at line 111 of file affine_relation.h.

◆ Get()

AffineRelation::Relation operations_research::AffineRelation::Get ( int x) const
inline

Definition at line 215 of file affine_relation.h.

◆ IgnoreFromClassSize()

void operations_research::AffineRelation::IgnoreFromClassSize ( int x)
inline

Definition at line 97 of file affine_relation.h.

◆ NumRelations()

int operations_research::AffineRelation::NumRelations ( ) const
inline

Definition at line 42 of file affine_relation.h.

◆ TryAdd() [1/2]

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

Definition at line 168 of file affine_relation.h.

◆ TryAdd() [2/2]

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

Definition at line 173 of file affine_relation.h.


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