suanPan
|
A MaxHistory class. More...
#include <MaxHistory.h>
Public Member Functions | |
MaxHistory (unsigned, unsigned, OutputType, double) | |
unique_ptr< Criterion > | get_copy () override |
int | process (const shared_ptr< DomainBase > &) override |
Public Member Functions inherited from Criterion | |
Criterion (unsigned=0, unsigned=0) | |
~Criterion () override=default | |
void | set_step_tag (unsigned) |
unsigned | get_step_tag () const |
virtual unique_ptr< Criterion > | get_copy ()=0 |
virtual int | initialize (const shared_ptr< DomainBase > &) |
virtual int | process (const shared_ptr< DomainBase > &)=0 |
Public Member Functions inherited from Tag | |
Tag (unsigned=0) | |
Tag (const Tag &)=default | |
Tag (Tag &&)=default | |
Tag & | operator= (const Tag &)=delete |
Tag & | operator= (Tag &&)=delete |
virtual | ~Tag ()=default |
void | set_tag (unsigned) const |
unsigned | get_tag () const |
void | enable () |
void | disable () |
void | guard () |
void | unguard () |
bool | is_active () const |
bool | is_guarded () const |
virtual void | print () |
A MaxHistory class.
The MaxHistory class tests if the given variable in each element exceeds the given limit, if so, the element is disabled.
MaxHistory::MaxHistory | ( | unsigned | T, |
unsigned | ST, | ||
OutputType | HT, | ||
double | MH | ||
) |
|
overridevirtual |