#include <ModelBoolean.hpp>
Public Member Functions | |
ModelBoolean (double thetaCst=1., bool flagStat=true) | |
ModelBoolean (const ModelBoolean &r) | |
ModelBoolean & | operator= (const ModelBoolean &r) |
virtual | ~ModelBoolean () |
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
Interface to AStringable. More... | |
int | getNbTokens () const |
void | addToken (const AShape &token) |
void | normalizeProportions () |
BooleanObject * | generateObject (int ndim) const |
const AShape * | getToken (int itok) const |
bool | isFlagStat () const |
double | getThetaCst () const |
void | setFlagStat (bool flagStat) |
void | setThetaCst (double thetaCst) |
Public Member Functions inherited from AStringable | |
AStringable () | |
AStringable (const AStringable &r) | |
AStringable & | operator= (const AStringable &r) |
virtual | ~AStringable () |
virtual void | display (const AStringFormat *strfmt=nullptr) const final |
virtual void | display (int level) const final |
ModelBoolean::ModelBoolean | ( | double | thetaCst = 1. , |
bool | flagStat = true |
||
) |
ModelBoolean::ModelBoolean | ( | const ModelBoolean & | r | ) |
|
virtual |
void ModelBoolean::addToken | ( | const AShape & | token | ) |
BooleanObject * ModelBoolean::generateObject | ( | int | ndim | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
void ModelBoolean::normalizeProportions | ( | ) |
Normalize the proportions
ModelBoolean & ModelBoolean::operator= | ( | const ModelBoolean & | r | ) |
|
inline |
|
inline |
|
overridevirtual |
Interface to AStringable.
Reimplemented from AStringable.