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

2-Factorial design More...

#include <experimental_design.h>

Inheritance diagram for sot::TwoFactorial:
sot::ExpDesign

Public Member Functions

 TwoFactorial (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

2-Factorial design

The 2-Factorial design is the corners of the hypercube [0,1]^dim and therefore consists of exactly 2^dim. It's a popular experimental design for low-dimensional problems.

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

Constructor & Destructor Documentation

sot::TwoFactorial::TwoFactorial ( int  dim)
inline

Constructor.

Parameters
dimNumber of dimensions

Member Function Documentation

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

Method for getting the number of dimensions.

Returns
The number of dimensions

Implements sot::ExpDesign.

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

Method that generates a symmetric Latin hypercube design.

Returns
A 2-Factorial design

Implements sot::ExpDesign.

int sot::TwoFactorial::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::TwoFactorial::mDim
protected

Number of dimensions

int sot::TwoFactorial::mNumPoints
protected

Number of points in the experimental design


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