#include <scipParaInitialStatTh.h>
Public Member Functions | |
ScipParaInitialStatTh () | |
ScipParaInitialStatTh (int inMaxDepth, int inMaxTotalDepth, int inNVarBranchStatsDown, int inNVarBranchStatsUp, int *inIdxLBranchStatsVarsDown, int *inNVarBranchingDown, int *inIdxLBranchStatsVarsUp, int *inNVarBranchingUp, SCIP_Real *inDownpscost, SCIP_Real *inDownvsids, SCIP_Real *inDownconflen, SCIP_Real *inDowninfer, SCIP_Real *inDowncutoff, SCIP_Real *inUppscost, SCIP_Real *inUpvsids, SCIP_Real *inUpconflen, SCIP_Real *inUpinfer, SCIP_Real *inUpcutoff) | |
ScipParaInitialStatTh (SCIP *scip) | |
virtual | ~ScipParaInitialStatTh () |
void | send (UG::ParaComm *comm, int dest) |
void | receive (UG::ParaComm *comm, int source) |
Public Member Functions inherited from ScipParaInitialStat | |
ScipParaInitialStat () | |
ScipParaInitialStat (SCIP *scip) | |
virtual | ~ScipParaInitialStat () |
ParaInitialStat * | clone (UG::ParaComm *comm) |
void | accumulateOn (SCIP *scip) |
int | getMaxDepth () |
const std::string | toString () |
Public Member Functions inherited from ParaInitialStat | |
ParaInitialStat () | |
DO NOT HAVE DATA MEMBER!! More... | |
virtual | ~ParaInitialStat () |
destructor More... | |
virtual ParaInitialStat * | clone (ParaComm *comm)=0 |
create clone of this object More... | |
virtual void | send (ParaComm *comm, int dest)=0 |
send function for ParaInitialStat object More... | |
virtual void | receive (ParaComm *comm, int source)=0 |
receive function for ParaInitialStat object More... | |
virtual const std::string | toString ()=0 |
stringfy ParaInitialStat object (for debugging) More... | |
Private Member Functions | |
UG::ParaInitialStat * | createDatatype (UG::ParaComm *comm) |
Additional Inherited Members | |
Protected Attributes inherited from ScipParaInitialStat | |
int | maxDepth |
int | maxTotalDepth |
int | nVarBranchStatsDown |
int | nVarBranchStatsUp |
int * | idxLBranchStatsVarsDown |
int * | nVarBranchingDown |
int * | idxLBranchStatsVarsUp |
int * | nVarBranchingUp |
SCIP_Real * | downpscost |
SCIP_Real * | downvsids |
SCIP_Real * | downconflen |
SCIP_Real * | downinfer |
SCIP_Real * | downcutoff |
SCIP_Real * | uppscost |
SCIP_Real * | upvsids |
SCIP_Real * | upconflen |
SCIP_Real * | upinfer |
SCIP_Real * | upcutoff |
The initial statistic collecting data class: this is base class
Definition at line 50 of file scipParaInitialStatTh.h.
default constructor
Definition at line 55 of file scipParaInitialStatTh.h.
ScipParaInitialStatTh | ( | int | inMaxDepth, |
int | inMaxTotalDepth, | ||
int | inNVarBranchStatsDown, | ||
int | inNVarBranchStatsUp, | ||
int * | inIdxLBranchStatsVarsDown, | ||
int * | inNVarBranchingDown, | ||
int * | inIdxLBranchStatsVarsUp, | ||
int * | inNVarBranchingUp, | ||
SCIP_Real * | inDownpscost, | ||
SCIP_Real * | inDownvsids, | ||
SCIP_Real * | inDownconflen, | ||
SCIP_Real * | inDowninfer, | ||
SCIP_Real * | inDowncutoff, | ||
SCIP_Real * | inUppscost, | ||
SCIP_Real * | inUpvsids, | ||
SCIP_Real * | inUpconflen, | ||
SCIP_Real * | inUpinfer, | ||
SCIP_Real * | inUpcutoff | ||
) |
constructor for clone
Definition at line 61 of file scipParaInitialStatTh.h.
References ScipParaInitialStat::downconflen, ScipParaInitialStat::downcutoff, ScipParaInitialStat::downinfer, ScipParaInitialStat::downpscost, ScipParaInitialStat::downvsids, ScipParaInitialStat::idxLBranchStatsVarsDown, ScipParaInitialStat::idxLBranchStatsVarsUp, ScipParaInitialStat::maxDepth, ScipParaInitialStat::maxTotalDepth, ScipParaInitialStat::nVarBranchingDown, ScipParaInitialStat::nVarBranchingUp, ScipParaInitialStat::nVarBranchStatsDown, ScipParaInitialStat::nVarBranchStatsUp, ScipParaInitialStat::upconflen, ScipParaInitialStat::upcutoff, ScipParaInitialStat::upinfer, ScipParaInitialStat::uppscost, and ScipParaInitialStat::upvsids.
ScipParaInitialStatTh | ( | SCIP * | scip | ) |
constructor to create this object
Definition at line 103 of file scipParaInitialStatTh.h.
|
virtual |
destractor
Definition at line 110 of file scipParaInitialStatTh.h.
|
private |
create ScipParaInitialStatTh
Definition at line 44 of file scipParaInitialStatTh.cpp.
References ScipParaInitialStat::clone(), and comm.
Referenced by ScipParaInitialStatTh::send().
|
virtual |
user should implement receive method
receive solution data from the source rank
Implements ParaInitialStat.
Definition at line 64 of file scipParaInitialStatTh.cpp.
References comm, DEF_SCIP_PARA_COMM, ScipParaInitialStat::downconflen, ScipParaInitialStat::downcutoff, ScipParaInitialStat::downinfer, ScipParaInitialStat::downpscost, ScipParaInitialStat::downvsids, ScipParaInitialStat::idxLBranchStatsVarsDown, ScipParaInitialStat::idxLBranchStatsVarsUp, ScipParaInitialStat::maxDepth, ScipParaInitialStat::maxTotalDepth, ScipParaInitialStat::nVarBranchingDown, ScipParaInitialStat::nVarBranchingUp, ScipParaInitialStat::nVarBranchStatsDown, ScipParaInitialStat::nVarBranchStatsUp, PARA_COMM_CALL, ParaSCIP::ParaInitialStatType, ParaSCIP::TagInitialStat, ScipParaInitialStat::upconflen, ScipParaInitialStat::upcutoff, ScipParaInitialStat::upinfer, ScipParaInitialStat::uppscost, and ScipParaInitialStat::upvsids.
|
virtual |
user should implement send method
send solution data to the rank
Implements ParaInitialStat.
Definition at line 53 of file scipParaInitialStatTh.cpp.
References comm, ScipParaInitialStatTh::createDatatype(), DEF_SCIP_PARA_COMM, PARA_COMM_CALL, ParaSCIP::ParaInitialStatType, and ParaSCIP::TagInitialStat.