linal::LinAl Class Reference

#include <LinAl.h>


Public Member Functions

 LinAl ()
 ~LinAl ()
 LinAl (const LinAl &)
LinAloperator= (const LinAl &)
void addVariable (const DString &, const LTree &)
void addVariable (const char *bean, const LTree &tree)
void cleanMatrices ()
DString updateLastMatrix (const DString &name)
DString * getLastMatrixName ()
 Be careful!
DString addMatrix (const Matrix &)
void addMatrix (const DString &, const Matrix &)
void addMatrix (const char *bean, const Matrix &m)
void removeMatrix (const DString &name)
void removeMatrix (const char *name)
Matrix getMatrix (const DString &)
Matrix getMatrix (const char *name)
bool isReserved (const DString &name) const
bool isReserved (const char *bean) const
void removeVariable (const DString &)
void removeVariable (const char *name)
void removeAll ()
LTree getVariable (const DString &) const
LTree getVariable (const char *bean) const
bool containsVariable (const DString &bean) const
bool containsVariable (const char *bean)
DString printVariables () const
DString getParameter (const DString &)
DString getParameter (const char *string)
int setParameter (const DString param, const DString newValue) throw (DavidException)
int setParameter (const char *param, const char *val)
LTree setANS (const LTree &)
LTree getANS ()
int numberOfVariables ()
void setBinary ()
void clearBinary ()
bool useBinary ()
unsigned short getMatrixID ()
int getRandomNumber ()
int getRandomNumber (int seed)
DHashMap< LTree > * getVariables ()
DString aboutVariable (DString &name)
DString aboutVariable (const char *bean)
DString aboutVariable ()
DString describeLTree (LTree *tree)

Static Public Member Functions

static DString getVersion ()
static DavidException UNKNOWN_VARIABLE ()

Data Fields

LTreeans

Private Member Functions

DHashMap< LTreegetHashMap () const
LTree getAns () const
DHashMap< MatrixgetMatrices () const

Private Attributes

DHashMap< LTree > * variables
Parametersparams
DHashMap< Matrix > * matrices
ushort matrixID
utils::DRandom * randy
DString * lastMatrix


Constructor & Destructor Documentation

linal::LinAl::LinAl (  ) 

linal::LinAl::~LinAl (  ) 

linal::LinAl::LinAl ( const LinAl  ) 


Member Function Documentation

LinAl & linal::LinAl::operator= ( const LinAl  ) 

static DString linal::LinAl::getVersion (  )  [inline, static]

void linal::LinAl::addVariable ( const DString &  ,
const LTree  
)

void linal::LinAl::addVariable ( const char *  bean,
const LTree tree 
) [inline]

void linal::LinAl::cleanMatrices (  ) 

DString linal::LinAl::updateLastMatrix ( const DString &  name  ) 

DString* linal::LinAl::getLastMatrixName (  )  [inline]

Be careful!

DString linal::LinAl::addMatrix ( const Matrix  ) 

void linal::LinAl::addMatrix ( const DString &  ,
const Matrix  
)

void linal::LinAl::addMatrix ( const char *  bean,
const Matrix m 
) [inline]

void linal::LinAl::removeMatrix ( const DString &  name  ) 

void linal::LinAl::removeMatrix ( const char *  name  )  [inline]

Matrix linal::LinAl::getMatrix ( const DString &   ) 

Matrix linal::LinAl::getMatrix ( const char *  name  )  [inline]

bool linal::LinAl::isReserved ( const DString &  name  )  const

bool linal::LinAl::isReserved ( const char *  bean  )  const [inline]

void linal::LinAl::removeVariable ( const DString &   ) 

void linal::LinAl::removeVariable ( const char *  name  )  [inline]

void linal::LinAl::removeAll (  ) 

LTree linal::LinAl::getVariable ( const DString &   )  const

LTree linal::LinAl::getVariable ( const char *  bean  )  const [inline]

bool linal::LinAl::containsVariable ( const DString &  bean  )  const

bool linal::LinAl::containsVariable ( const char *  bean  )  [inline]

DString linal::LinAl::printVariables (  )  const

DString linal::LinAl::getParameter ( const DString &   ) 

DString linal::LinAl::getParameter ( const char *  string  )  [inline]

int linal::LinAl::setParameter ( const DString  param,
const DString  newValue 
) throw (DavidException)

int linal::LinAl::setParameter ( const char *  param,
const char *  val 
) [inline]

LTree linal::LinAl::setANS ( const LTree  ) 

LTree linal::LinAl::getANS (  )  [inline]

static DavidException linal::LinAl::UNKNOWN_VARIABLE (  )  [inline, static]

int linal::LinAl::numberOfVariables (  )  [inline]

void linal::LinAl::setBinary (  )  [inline]

void linal::LinAl::clearBinary (  )  [inline]

bool linal::LinAl::useBinary (  )  [inline]

unsigned short linal::LinAl::getMatrixID (  )  [inline]

int linal::LinAl::getRandomNumber (  )  [inline]

int linal::LinAl::getRandomNumber ( int  seed  )  [inline]

DHashMap<LTree>* linal::LinAl::getVariables (  )  [inline]

DString linal::LinAl::aboutVariable ( DString &  name  ) 

DString linal::LinAl::aboutVariable ( const char *  bean  )  [inline]

DString linal::LinAl::aboutVariable (  )  [inline]

DString linal::LinAl::describeLTree ( LTree tree  ) 

DHashMap<LTree> linal::LinAl::getHashMap (  )  const [inline, private]

LTree linal::LinAl::getAns (  )  const [inline, private]

DHashMap<Matrix> linal::LinAl::getMatrices (  )  const [inline, private]


Field Documentation

LTree* linal::LinAl::ans

DHashMap<LTree>* linal::LinAl::variables [private]

Parameters* linal::LinAl::params [private]

DHashMap<Matrix>* linal::LinAl::matrices [private]

ushort linal::LinAl::matrixID [private]

utils::DRandom* linal::LinAl::randy [private]

DString* linal::LinAl::lastMatrix [private]


The documentation for this class was generated from the following files:
Generated on Wed Jan 23 14:53:55 2008 by  doxygen 1.5.2