casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
casa::DistSIIterBot_state Class Reference

#include <DistSIIterBot.h>

Inheritance diagram for casa::DistSIIterBot_state:
casa::SIIterBot_state

Public Member Functions

 DistSIIterBot_state (std::shared_ptr< SIIterBot_callback >, MPI_Comm)
 
 ~DistSIIterBot_state ()
 
bool interactiveInputRequired ()
 
void waitForInteractiveInput ()
 
int cleanComplete ()
 
casacore::Record getMinorCycleControls ()
 
void mergeCycleInitializationRecord (casacore::Record &)
 
void mergeCycleExecutionRecord (casacore::Record &)
 
casacore::Record getSummaryRecord ()
 Functions for runtime parameter modification. More...
 
casacore::Record getDetailsRecord ()
 
void mergeCycleInitializationRecords (const casacore::Vector< casacore::Record > &)
 
void mergeCycleExecutionRecords (const casacore::Vector< casacore::Record > &)
 
- Public Member Functions inherited from casa::SIIterBot_state
 SIIterBot_state (std::shared_ptr< SIIterBot_callback >)
 
 ~SIIterBot_state ()
 
void acceptCallbacks (SIIterBot_adaptor *siba)
 
void denyCallbacks (SIIterBot_adaptor *siba)
 
virtual int cleanComplete (casacore::Bool lastcyclecheck=casacore::False)
 virtual bool majorCycleRequired(casacore::Float currentPeakResidual); More...
 
void changeNiter (casacore::Int niter)
 void mergeSubIterBot(SISubIterBot& subIterBot); More...
 
void changeCycleNiter (casacore::Int cycleniter)
 
void changeInteractiveNiter (casacore::Int interactiveniter)
 
void changeThreshold (casacore::Float threshold)
 
void changeCycleThreshold (casacore::Float cyclethreshold)
 
void changeInteractiveThreshold (casacore::Float cyclethreshold)
 
void changeLoopGain (casacore::Float loopgain)
 
void changeCycleFactor (casacore::Float cyclefactor)
 
void changeMinPsfFraction (casacore::Float minpsffraction)
 
void changeMaxPsfFraction (casacore::Float maxpsffraction)
 
void changeInteractiveMode (const bool &interactiveEnabled)
 
void changePauseFlag (const bool &pauseEnabled)
 
void changeStopFlag (const bool &stopEnabled)
 
void changeNsigma (casacore::Float nsigma)
 
void setControlsFromRecord (casacore::Record &recordIn)
 
casacore::Float readThreshold (casacore::Record recordIn, casacore::String id)
 
void incrementMajorCycleCount ()
 casacore::Record getSubIterBotRecord(); More...
 
void resetMinorCycleInitInfo ()
 
casacore::Int getMajorCycleCount ()
 
void updateCycleThreshold ()
 
void addSummaryMajor ()
 casacore::Int getRemainingNiter(); casacore::Int getCompletedNiter(); More...
 
void pushDetails ()
 
void pushSummary ()
 
bool incrementController ()
 
bool decrementController ()
 
int getNumberOfControllers ()
 
std::string getDescription ()
 
void setDescription (const std::string &value)
 
DBus::Variant getSummary ()
 
void interactionComplete ()
 

Public Attributes

int rank
 
int commSize
 

Protected Member Functions

void mergeMinorCycleSummary (const casacore::Array< casacore::Double > &)
 
- Protected Member Functions inherited from casa::SIIterBot_state
void printOut (casacore::String prefix, casacore::Bool verbose)
 

Protected Attributes

MPI_Comm comm
 
MPI_Datatype execRecordDatatype
 
MPI_Op execRecordReduceOp
 
MPI_Datatype detailsRecordDatatype
 
MPI_Datatype controlRecordDatatype
 
- Protected Attributes inherited from casa::SIIterBot_state
std::string itsDescription
 
casacore::Float itsMinPsfFraction
 
casacore::Float itsMaxPsfFraction
 
casacore::Float itsMaxPsfSidelobe
 
casacore::Float itsPeakResidual
 
casacore::Float itsPrevPeakResidual
 
casacore::Float itsInitPeakResidual
 
casacore::Float itsMinPeakResidual
 
casacore::Float itsMinorCyclePeakResidual
 
casacore::Float itsPeakResidualNoMask
 
casacore::Float itsPrevPeakResidualNoMask
 
casacore::Float itsMinPeakResidualNoMask
 
casacore::Float itsNsigma
 
casacore::Float itsNsigmaThreshold
 
casacore::Float itsMadRMS
 
casacore::Float itsMaskSum
 
casacore::Int itsPrevMajorCycleCount
 
int itsControllerCount
 
std::recursive_mutex recordMutex
 
std::recursive_mutex descriptionMutex
 
casacore::Int itsNiter
 protects itsDescription More...
 
casacore::Int itsCycleNiter
 
casacore::Int itsInteractiveNiter
 
casacore::Float itsThreshold
 
casacore::Float itsCycleThreshold
 
casacore::Float itsInteractiveThreshold
 
casacore::Bool itsIsCycleThresholdAuto
 
casacore::Bool itsIsThresholdAuto
 
casacore::Float itsCycleFactor
 
casacore::Float itsLoopGain
 
casacore::Bool itsStopFlag
 
casacore::Bool itsPauseFlag
 
casacore::Bool itsInteractiveMode
 
casacore::Bool itsUpdatedModelFlag
 
casacore::Int itsIterDone
 
casacore::Int itsInteractiveIterDone
 
casacore::Int itsMaxCycleIterDone
 
casacore::Int itsMajorDone
 
casacore::Int itsStopCode
 
bool interactionPending
 
bool updateNeeded
 
std::condition_variable interactionCond
 
std::mutex interactionMutex
 
casacore::Int itsNSummaryFields
 
casacore::Array< casacore::DoubleitsSummaryMinor
 
casacore::Array< casacore::IntitsSummaryMajor
 
std::shared_ptr
< SIIterBot_callback
callback
 

Private Member Functions

 DistSIIterBot_state (const DistSIIterBot_state &)
 make DistSIIterBot_state uncopyable... More...
 
DistSIIterBot_stateoperator= (const DistSIIterBot_state &)
 

Detailed Description

Definition at line 55 of file DistSIIterBot.h.

Constructor & Destructor Documentation

casa::DistSIIterBot_state::DistSIIterBot_state ( const DistSIIterBot_state )
private

make DistSIIterBot_state uncopyable...

casa::DistSIIterBot_state::DistSIIterBot_state ( std::shared_ptr< SIIterBot_callback ,
MPI_Comm   
)
casa::DistSIIterBot_state::~DistSIIterBot_state ( )

Member Function Documentation

int casa::DistSIIterBot_state::cleanComplete ( )
casacore::Record casa::DistSIIterBot_state::getDetailsRecord ( )
virtual

Reimplemented from casa::SIIterBot_state.

casacore::Record casa::DistSIIterBot_state::getMinorCycleControls ( )
virtual

Reimplemented from casa::SIIterBot_state.

casacore::Record casa::DistSIIterBot_state::getSummaryRecord ( )
virtual

Functions for runtime parameter modification.

Reimplemented from casa::SIIterBot_state.

bool casa::DistSIIterBot_state::interactiveInputRequired ( )
virtual

Reimplemented from casa::SIIterBot_state.

void casa::DistSIIterBot_state::mergeCycleExecutionRecord ( casacore::Record )
virtual

Reimplemented from casa::SIIterBot_state.

void casa::DistSIIterBot_state::mergeCycleExecutionRecords ( const casacore::Vector< casacore::Record > &  )
void casa::DistSIIterBot_state::mergeCycleInitializationRecord ( casacore::Record )
virtual

Reimplemented from casa::SIIterBot_state.

void casa::DistSIIterBot_state::mergeCycleInitializationRecords ( const casacore::Vector< casacore::Record > &  )
void casa::DistSIIterBot_state::mergeMinorCycleSummary ( const casacore::Array< casacore::Double > &  )
protectedvirtual

Reimplemented from casa::SIIterBot_state.

DistSIIterBot_state& casa::DistSIIterBot_state::operator= ( const DistSIIterBot_state )
private
void casa::DistSIIterBot_state::waitForInteractiveInput ( )
virtual

Reimplemented from casa::SIIterBot_state.

Member Data Documentation

MPI_Comm casa::DistSIIterBot_state::comm
protected

Definition at line 84 of file DistSIIterBot.h.

int casa::DistSIIterBot_state::commSize

Definition at line 79 of file DistSIIterBot.h.

MPI_Datatype casa::DistSIIterBot_state::controlRecordDatatype
protected

Definition at line 89 of file DistSIIterBot.h.

MPI_Datatype casa::DistSIIterBot_state::detailsRecordDatatype
protected

Definition at line 88 of file DistSIIterBot.h.

MPI_Datatype casa::DistSIIterBot_state::execRecordDatatype
protected

Definition at line 86 of file DistSIIterBot.h.

MPI_Op casa::DistSIIterBot_state::execRecordReduceOp
protected

Definition at line 87 of file DistSIIterBot.h.

int casa::DistSIIterBot_state::rank

Definition at line 78 of file DistSIIterBot.h.


The documentation for this class was generated from the following file: