Generated on Wed Nov 5 2014 05:18:38 for Gecode by doxygen 1.7.6.1
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.
template<class InputIterator >
 FloatValArgs (InputIterator first, InputIterator last)
 Allocate array and copy elements from first to last.
 FloatValArgs (int n, int e0,...)
 Allocate array with n elements and initialize with e0, ...
 FloatValArgs (int n, const FloatVal *e)
 Allocate array with n elements and initialize with elements from array e.
 FloatValArgs (const PrimArgArray< 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 937 of file float.hh.


Constructor & Destructor Documentation

Allocate empty array.

Definition at line 48 of file array.hpp.

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

Allocate array with n elements.

Definition at line 51 of file array.hpp.

Allocate array and copy elements from x.

Definition at line 54 of file array.hpp.

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

Allocate array and copy elements from x.

Definition at line 60 of file array.hpp.

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

Allocate array and copy elements from first to last.

Definition at line 64 of file array.hpp.

Gecode::FloatValArgs::FloatValArgs ( int  n,
int  e0,
  ... 
)

Allocate array with n elements and initialize with e0, ...

Definition at line 44 of file array.cpp.

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

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

Definition at line 68 of file array.hpp.

Initialize from primitive argument array a (copy elements)

Definition at line 72 of file array.hpp.


Member Function Documentation

FloatValArgs Gecode::FloatValArgs::create ( int  n,
FloatVal  start,
int  inc = 1 
) [inline, 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 75 of file array.hpp.


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