1.11.1
CCC
 
Loading...
Searching...
No Matches
gstlrn::TracePGS Class Reference

#include <TracePGS.hpp>

Public Member Functions

 TracePGS (Id ngrf=0, Id npar=0, bool flag_rho=false, bool flag_correl=false)
 
 TracePGS (const TracePGS &r)=default
 
TracePGSoperator= (const TracePGS &r)=default
 
virtual ~TracePGS ()=default
 
void define (Id ngrf, Id npar, Id flag_rho, bool flag_correl)
 
double extractTrace ()
 
void addRow ()
 
void update (double value0, double value1, Id origin, Id number, const double *values)
 

Constructor & Destructor Documentation

◆ TracePGS() [1/2]

gstlrn::TracePGS::TracePGS ( Id  ngrf = 0,
Id  npar = 0,
bool  flag_rho = false,
bool  flag_correl = false 
)

◆ TracePGS() [2/2]

gstlrn::TracePGS::TracePGS ( const TracePGS r)
default

◆ ~TracePGS()

virtual gstlrn::TracePGS::~TracePGS ( )
virtualdefault

Member Function Documentation

◆ addRow()

void gstlrn::TracePGS::addRow ( )

Add a new row to the trace

◆ define()

void gstlrn::TracePGS::define ( Id  ngrf,
Id  npar,
Id  flag_rho,
bool  flag_correl 
)

◆ extractTrace()

double gstlrn::TracePGS::extractTrace ( )

Extract the information of the Trace

Returns
The calculated score

◆ operator=()

TracePGS & gstlrn::TracePGS::operator= ( const TracePGS r)
default

◆ update()

void gstlrn::TracePGS::update ( double  value0,
double  value1,
Id  origin,
Id  number,
const double *  values 
)

Update the Trace array

Parameters
[in]value0First value in a Trace row
[in]value1Second value in a Trace row
[in]originOrigin for values in record (after 2 heading values)
[in]numberNumber of values assigned
[in]valuesArray of values assigned

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