BcpsConstraintPool Class Reference

#include <BcpsObjectPool.h>

Inheritance diagram for BcpsConstraintPool:

Inheritance graph
[legend]
Collaboration diagram for BcpsConstraintPool:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BcpsConstraintPool ()
virtual ~BcpsConstraintPool ()
void addConstraint (BcpsConstraint *con)
 Add a constraint to pool.
void deleteConstraint (int k)
 Delete constraint k from pool.
int getNumConstraints () const
 Query how many constraints are in the pool.
const std::vector< AlpsKnowledge * > & getConstraints () const
 Get the vector of constraints.
AlpsKnowledgegetConstraint (int k) const
 Get a constraints.

Detailed Description

Definition at line 104 of file BcpsObjectPool.h.


Constructor & Destructor Documentation

BcpsConstraintPool::BcpsConstraintPool (  )  [inline]

Definition at line 106 of file BcpsObjectPool.h.

virtual BcpsConstraintPool::~BcpsConstraintPool (  )  [inline, virtual]

Definition at line 107 of file BcpsObjectPool.h.


Member Function Documentation

void BcpsConstraintPool::addConstraint ( BcpsConstraint con  )  [inline]

Add a constraint to pool.

Definition at line 110 of file BcpsObjectPool.h.

References BcpsObjectPool::objects_.

void BcpsConstraintPool::deleteConstraint ( int  k  )  [inline]

Delete constraint k from pool.

Definition at line 113 of file BcpsObjectPool.h.

References BcpsObjectPool::deleteObject().

int BcpsConstraintPool::getNumConstraints (  )  const [inline]

Query how many constraints are in the pool.

Definition at line 116 of file BcpsObjectPool.h.

References BcpsObjectPool::getNumKnowledges().

const std::vector<AlpsKnowledge *>& BcpsConstraintPool::getConstraints (  )  const [inline]

Get the vector of constraints.

Definition at line 119 of file BcpsObjectPool.h.

References BcpsObjectPool::objects_.

AlpsKnowledge* BcpsConstraintPool::getConstraint ( int  k  )  const [inline]

Get a constraints.

Definition at line 122 of file BcpsObjectPool.h.

References BcpsObjectPool::getObject().


The documentation for this class was generated from the following file:
Generated on Sun Nov 14 14:12:23 2010 for Coin-All by  doxygen 1.4.7