Scippy

UG

Ubiquity Generator framework

ScipParaInitialStatTh Class Reference

#include <scipParaInitialStatTh.h>

Inheritance diagram for ScipParaInitialStatTh:
ScipParaInitialStat ParaInitialStat

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 ()
 
ParaInitialStatclone (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 ParaInitialStatclone (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::ParaInitialStatcreateDatatype (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
 

Detailed Description

The initial statistic collecting data class: this is base class

Definition at line 50 of file scipParaInitialStatTh.h.

Constructor & Destructor Documentation

◆ ScipParaInitialStatTh() [1/3]

default constructor

Definition at line 55 of file scipParaInitialStatTh.h.

◆ ScipParaInitialStatTh() [2/3]

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() [3/3]

ScipParaInitialStatTh ( SCIP *  scip)

constructor to create this object

Definition at line 103 of file scipParaInitialStatTh.h.

◆ ~ScipParaInitialStatTh()

virtual ~ScipParaInitialStatTh ( )
virtual

destractor

Definition at line 110 of file scipParaInitialStatTh.h.

Member Function Documentation

◆ createDatatype()

UG::ParaInitialStat * createDatatype ( UG::ParaComm comm)
private

create ScipParaInitialStatTh

Definition at line 44 of file scipParaInitialStatTh.cpp.

References ScipParaInitialStat::clone(), and comm.

Referenced by ScipParaInitialStatTh::send().

◆ receive()

◆ send()

void send ( UG::ParaComm comm,
int  destination 
)
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.