Dip
0.92.4
|
Derivation of AlpsModel for DECOMP. More...
#include <AlpsDecompModel.h>
Public Member Functions | |
Constructors and destructor. | |
AlpsDecompModel () | |
Default constructors. More... | |
AlpsDecompModel (UtilParameters &utilParam, DecompAlgo *decompAlgo) | |
virtual | ~AlpsDecompModel () |
Destructor. More... | |
Virtual functions from AlpsModel. | |
virtual AlpsTreeNode * | createRoot () |
Create the root node of the search tree. More... | |
virtual bool | fathomAllNodes () |
Return true, if all nodes can be fathomed. More... | |
Helper functions. | |
AlpsExitStatus | solve () |
Solve with ALPS and DECOMP. More... | |
void | setAlpsSettings () |
Set the ALPS parameters. More... | |
void | setDecompAlgo (DecompAlgo *decompAlgo) |
Solve with ALPS and DECOMP. More... | |
Set/get methods. | |
DecompAlgo * | getDecompAlgo () |
Get a ptr to the decomp algorithm vector. More... | |
AlpsDecompParam & | getParam () |
const int | getNumCoreRows () const |
Get number of rows in core decomp model. More... | |
const int | getNumCoreCols () const |
Get number of cols in core decomp model. More... | |
const std::vector< std::string > & | getColNames () const |
Get the column names in core decomp model. More... | |
const std::vector< std::string > & | getRowNames () const |
Get the row names in core decomp model. More... | |
const DecompSolution * | getBestSolution () const |
Get the best solution found. More... | |
const double | getGlobalLB () const |
const double | getGlobalUB () const |
const int | getSolStatus () const |
const int | getNumNodesProcessed () const |
Derivation of AlpsModel for DECOMP.
An object derived from AlpsModel. It interfaces with DECOMP methods through a pointer to the active DecompAlgo.
Virtual methods that should be derived here:
Clone a monkey.
Arm wrestle Ted.
Allow use of Alps writeParameters.
Use message handler.
Use differencing scheme.
Setup for parallel.
Definition at line 64 of file AlpsDecompModel.h.
|
inline |
Default constructors.
Definition at line 112 of file AlpsDecompModel.h.
|
inline |
Definition at line 119 of file AlpsDecompModel.h.
|
inlinevirtual |
Destructor.
Definition at line 135 of file AlpsDecompModel.h.
|
virtual |
Create the root node of the search tree.
|
virtual |
Return true, if all nodes can be fathomed.
AlpsExitStatus AlpsDecompModel::solve | ( | ) |
Solve with ALPS and DECOMP.
void AlpsDecompModel::setAlpsSettings | ( | ) |
Set the ALPS parameters.
|
inline |
Solve with ALPS and DECOMP.
Definition at line 177 of file AlpsDecompModel.h.
|
inline |
Get a ptr to the decomp algorithm vector.
Definition at line 194 of file AlpsDecompModel.h.
|
inline |
Definition at line 198 of file AlpsDecompModel.h.
|
inline |
Get number of rows in core decomp model.
Definition at line 206 of file AlpsDecompModel.h.
|
inline |
Get number of cols in core decomp model.
Definition at line 213 of file AlpsDecompModel.h.
|
inline |
Get the column names in core decomp model.
Definition at line 220 of file AlpsDecompModel.h.
|
inline |
Get the row names in core decomp model.
Definition at line 227 of file AlpsDecompModel.h.
|
inline |
Get the best solution found.
Definition at line 234 of file AlpsDecompModel.h.
|
inline |
Definition at line 238 of file AlpsDecompModel.h.
|
inline |
Definition at line 241 of file AlpsDecompModel.h.
|
inline |
Definition at line 244 of file AlpsDecompModel.h.
|
inline |
Definition at line 247 of file AlpsDecompModel.h.