![]() |
Computer Assited Medical Intervention Tool Kit
version 3.3
|
class which represent the stopping criterion to check to stop simulation a StoppingCriterion is either a Criterion or a MultipleCriterion a StoppingCriterion can be checked using checkCriterion method to know if the StoppingCriterion is reach More...
#include <StoppingCriterion.h>
Inheritance diagram for StoppingCriterion:Public Member Functions | |
| virtual bool | checkCriterion ()=0 |
| return true if the stopping criterion is reach More... | |
| virtual StoppingCriterion * | getChild (const unsigned int i)=0 |
| get the child repered by index, return null if no child More... | |
| virtual std::string | getName ()=0 |
| get stopping criterion name More... | |
| virtual int | getNumberOfChildren ()=0 |
| get number of childre; return -1 for non multiple criteria More... | |
| MultipleCriterion * | getParent () |
| get parent multiple criteria More... | |
| StoppingCriterion (MonitoringManager *monitoringManager, MultipleCriterion *parent=NULL) | |
| constructor More... | |
| virtual | ~StoppingCriterion () |
| destructor More... | |
Protected Attributes | |
| MonitoringManager * | monitoringManager |
| monitoring manager More... | |
| MultipleCriterion * | parent |
| parent stopping Criterion More... | |
class which represent the stopping criterion to check to stop simulation a StoppingCriterion is either a Criterion or a MultipleCriterion a StoppingCriterion can be checked using checkCriterion method to know if the StoppingCriterion is reach
| StoppingCriterion::StoppingCriterion | ( | MonitoringManager * | monitoringManager, |
| MultipleCriterion * | parent = NULL |
||
| ) |
constructor
|
virtual |
destructor
|
pure virtual |
return true if the stopping criterion is reach
Implemented in Criterion, MultipleCriterion, AndMultipleCriterion, and OrMultipleCriterion.
|
pure virtual |
get the child repered by index, return null if no child
Implemented in Criterion, and MultipleCriterion.
|
pure virtual |
get stopping criterion name
Implemented in Criterion, MultipleCriterion, AndMultipleCriterion, OrMultipleCriterion, ForceCriterion, kineticEnergy, Time, Velocity, and Position.
|
pure virtual |
get number of childre; return -1 for non multiple criteria
Implemented in Criterion, and MultipleCriterion.
| MultipleCriterion* StoppingCriterion::getParent | ( | ) |
get parent multiple criteria
|
protected |
monitoring manager
|
protected |
parent stopping Criterion
1.8.8