Generated on Sun Feb 17 15:24:56 2019 for Gecode by doxygen 1.6.3

Gecode::FloatValArgs Class Reference

Passing float arguments. More...

#include <float.hh>

List of all members.

Constructors and initialization



 FloatValArgs (void)
 Allocate empty array.
 FloatValArgs (int n)
 Allocate array with n elements.
 FloatValArgs (const SharedArray< FloatVal > &x)
 Allocate array and copy elements from x.
 FloatValArgs (const std::vector< FloatVal > &x)
 Allocate array and copy elements from x.
 FloatValArgs (std::initializer_list< FloatVal > x)
 Allocate array and copy elements from x.
template<class InputIterator >
 FloatValArgs (InputIterator first, InputIterator last)
 Allocate array and copy elements from first to last.
 FloatValArgs (int n, const FloatVal *e)
 Allocate array with n elements and initialize with elements from array e.
 FloatValArgs (const ArgArray< FloatVal > &a)
 Initialize from primitive argument array a (copy elements).
static FloatValArgs create (int n, FloatVal start, int inc=1)
 Allocate array with n elements such that for all $0\leq i<n: x_i=\text{start}+i\cdot\text{inc}$.

Detailed Description

Passing float arguments.

Definition at line 950 of file float.hh.


Constructor & Destructor Documentation

Gecode::FloatValArgs::FloatValArgs ( void   )  [inline]

Allocate empty array.

Definition at line 44 of file array.hpp.

Gecode::FloatValArgs::FloatValArgs ( int  n  )  [inline, explicit]

Allocate array with n elements.

Definition at line 47 of file array.hpp.

Gecode::FloatValArgs::FloatValArgs ( const SharedArray< FloatVal > &  x  )  [inline]

Allocate array and copy elements from x.

Definition at line 50 of file array.hpp.

Gecode::FloatValArgs::FloatValArgs ( const std::vector< FloatVal > &  x  )  [inline]

Allocate array and copy elements from x.

Definition at line 56 of file array.hpp.

Gecode::FloatValArgs::FloatValArgs ( std::initializer_list< FloatVal x  ) 

Allocate array and copy elements from x.

template<class InputIterator >
Gecode::FloatValArgs::FloatValArgs ( InputIterator  first,
InputIterator  last 
) [inline]

Allocate array and copy elements from first to last.

Definition at line 60 of file array.hpp.

Gecode::FloatValArgs::FloatValArgs ( int  n,
const FloatVal e 
) [inline]

Allocate array with n elements and initialize with elements from array e.

Definition at line 64 of file array.hpp.

Gecode::FloatValArgs::FloatValArgs ( const ArgArray< FloatVal > &  a  )  [inline]

Initialize from primitive argument array a (copy elements).

Definition at line 68 of file array.hpp.


Member Function Documentation

FloatValArgs Gecode::FloatValArgs::create ( int  n,
FloatVal  start,
int  inc = 1 
) [static]

Allocate array with n elements such that for all $0\leq i<n: x_i=\text{start}+i\cdot\text{inc}$.

Definition at line 41 of file array.cpp.


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