suanPan
MaxHistory Class Referencefinal

A MaxHistory class. More...

#include <MaxHistory.h>

Inheritance diagram for MaxHistory:
Collaboration diagram for MaxHistory:

Public Member Functions

 MaxHistory (unsigned, unsigned, OutputType, double)
 
unique_ptr< Criterionget_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< Criterionget_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
 
Tagoperator= (const Tag &)=delete
 
Tagoperator= (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 ()
 

Detailed Description

A MaxHistory class.

The MaxHistory class tests if the given variable in each element exceeds the given limit, if so, the element is disabled.

Author
tlc
Date
15/09/2020
Version
0.1.0

Constructor & Destructor Documentation

◆ MaxHistory()

MaxHistory::MaxHistory ( unsigned  T,
unsigned  ST,
OutputType  HT,
double  MH 
)

Member Function Documentation

◆ get_copy()

unique_ptr< Criterion > MaxHistory::get_copy ( )
overridevirtual

Implements Criterion.

◆ process()

int MaxHistory::process ( const shared_ptr< DomainBase > &  D)
overridevirtual

Implements Criterion.

Here is the call graph for this function:

The documentation for this class was generated from the following files: