Sampling_Vertices Class Reference

Sampling technique to generate points at vertices. More...

#include <sampling.h>

List of all members.

Public Member Functions

 Sampling_Vertices (Pointer< Param > param=NULL, char *param_prefix=NULL)
 (Default-)Constructor.
void get_points (vector< vector< dvector > > &sample_set, const UserVector< double > &lower, const UserVector< double > &upper, const vector< ivector > &block, const vector< Pointer< set< int > > > &i_quad, const vector< Pointer< set< int > > > &i_nonquadlin)
void get_points (vector< vector< dvector > > &sample_set, const UserVector< double > &lower, const UserVector< double > &upper, const SepQcFunc &f)
int get_points (vector< dvector > &sample_set, const UserVector< double > &lower, const UserVector< double > &upper, set< int > &i_quad, set< int > &i_nonquadlin)
 Generates points, which lie on the vertices with respect to a set of variable indices.
int get_points (vector< dvector > &sample_set, const UserVector< double > &lower, const UserVector< double > &upper, const SparsityInfo &si)
int get_points (vector< dvector > &sample_set, const UserVector< double > &lower, const UserVector< double > &upper)

Public Attributes

int vertices
 The number of vertices to generate.

Detailed Description

Sampling technique to generate points at vertices.

Parameters:
sample set vertices2 options integer $ 0$ default 0 level 1 The number of vertices-points to generate.

Definition at line 129 of file sampling.h.


Constructor & Destructor Documentation

Sampling_Vertices::Sampling_Vertices ( Pointer< Param param = NULL,
char *  param_prefix = NULL 
)

(Default-)Constructor.

Parameters:
param Parameters.
param_prefix A prefix for the parameter names.

Member Function Documentation

void Sampling_Vertices::get_points ( vector< vector< dvector > > &  sample_set,
const UserVector< double > &  lower,
const UserVector< double > &  upper,
const vector< ivector > &  block,
const vector< Pointer< set< int > > > &  i_quad,
const vector< Pointer< set< int > > > &  i_nonquadlin 
)
void Sampling_Vertices::get_points ( vector< vector< dvector > > &  sample_set,
const UserVector< double > &  lower,
const UserVector< double > &  upper,
const SepQcFunc f 
)
int Sampling_Vertices::get_points ( vector< dvector > &  sample_set,
const UserVector< double > &  lower,
const UserVector< double > &  upper,
set< int > &  i_quad,
set< int > &  i_nonquadlin 
)

Generates points, which lie on the vertices with respect to a set of variable indices.

Generates points, which values lie on the bounds for the indices, given in i_quad and i_nonquadlin. The other variables are set to the midpoint.

Parameters:
sample_set The sample set to add the points to.
lower The lower bounds of the variables.
upper The upper bounds of the variables.
i_quad The indices of the quadratic variables.
i_nonquadlin The indices of the nonquadratic/nonlinear variables.
Returns:
The number of added points.
int Sampling_Vertices::get_points ( vector< dvector > &  sample_set,
const UserVector< double > &  lower,
const UserVector< double > &  upper,
const SparsityInfo si 
)
int Sampling_Vertices::get_points ( vector< dvector > &  sample_set,
const UserVector< double > &  lower,
const UserVector< double > &  upper 
)

Member Data Documentation

The number of vertices to generate.

Set in constructor according to parameters.

Definition at line 134 of file sampling.h.


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

Generated on 10 Mar 2013 for LaGO by  doxygen 1.6.1