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

◆ listener_function_t

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

◆ MatrixXdRef

typedef MapXd soth::BasicStage::MatrixXdRef
protected

◆ VectorBoundRef

typedef MapBound soth::BasicStage::VectorBoundRef
protected

Constructor & Destructor Documentation

◆ BasicStage() [1/3]

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

References nr.

◆ BasicStage() [2/3]

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

◆ BasicStage() [3/3]

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

Member Function Documentation

◆ getBoundRow()

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

References bounds.

◆ getBounds()

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

References bounds.

◆ getBoundsInternal()

VectorBound & soth::BasicStage::getBoundsInternal ( )

◆ getJ()

MatrixXd soth::BasicStage::getJ ( void  ) const

References J.

◆ getJrow()

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

References J.

◆ nbConstraints()

Index soth::BasicStage::nbConstraints ( void  ) const
inline

◆ set() [1/2]

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

References nc, nr, and sotDEBUG.

◆ set() [2/2]

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

References J, nc, nr, and sotDEBUG.

Member Data Documentation

◆ bounds

const VectorBoundRef& soth::BasicStage::bounds
protected

Referenced by getBoundRow(), and getBounds().

◆ J

const MatrixXdRef& soth::BasicStage::J
protected

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

◆ name

std::string soth::BasicStage::name

◆ nc

const Index soth::BasicStage::nc
protected

Referenced by set().

◆ notifior

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

◆ nr

const Index soth::BasicStage::nr
protected

Referenced by BasicStage(), and set().

◆ Y

const BaseY& soth::BasicStage::Y
protected