OPTPP::GenSetBase Class Reference

#include <GenSetBase.h>

Inheritance diagram for OPTPP::GenSetBase:

OPTPP::GenSetBox2d OPTPP::GenSetMin OPTPP::GenSetStd List of all members.

Public Member Functions

virtual string classnm ()
 GenSetBase ()
 GenSetBase (int n)
virtual ~GenSetBase ()
 Destructor.
void init (int vd)
void setSize (int s)
void setVdim (int n)
int size ()
int vdim ()
virtual void generate (int i, double a, NEWMAT::ColumnVector &x, NEWMAT::ColumnVector &y)=0
 < Returns the vector y_i = x + a*d_i Stores in y the vector x + a*d_i
virtual void generateActive (int i, double s, NEWMAT::ColumnVector &x, NEWMAT::ColumnVector &y)
virtual void generateInactive (int i, double s, NEWMAT::ColumnVector &x, NEWMAT::ColumnVector &y)
virtual void initActive ()
virtual int nActive ()
virtual int nInactive ()
virtual int activeID (int j)
virtual int inactiveID (int j)
virtual int init ()
 Computes initial generating set D.
virtual int init (NEWMAT::ColumnVector &pV)
virtual int update ()
 Updates D on each iteration.
virtual int update (NEWMAT::ColumnVector &pV)
virtual bool prunes ()
 switch to true if implementing pruning in derived class
bool generateAll (NEWMAT::Matrix &M, NEWMAT::ColumnVector &X, double Delta=1.0)
NEWMAT::Matrix generateAll (NEWMAT::ColumnVector &X, double D=1.0)
NEWMAT::Matrix generateAll (double Delta=1.0)
bool generateAllActive (NEWMAT::Matrix &M, NEWMAT::ColumnVector &X, double Delta=1.0)
NEWMAT::Matrix generateAllActive (NEWMAT::ColumnVector &X, double D=1.0)
NEWMAT::Matrix generateAllActive (double Delta=1.0)
NEWMAT::Matrix pllMesh (int P, NEWMAT::ColumnVector &xc, NEWMAT::ColumnVector &xn, double d=0.0)

Protected Attributes

int Vdim
int Size
int nAct
NEWMAT::ColumnVector ActiveIDs
NEWMAT::ColumnVector InactiveIDs

Constructor & Destructor Documentation

OPTPP::GenSetBase::GenSetBase (  )  [inline]

OPTPP::GenSetBase::GenSetBase ( int  n  )  [inline]

virtual OPTPP::GenSetBase::~GenSetBase (  )  [inline, virtual]

Destructor.


Member Function Documentation

virtual int OPTPP::GenSetBase::activeID ( int  j  )  [inline, virtual]

virtual string OPTPP::GenSetBase::classnm (  )  [inline, virtual]

Reimplemented in OPTPP::GenSetBox2d, OPTPP::GenSetMin, and OPTPP::GenSetStd.

virtual void OPTPP::GenSetBase::generate ( int  i,
double  a,
NEWMAT::ColumnVector &  x,
NEWMAT::ColumnVector &  y 
) [pure virtual]

< Returns the vector y_i = x + a*d_i Stores in y the vector x + a*d_i

Implemented in OPTPP::GenSetBox2d, OPTPP::GenSetMin, and OPTPP::GenSetStd.

virtual void OPTPP::GenSetBase::generateActive ( int  i,
double  s,
NEWMAT::ColumnVector &  x,
NEWMAT::ColumnVector &  y 
) [inline, virtual]

NEWMAT::Matrix OPTPP::GenSetBase::generateAll ( double  Delta = 1.0  )  [inline]

NEWMAT::Matrix OPTPP::GenSetBase::generateAll ( NEWMAT::ColumnVector &  X,
double  D = 1.0 
) [inline]

bool OPTPP::GenSetBase::generateAll ( NEWMAT::Matrix &  M,
NEWMAT::ColumnVector &  X,
double  Delta = 1.0 
)

NEWMAT::Matrix OPTPP::GenSetBase::generateAllActive ( double  Delta = 1.0  )  [inline]

NEWMAT::Matrix OPTPP::GenSetBase::generateAllActive ( NEWMAT::ColumnVector &  X,
double  D = 1.0 
) [inline]

bool OPTPP::GenSetBase::generateAllActive ( NEWMAT::Matrix &  M,
NEWMAT::ColumnVector &  X,
double  Delta = 1.0 
)

virtual void OPTPP::GenSetBase::generateInactive ( int  i,
double  s,
NEWMAT::ColumnVector &  x,
NEWMAT::ColumnVector &  y 
) [inline, virtual]

Parameters:
y  Stores in y the vector x + s*b_i,

virtual int OPTPP::GenSetBase::inactiveID ( int  j  )  [inline, virtual]

virtual int OPTPP::GenSetBase::init ( NEWMAT::ColumnVector &  pV  )  [inline, virtual]

Reimplemented in OPTPP::GenSetBox2d, OPTPP::GenSetMin, and OPTPP::GenSetStd.

virtual int OPTPP::GenSetBase::init (  )  [inline, virtual]

Computes initial generating set D.

Reimplemented in OPTPP::GenSetBox2d, OPTPP::GenSetMin, and OPTPP::GenSetStd.

void OPTPP::GenSetBase::init ( int  vd  )  [inline]

virtual void OPTPP::GenSetBase::initActive (  )  [inline, virtual]

virtual int OPTPP::GenSetBase::nActive (  )  [inline, virtual]

virtual int OPTPP::GenSetBase::nInactive (  )  [inline, virtual]

NEWMAT::Matrix OPTPP::GenSetBase::pllMesh ( int  P,
NEWMAT::ColumnVector &  xc,
NEWMAT::ColumnVector &  xn,
double  d = 0.0 
)

virtual bool OPTPP::GenSetBase::prunes (  )  [inline, virtual]

switch to true if implementing pruning in derived class

Reimplemented in OPTPP::GenSetBox2d, OPTPP::GenSetMin, and OPTPP::GenSetStd.

void OPTPP::GenSetBase::setSize ( int  s  )  [inline]

void OPTPP::GenSetBase::setVdim ( int  n  )  [inline]

int OPTPP::GenSetBase::size (  )  [inline]

virtual int OPTPP::GenSetBase::update ( NEWMAT::ColumnVector &  pV  )  [inline, virtual]

Reimplemented in OPTPP::GenSetBox2d, OPTPP::GenSetMin, and OPTPP::GenSetStd.

virtual int OPTPP::GenSetBase::update (  )  [inline, virtual]

Updates D on each iteration.

Reimplemented in OPTPP::GenSetBox2d, OPTPP::GenSetMin, and OPTPP::GenSetStd.

int OPTPP::GenSetBase::vdim (  )  [inline]


Member Data Documentation

NEWMAT::ColumnVector OPTPP::GenSetBase::ActiveIDs [protected]

NEWMAT::ColumnVector OPTPP::GenSetBase::InactiveIDs [protected]

int OPTPP::GenSetBase::nAct [protected]

int OPTPP::GenSetBase::Size [protected]

int OPTPP::GenSetBase::Vdim [protected]


The documentation for this class was generated from the following file:
Bug Reports    OPT++ Developers    Copyright Information    GNU Lesser General Public License
Documentation, generated by , last revised August 30, 2006.