Scippy

GCG

Branch-and-Price & Column Generation for Everyone

JDecBlockData Struct Reference

Detailed Description

struct to store block information (read from file)

Definition at line 78 of file reader_jdec.cpp.

Public Member Functions

 JDecBlockData (int number)
 
 JDecBlockData (const JDecBlockData &)=delete
 
 JDecBlockData (JDecBlockData &&block) noexcept
 
 ~JDecBlockData ()
 
JDecBlockData & operator= (const JDecBlockData &)=delete
 
JDecBlockData & operator= (JDecBlockData &&block)
 
bool operator< (const JDecBlockData &block) const
 

Data Fields

std::vector< std::string > constraints
 
JDecDecompositionData * decomposition
 
int symmetricalblock
 
int blocknumber
 

Constructor & Destructor Documentation

◆ JDecBlockData() [1/3]

JDecBlockData::JDecBlockData ( int  number)
inline

constructor

Parameters
numbernumber of block

Definition at line 81 of file reader_jdec.cpp.

References NULL.

◆ JDecBlockData() [2/3]

JDecBlockData::JDecBlockData ( const JDecBlockData &  )
delete

deleted copy constructor

◆ JDecBlockData() [3/3]

JDecBlockData::JDecBlockData ( JDecBlockData &&  block)
noexcept

move constructor

Parameters
blockother block data

Definition at line 432 of file reader_jdec.cpp.

References NULL.

◆ ~JDecBlockData()

JDecBlockData::~JDecBlockData ( )

destructor

Definition at line 443 of file reader_jdec.cpp.

References decomposition.

Member Function Documentation

◆ operator=() [1/2]

JDecBlockData & JDecBlockData::operator= ( const JDecBlockData &  )
delete

deleted assignment operator

◆ operator=() [2/2]

JDecBlockData & JDecBlockData::operator= ( JDecBlockData &&  block)

move assignment

Parameters
blockother block data

Definition at line 448 of file reader_jdec.cpp.

References blocknumber, constraints, decomposition, NULL, and symmetricalblock.

◆ operator<()

bool JDecBlockData::operator< ( const JDecBlockData &  block) const

less than operator to order block by their indices

Parameters
blockother block to compare against

Definition at line 462 of file reader_jdec.cpp.

References blocknumber.

Field Documentation

◆ constraints

std::vector<std::string> JDecBlockData::constraints

names of constraints

Definition at line 112 of file reader_jdec.cpp.

Referenced by JDecBlockElementParser::handleValue(), operator=(), and readJDec().

◆ decomposition

JDecDecompositionData* JDecBlockData::decomposition

pointer to decomposition object

Definition at line 113 of file reader_jdec.cpp.

Referenced by JDecBlockElementParser::handleKeyValuePair(), operator=(), readJDec(), and ~JDecBlockData().

◆ symmetricalblock

int JDecBlockData::symmetricalblock

number of representative/symmetrical block

Definition at line 114 of file reader_jdec.cpp.

Referenced by JDecBlockElementParser::handleKeyValuePair(), and operator=().

◆ blocknumber

int JDecBlockData::blocknumber

number of block/subproblem

Definition at line 115 of file reader_jdec.cpp.

Referenced by JDecBlockElementParser::handleKeyValuePair(), operator<(), operator=(), and readJDec().