#include <BcpsObjectPool.h>
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. | |
AlpsKnowledge * | getConstraint (int k) const |
Get a constraints. |
Definition at line 104 of file BcpsObjectPool.h.
BcpsConstraintPool::BcpsConstraintPool | ( | ) | [inline] |
Definition at line 106 of file BcpsObjectPool.h.
virtual BcpsConstraintPool::~BcpsConstraintPool | ( | ) | [inline, virtual] |
Definition at line 107 of file BcpsObjectPool.h.
void BcpsConstraintPool::addConstraint | ( | BcpsConstraint * | con | ) | [inline] |
Add a constraint to pool.
Definition at line 110 of file BcpsObjectPool.h.
void BcpsConstraintPool::deleteConstraint | ( | int | k | ) | [inline] |
Delete constraint k from pool.
Definition at line 113 of file BcpsObjectPool.h.
int BcpsConstraintPool::getNumConstraints | ( | ) | const [inline] |
Query how many constraints are in the pool.
Definition at line 116 of file BcpsObjectPool.h.
const std::vector<AlpsKnowledge *>& BcpsConstraintPool::getConstraints | ( | ) | const [inline] |
Get the vector of constraints.
Definition at line 119 of file BcpsObjectPool.h.
AlpsKnowledge* BcpsConstraintPool::getConstraint | ( | int | k | ) | const [inline] |
Get a constraints.
Definition at line 122 of file BcpsObjectPool.h.