Passing float variables. More...
#include <float.hh>
Constructors and initialization | |
FloatVarArgs (void) | |
Allocate empty array. | |
FloatVarArgs (int n) | |
Allocate array with n elements. | |
FloatVarArgs (const FloatVarArgs &a) | |
Initialize from variable argument array a (copy elements) | |
FloatVarArgs (const VarArray< FloatVar > &a) | |
Initialize from variable array a (copy elements) | |
FloatVarArgs (const std::vector< FloatVar > &a) | |
Initialize from vector a. | |
template<class InputIterator > | |
FloatVarArgs (InputIterator first, InputIterator last) | |
Initialize from InputIterator first and last. | |
FloatVarArgs (Space &home, int n, FloatNum min, FloatNum max) | |
Initialize array with n new variables. |
Gecode::FloatVarArgs::FloatVarArgs | ( | void | ) | [inline] |
Gecode::FloatVarArgs::FloatVarArgs | ( | int | n | ) | [inline, explicit] |
Gecode::FloatVarArgs::FloatVarArgs | ( | const FloatVarArgs & | a | ) | [inline] |
Gecode::FloatVarArgs::FloatVarArgs | ( | const VarArray< FloatVar > & | a | ) | [inline] |
Gecode::FloatVarArgs::FloatVarArgs | ( | const std::vector< FloatVar > & | a | ) | [inline] |
Gecode::FloatVarArgs::FloatVarArgs | ( | InputIterator | first, |
InputIterator | last | ||
) | [inline] |
Gecode::FloatVarArgs::FloatVarArgs | ( | Space & | home, |
int | n, | ||
FloatNum | min, | ||
FloatNum | max | ||
) |
Initialize array with n new variables.
The variables are created with a domain ranging from min to max. The following execptions might be thrown: