All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
soth::BasicStage Class Reference

#include <BasicStage.hpp>

Inheritance diagram for soth::BasicStage:
[legend]
Collaboration diagram for soth::BasicStage:
[legend]

Public Types

typedef boost::function< void(std::string,
ConstraintRef, std::string)> 
listener_function_t
 

Public Member Functions

 BasicStage (const MatrixXd &J, const VectorBound &bounds, const BaseY &Y)
 
 BasicStage (const Index nr, const Index nc, const double *Jdata, const Bound *bdata, const BaseY &Y)
 
 BasicStage (const Index nr, const Index nc, const double *Jdata, const BaseY &Y)
 
void set (const MatrixXd &J, const VectorBound &bounds)
 
void set (const double *Jdata, const Bound *bdata)
 
Index nbConstraints (void) const
 
VectorXd getJrow (const Index &cst) const
 
Bound getBoundRow (const Index &cst) const
 
MatrixXd getJ () const
 
VectorBound getBounds () const
 
VectorBoundgetBoundsInternal ()
 

Public Attributes

std::string name
 
boost::signal< void(std::string,
ConstraintRef, std::string)> 
notifior
 

Protected Types

typedef MapXd MatrixXdRef
 
typedef MapBound VectorBoundRef
 

Protected Attributes

const MatrixXdRefJ
 
const VectorBoundRefbounds
 
const Index nr
 
const Index nc
 
const BaseYY
 

Member Typedef Documentation

typedef boost::function<void(std::string, ConstraintRef, std::string)> soth::BasicStage::listener_function_t
typedef MapXd soth::BasicStage::MatrixXdRef
protected
typedef MapBound soth::BasicStage::VectorBoundRef
protected

Constructor & Destructor Documentation

soth::BasicStage::BasicStage ( const MatrixXd &  J,
const VectorBound bounds,
const BaseY Y 
)

References nr.

soth::BasicStage::BasicStage ( const Index  nr,
const Index  nc,
const double *  Jdata,
const Bound bdata,
const BaseY Y 
)
soth::BasicStage::BasicStage ( const Index  nr,
const Index  nc,
const double *  Jdata,
const BaseY Y 
)

Member Function Documentation

Bound soth::BasicStage::getBoundRow ( const Index &  cst) const

References bounds.

Referenced by soth::HCOD::downdate().

VectorBound soth::BasicStage::getBounds ( void  ) const

References bounds.

VectorBound & soth::BasicStage::getBoundsInternal ( )
MatrixXd soth::BasicStage::getJ ( void  ) const

References J.

VectorXd soth::BasicStage::getJrow ( const Index &  cst) const

References J.

Referenced by soth::HCOD::downdate().

Index soth::BasicStage::nbConstraints ( void  ) const
inline
void soth::BasicStage::set ( const MatrixXd &  J,
const VectorBound bounds 
)

References nc, nr, and sotDEBUG.

void soth::BasicStage::set ( const double *  Jdata,
const Bound bdata 
)

References J, nc, nr, and sotDEBUG.

Member Data Documentation

const VectorBoundRef& soth::BasicStage::bounds
protected

Referenced by getBoundRow(), and getBounds().

const MatrixXdRef& soth::BasicStage::J
protected

Referenced by getJ(), getJrow(), and set().

std::string soth::BasicStage::name
const Index soth::BasicStage::nc
protected

Referenced by set().

boost::signal<void(std::string, ConstraintRef, std::string)> soth::BasicStage::notifior
const Index soth::BasicStage::nr
protected

Referenced by BasicStage(), and set().

const BaseY& soth::BasicStage::Y
protected