Arevolve Class Reference

This class creates a checkpoint schedule that uses an heuristic approach for a checkpoint to be replaced.class for Online Checkpointing Schedules. More...

#include <revolve.h>

Inheritance diagram for Arevolve:

Online Schedule List of all members.

Public Member Functions

 Arevolve (int sn, Checkpoint *c, ostream &str)
 Constructor that is called after an Online Checkpointing class has exceeded the max.
 Arevolve (Arevolve &o)
 Copy Constructor.
int tmin (int steps, int snaps, ostream &str)
 This function returns the number of advance steps.
int sumtmin ()
 This function calculates the number of advance steps for a given Checkpoint distribution.
int mintmin ()
 This function will look for a checkpoint to be replaced for the condition of arevolve.
int get_fine ()
 This function returns the momental fine.
void akt_cp (int cp)
 This function renews the array ord_ch of the class Online after a checkpoint was replaced.
void set_fine (int f)
enum ACTION::action revolve (ostream &str)
 This function returns advance or takeshot during the forward integration.
 ~Arevolve ()

Detailed Description

This class creates a checkpoint schedule that uses an heuristic approach for a checkpoint to be replaced.class for Online Checkpointing Schedules.

This class is usually called after another Onlie Checkpointing class has exceeds its maximum number of time steps.

Definition at line 280 of file revolve.h.


Constructor & Destructor Documentation

Arevolve::Arevolve ( int  sn,
Checkpoint c,
ostream &  str 
)

Constructor that is called after an Online Checkpointing class has exceeded the max.

number of time steps.

Arevolve::Arevolve ( Arevolve o  ) 

Copy Constructor.

Arevolve::~Arevolve (  ) 

Definition at line 305 of file revolve.h.


Member Function Documentation

int Arevolve::tmin ( int  steps,
int  snaps,
ostream &  str 
)

This function returns the number of advance steps.

This number depends on the the number of steps and snaps.

int Arevolve::sumtmin (  ) 

This function calculates the number of advance steps for a given Checkpoint distribution.

This distribution is stored in Schedule.

int Arevolve::mintmin (  ) 

This function will look for a checkpoint to be replaced for the condition of arevolve.

int Arevolve::get_fine (  )  [virtual]

This function returns the momental fine.

Reimplemented from Online.

Definition at line 296 of file revolve.h.

void Arevolve::akt_cp ( int  cp  ) 

This function renews the array ord_ch of the class Online after a checkpoint was replaced.

void Arevolve::set_fine ( int  f  )  [virtual]

Reimplemented from Online.

Definition at line 300 of file revolve.h.

enum ACTION::action Arevolve::revolve ( ostream &  str  )  [virtual]

This function returns advance or takeshot during the forward integration.

Reimplemented from Online.


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for IWAVECORE by  doxygen 1.4.7