#include <Constraints.hpp>
Public Member Functions | |
Constraints (double constantSillValue=TEST, const VectorDouble &constantSills=VectorDouble()) | |
Constraints (const Constraints &m) | |
Constraints & | operator= (const Constraints &m) |
virtual | ~Constraints () |
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
void | addItem (const ConsItem *item) |
void | addItemFromParamId (const EConsElem &elem=EConsElem::fromKey("UNKNOWN"), int icov=0, int iv1=0, int iv2=0, const EConsType &type=EConsType::fromKey("DEFAULT"), double value=0.) |
int | isDefined () const |
int | isDefinedForSill () const |
int | getConsItemNumber () const |
const std::vector< ConsItem * > & | getConsItems () const |
const ConsItem * | getConsItems (int i) const |
void | modifyConstraintsForSill () |
double | getConstantSillValue () const |
const VectorDouble & | getConstantSills () const |
double | getConstantSills (int ivar) const |
void | setConstantSillValue (double value) |
void | setConstantSills (const VectorDouble &constantSills) |
void | expandConstantSill (int nvar) |
bool | isConstraintSillDefined () const |
void | setValue (int item, double value) |
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 |
Constraints::Constraints | ( | double | constantSillValue = TEST , |
const VectorDouble & | constantSills = VectorDouble() |
||
) |
Constraints::Constraints | ( | const Constraints & | m | ) |
|
virtual |
void Constraints::addItem | ( | const ConsItem * | item | ) |
void Constraints::addItemFromParamId | ( | const EConsElem & | elem = EConsElem::fromKey("UNKNOWN") , |
int | icov = 0 , |
||
int | iv1 = 0 , |
||
int | iv2 = 0 , |
||
const EConsType & | type = EConsType::fromKey("DEFAULT") , |
||
double | value = 0. |
||
) |
void Constraints::expandConstantSill | ( | int | nvar | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool Constraints::isConstraintSillDefined | ( | ) | const |
|
inline |
int Constraints::isDefinedForSill | ( | ) | const |
void Constraints::modifyConstraintsForSill | ( | ) |
Constraints & Constraints::operator= | ( | const Constraints & | m | ) |
|
inline |
|
inline |
void Constraints::setValue | ( | int | item, |
double | value | ||
) |
|
overridevirtual |
Reimplemented from AStringable.