1.3.2
CCC
 
AnamUser Class Reference

#include <AnamUser.hpp>

Inheritance diagram for AnamUser:
AnamContinuous AAnam AStringable ASerializable ICloneable

Public Member Functions

 AnamUser ()
 
 AnamUser (const AnamUser &m)
 
AnamUseroperator= (const AnamUser &m)
 
virtual ~AnamUser ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 ICloneable Interface. More...
 
const EAnam & getType () const override
 AAnam Interface. More...
 
bool isChangeSupportDefined () const override
 
void calculateMeanAndVariance () override
 AnamContinuous Interface. More...
 
double transformToRawValue (double h) const override
 
double rawToTransformValue (double h) const override
 
void setY2zFunction (double(*y2z_function)(double))
 
void setZ2yFunction (double(*z2y_function)(double))
 
- Public Member Functions inherited from AnamContinuous
 AnamContinuous ()
 
 AnamContinuous (const AnamContinuous &m)
 
AnamContinuousoperator= (const AnamContinuous &m)
 
virtual ~AnamContinuous ()
 
bool hasGaussian () const override
 AAnam interface. More...
 
virtual double getVariance () const override
 
void setABounds (double azmin=TEST, double azmax=TEST, double aymin=TEST, double aymax=TEST)
 
void setPBounds (double pzmin=TEST, double pzmax=TEST, double pymin=TEST, double pymax=TEST)
 
VectorDouble rawToGaussianVector (const VectorDouble &z) const
 
VectorDouble gaussianToRawVector (const VectorDouble &y) const
 
AnamContinuousFit sample (int ndisc=100, double aymin=-10, double aymax=+10)
 
double getMean () const
 
double getAymax () const
 
double getAymin () const
 
double getAzmax () const
 
double getAzmin () const
 
double getPymax () const
 
double getPymin () const
 
double getPzmax () const
 
double getPzmin () const
 
void setAzmin (double azmin)
 
void setAzmax (double azmax)
 
void setAymin (double aymin)
 
void setAymax (double aymax)
 
void setPzmin (double pzmin)
 
void setPzmax (double pzmax)
 
void setPymin (double pymin)
 
void setPymax (double pymax)
 
void setMean (double mean)
 
void setVariance (double variance)
 
- Public Member Functions inherited from AAnam
 AAnam ()
 
 AAnam (const AAnam &m)
 
AAnamoperator= (const AAnam &m)
 
virtual ~AAnam ()
 
virtual bool hasFactor () const
 
virtual int getNFactor () const
 
virtual int getNClass () const
 
virtual VectorDouble z2factor (double z, const VectorInt &ifqcs) const
 
virtual double computeVariance (double sval) const
 
virtual int updatePointToBlock (double r_coef)
 
virtual bool allowChangeSupport () const
 
virtual int fitFromArray (const VectorDouble &tab, const VectorDouble &wt=VectorDouble())
 
double invertVariance (double cvv) const
 
VectorDouble rawToTransformVec (const VectorDouble &z) const
 
VectorDouble transformToRawVec (const VectorDouble &z) const
 
int fitFromLocator (Db *db, const ELoc &locatorType=ELoc::fromKey("Z"))
 
int fit (Db *db, const String &name)
 
int rawToGaussianByLocator (Db *db, const NamingConvention &namconv=NamingConvention("Y"))
 
int rawToGaussian (Db *db, const String &name, const NamingConvention &namconv=NamingConvention("Y"))
 
int normalScore (Db *db, const String &name, const NamingConvention &namconv=NamingConvention("Gaussian"))
 
int gaussianToRawByLocator (Db *db, const NamingConvention &namconv=NamingConvention("Z"))
 
int gaussianToRaw (Db *db, const String &name, const NamingConvention &namconv=NamingConvention("Z"))
 
int rawToFactorByRanks (Db *db, const VectorInt &ifacs, const NamingConvention &namconv=NamingConvention("Factor"))
 
int rawToFactor (Db *db, int nfactor, const NamingConvention &namconv=NamingConvention("Factor"))
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 
- Public Member Functions inherited from ASerializable
 ASerializable ()
 
 ASerializable (const ASerializable &r)
 
ASerializableoperator= (const ASerializable &r)
 
virtual ~ASerializable ()
 
bool deserialize (std::istream &is, bool verbose=true)
 
bool serialize (std::ostream &os, bool verbose=true) const
 
bool dumpToNF (const String &neutralFilename, bool verbose=false) const
 
- Public Member Functions inherited from ICloneable
 ICloneable ()
 
virtual ~ICloneable ()
 
virtual ICloneableclone () const =0
 

Additional Inherited Members

- Static Public Member Functions inherited from ASerializable
static String buildFileName (int status, const String &filename, bool ensureDirExist=false)
 
static String getHomeDirectory (const String &sub="")
 
static String getWorkingDirectory ()
 
static String getTestData (const String &subdir, const String &filename)
 
static String getFileIdentity (const String &filename, bool verbose=false)
 
static void setContainerName (bool useDefault, const String &containerName="", bool verbose=false)
 
static void unsetContainerName ()
 
static void setPrefixName (const String &prefixName)
 
static void unsetPrefixName ()
 
static const StringgetContainerName ()
 
static const StringgetPrefixName ()
 
static bool createDirectory (const String &dir)
 
static String getExecDirectory ()
 
static String getDirectory (const String &path)
 

Constructor & Destructor Documentation

◆ AnamUser() [1/2]

AnamUser::AnamUser ( )

◆ AnamUser() [2/2]

AnamUser::AnamUser ( const AnamUser m)

◆ ~AnamUser()

AnamUser::~AnamUser ( )
virtual

Member Function Documentation

◆ calculateMeanAndVariance()

void AnamUser::calculateMeanAndVariance ( )
overridevirtual

AnamContinuous Interface.

Reimplemented from AnamContinuous.

◆ getType()

const EAnam& AnamUser::getType ( ) const
inlineoverridevirtual

AAnam Interface.

Implements AAnam.

◆ isChangeSupportDefined()

bool AnamUser::isChangeSupportDefined ( ) const
inlineoverridevirtual

Implements AAnam.

◆ operator=()

AnamUser & AnamUser::operator= ( const AnamUser m)

◆ rawToTransformValue()

double AnamUser::rawToTransformValue ( double  h) const
overridevirtual

Reimplemented from AAnam.

◆ setY2zFunction()

void AnamUser::setY2zFunction ( double(*)(double)  y2z_function)
inline

◆ setZ2yFunction()

void AnamUser::setZ2yFunction ( double(*)(double)  z2y_function)
inline

◆ toString()

String AnamUser::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

ICloneable Interface.

AStringable Interface

Reimplemented from AnamContinuous.

◆ transformToRawValue()

double AnamUser::transformToRawValue ( double  h) const
overridevirtual

Reimplemented from AAnam.


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