idol
A C++ Framework for Optimization
Loading...
Searching...
No Matches
idol::CtrVersion Class Reference
Inheritance diagram for idol::CtrVersion:
Inheritance graph
Collaboration diagram for idol::CtrVersion:
Collaboration graph

Public Member Functions

 CtrVersion (unsigned int t_index, TempCtr &&t_temp_ctr)
 
 CtrVersion (unsigned int t_index, const TempCtr &t_temp_ctr)
 
 CtrVersion (unsigned int t_index, LinExpr< Var > &&t_lhs, CtrType t_type, double t_rhs)
 
 CtrVersion (unsigned int t_index, CtrType t_type, double t_rhs)
 
 CtrVersion (const CtrVersion &t_src)
 
double rhs () const
 
void set_rhs (double t_rhs)
 
CtrType type () const
 
void set_type (CtrType t_type)
 
LinExpr< Var > & row ()
 
const LinExpr< Var > & lhs () const
 
void set_row (LinExpr< Var > &&t_row)
 
bool has_row () const
 
void set_row (const LinExpr< Var > &t_row)
 
void reset_row ()
 
unsigned int index () const
 
void set_index (unsigned int t_index)
 

Detailed Description

Definition at line 17 of file CtrVersion.h.

Constructor & Destructor Documentation

◆ CtrVersion() [1/3]

idol::CtrVersion::CtrVersion ( unsigned int  t_index,
LinExpr< Var > &&  t_lhs,
CtrType  t_type,
double  t_rhs 
)
inline

Definition at line 26 of file CtrVersion.h.

◆ CtrVersion() [2/3]

idol::CtrVersion::CtrVersion ( unsigned int  t_index,
CtrType  t_type,
double  t_rhs 
)
inline

Definition at line 33 of file CtrVersion.h.

◆ CtrVersion() [3/3]

idol::CtrVersion::CtrVersion ( const CtrVersion t_src)
inline

Definition at line 39 of file CtrVersion.h.

Member Function Documentation

◆ has_row()

bool idol::CtrVersion::has_row ( ) const
inline

Definition at line 59 of file CtrVersion.h.

◆ index()

unsigned int idol::Version::index ( ) const
inlineinherited

Definition at line 17 of file Version.h.

◆ lhs()

const LinExpr< Var > & idol::CtrVersion::lhs ( ) const
inline

Definition at line 55 of file CtrVersion.h.

◆ reset_row()

void idol::CtrVersion::reset_row ( )
inline

Definition at line 63 of file CtrVersion.h.

◆ rhs()

double idol::CtrVersion::rhs ( ) const
inline

Definition at line 45 of file CtrVersion.h.

◆ row()

LinExpr< Var > & idol::CtrVersion::row ( )
inline

Definition at line 53 of file CtrVersion.h.

◆ set_index()

void idol::Version::set_index ( unsigned int  t_index)
inlineinherited

Definition at line 19 of file Version.h.

◆ set_rhs()

void idol::CtrVersion::set_rhs ( double  t_rhs)
inline

Definition at line 47 of file CtrVersion.h.

◆ set_row() [1/2]

void idol::CtrVersion::set_row ( const LinExpr< Var > &  t_row)
inline

Definition at line 61 of file CtrVersion.h.

◆ set_row() [2/2]

void idol::CtrVersion::set_row ( LinExpr< Var > &&  t_row)
inline

Definition at line 57 of file CtrVersion.h.

◆ set_type()

void idol::CtrVersion::set_type ( CtrType  t_type)
inline

Definition at line 51 of file CtrVersion.h.

◆ type()

CtrType idol::CtrVersion::type ( ) const
inline

Definition at line 49 of file CtrVersion.h.