#include <revolve.h>
Inheritance diagram for Online_r3:
Public Member Functions | |
Online_r3 (int sn, Checkpoint *c) | |
This constructor needs an Online class. | |
Online_r3 (Online_r3 &o) | |
ACTION::action | revolve (ostream &str) |
This function returns advance or takeshot during the forward integration. | |
int | get_capo () |
This function returns the capo. | |
int | get_fine () |
This function returns -1 because the end is not still reached. | |
void | set_fine (int) |
int | choose_cp (int number) |
This function returns the index of the checkpoint that can be replaced (Replacement condition). | |
void | tdiff_akt () |
This function renews the array tdiff after a checkpoint was replaced. | |
void | akt_cp () |
This function renews the array ord_ch of the class Online after a checkpoint was replaced. | |
int | get_tdiff_end (int i) |
~Online_r3 () | |
Protected Attributes | |
int | forward |
forward is number of time steps to advance | |
int | ind_now |
ind_now is the temporary index of the checkpoints of the array ch3 that have to be taken | |
int | cp |
cp is the Index of the checkpoint that can be replaced. | |
vector< int > | ch3 |
ch3 is the array of the final checkpoint distribution for r=3. | |
vector< int > | tdiff |
tdiff[i] is the difference between the i.th and the i-1.th checkpoint | |
vector< int > | tdiff_end |
tdiff_end is the array of differences for the final checkpoint distribution for r=3. | |
vector< bool > | cp_fest |
cp_fest[i] defines if the i.th checkpoint can be overwritten or not. |
Definition at line 222 of file revolve.h.
Online_r3::Online_r3 | ( | int | sn, | |
Checkpoint * | c | |||
) |
Online_r3::Online_r3 | ( | Online_r3 & | o | ) |
Online_r3::~Online_r3 | ( | ) |
ACTION::action Online_r3::revolve | ( | ostream & | str | ) | [virtual] |
This function returns advance or takeshot during the forward integration.
Reimplemented from Online.
int Online_r3::get_capo | ( | ) | [virtual] |
This function returns the capo.
Reimplemented from Online.
Definition at line 234 of file revolve.h.
References Online::capo.
int Online_r3::get_fine | ( | ) | [virtual] |
void Online_r3::set_fine | ( | int | ) | [virtual] |
int Online_r3::choose_cp | ( | int | number | ) |
This function returns the index of the checkpoint that can be replaced (Replacement condition).
The argument number means that all checkpoints that fulfill the Replacement condition before number cannot be used.
void Online_r3::tdiff_akt | ( | ) |
This function renews the array tdiff after a checkpoint was replaced.
void Online_r3::akt_cp | ( | ) |
This function renews the array ord_ch of the class Online after a checkpoint was replaced.
int Online_r3::get_tdiff_end | ( | int | i | ) |
int Online_r3::forward [protected] |
int Online_r3::ind_now [protected] |
int Online_r3::cp [protected] |
vector<int> Online_r3::ch3 [protected] |
vector<int> Online_r3::tdiff [protected] |
vector<int> Online_r3::tdiff_end [protected] |
tdiff_end is the array of differences for the final checkpoint distribution for r=3.
Definition at line 266 of file revolve.h.
Referenced by get_tdiff_end().
vector<bool> Online_r3::cp_fest [protected] |