SOT
Public Member Functions | Protected Attributes | List of all members
sot::LatinHypercube Class Reference

Latin hypercube design. More...

#include <experimental_design.h>

Inheritance diagram for sot::LatinHypercube:
sot::ExpDesign

Public Member Functions

 LatinHypercube (int numPoints, int dim)
 Constructor. More...
 
int dim () const
 Method for getting the number of dimensions. More...
 
int numPoints () const
 Method for getting the number of points in the experimental design. More...
 
mat generatePoints () const
 Method that generates a symmetric Latin hypercube design. More...
 

Protected Attributes

int mDim
 
int mNumPoints
 

Detailed Description

Latin hypercube design.

This is a simple class that always returns the experimental design points that were supplied by the user when the object was constructed. This object is handy in order to compare different algorithms for the same experimental design points.

Author
David Eriksson, dme65.nosp@m.@cor.nosp@m.nell..nosp@m.edu

Constructor & Destructor Documentation

sot::LatinHypercube::LatinHypercube ( int  numPoints,
int  dim 
)
inline

Constructor.

Parameters
numPointsNumber of points in the experimental design
dimNumber of dimensions

Member Function Documentation

int sot::LatinHypercube::dim ( ) const
inlinevirtual

Method for getting the number of dimensions.

Returns
The number of dimensions

Implements sot::ExpDesign.

mat sot::LatinHypercube::generatePoints ( ) const
inlinevirtual

Method that generates a symmetric Latin hypercube design.

Returns
A symmetric Latin hypercube design

Implements sot::ExpDesign.

int sot::LatinHypercube::numPoints ( ) const
inlinevirtual

Method for getting the number of points in the experimental design.

Returns
The number of points

Implements sot::ExpDesign.

Member Data Documentation

int sot::LatinHypercube::mDim
protected

Number of dimensions

int sot::LatinHypercube::mNumPoints
protected

Number of points in the experimental design


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