Dip
0.92.4
|
#include <AP3_Instance.h>
Public Member Functions | |
void | readOptimalBound (const char *fileName) |
Read the optimal bound from file. More... | |
void | index3Inv (const int index, int &ind1, int &ind2, int &ind3) const |
void | readInstance (const char *fileName) |
Read in an instance from data file. More... | |
Constructor and Destructor | |
AP3_Instance () | |
Default constructor. More... | |
AP3_Instance (const char *fileName) | |
Constructor. More... | |
virtual | ~AP3_Instance () |
Default constructor. More... | |
Public Attributes | |
int | m_dimension |
The dimension of the instance. More... | |
int | m_ncolsFull |
The number of cols in full formulation. More... | |
int | m_nrowsFull |
The number of rows in full formulation. More... | |
double * | m_assigncost |
Cost of assignment (size = dimension^3). More... | |
string | m_instance |
Name of AP3 instance. More... | |
double | m_optBound |
Known optimal bound (for debugging) More... | |
Stores an instance of 3-Indexed Assignment Problem (AP3)
Definition at line 32 of file AP3_Instance.h.
|
inline |
Default constructor.
Definition at line 131 of file AP3_Instance.h.
|
inline |
|
inlinevirtual |
|
inline |
Read the optimal bound from file.
Definition at line 54 of file AP3_Instance.h.
References UtilOpenFile().
|
inline |
Definition at line 71 of file AP3_Instance.h.
|
inline |
Read in an instance from data file.
Definition at line 86 of file AP3_Instance.h.
References CoinAssert, CoinAssertHint, and UtilOpenFile().
int AP3_Instance::m_dimension |
The dimension of the instance.
Definition at line 35 of file AP3_Instance.h.
Referenced by AP3_DecompApp::index2(), AP3_DecompApp::index2Inv(), AP3_DecompApp::index3Inv(), AP3_DecompApp::indexIJK(), AP3_DecompApp::indexJIK(), AP3_DecompApp::indexKIJ(), and AP3_DecompApp::~AP3_DecompApp().
int AP3_Instance::m_ncolsFull |
The number of cols in full formulation.
Definition at line 38 of file AP3_Instance.h.
int AP3_Instance::m_nrowsFull |
The number of rows in full formulation.
Definition at line 41 of file AP3_Instance.h.
double* AP3_Instance::m_assigncost |
Cost of assignment (size = dimension^3).
Definition at line 44 of file AP3_Instance.h.
string AP3_Instance::m_instance |
Name of AP3 instance.
Definition at line 47 of file AP3_Instance.h.
Referenced by AP3_DecompApp::getInstanceName().
double AP3_Instance::m_optBound |
Known optimal bound (for debugging)
Definition at line 50 of file AP3_Instance.h.
Referenced by AP3_DecompApp::getKnownOptimalBound(), and AP3_DecompApp::getOptBound().