Pallas Solver  0.1
C++ Global Optimization Algorithms
Public Member Functions | Public Attributes | List of all members
pallas::Brute::ParameterRange Struct Reference

Range of values to test for the ith degree of freedom. More...

#include <brute.h>

Public Member Functions

 ParameterRange ()
 Default constructor. More...
 
 ParameterRange (double start, double stop, int size)
 Constructor. More...
 

Public Attributes

double start
 
double stop
 
int size
 

Detailed Description

Range of values to test for the ith degree of freedom.

For a given degree of freedom in an objective function, this struct specifies the number of points to test along the given degree of freedom to test between start and stop. The search is inclusive, i.e. [start, stop].

Parameters
startdouble. The first value to test along the degree of freedom.
stopdouble. The last value to test along the degree of freedom.
sizeint. The discrete number of samples to test on the range [start, stop]

Constructor & Destructor Documentation

pallas::Brute::ParameterRange::ParameterRange ( )
inline

Default constructor.

All values are initialized to 0.

pallas::Brute::ParameterRange::ParameterRange ( double  start,
double  stop,
int  size 
)
inline

Constructor.

Specifies the interval over which the ith degree of freedom should be tested.

Parameters
startdouble. The first value to test along the degree of freedom.
stopdouble. The last value to test along the degree of freedom.
sizeint. The discrete number of samples to test on the range [start, stop].

Member Data Documentation

int pallas::Brute::ParameterRange::size

The discrete number of samples to test on the range [start, stop].

double pallas::Brute::ParameterRange::start

The first value to test along the degree of freedom.

double pallas::Brute::ParameterRange::stop

The last value to test along the degree of freedom.


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