-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTestBrowsedStochasticMortality.h
57 lines (46 loc) · 1.67 KB
/
TestBrowsedStochasticMortality.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//---------------------------------------------------------------------------
// TestBrowsedStochasticMortality_H
//---------------------------------------------------------------------------
#if !defined(TestBrowsedStochasticMortality_H)
#define TestBrowsedStochasticMortality_H
#include <fstream>
/**
* Writes a parameter file for normal processing run 1.
* @return Filename written.
*/
const char* WriteBrowsedStochasticMortalityXMLFile1();
/**
* Writes a parameter file for normal processing run 2.
* @return Filename written.
*/
const char* WriteBrowsedStochasticMortalityXMLFile2();
/**
* Writes a parameter file where a value for browsed mortality probability
* is not between 0 and 1.
* @return Filename written.
*/
const char* WriteBrowsedStochasticMortalityXMLErrorFile1();
/**
* Writes a parameter file where a value for unbrowsed mortality probability
* is not between 0 and 1.
* @return Filename written.
*/
const char* WriteBrowsedStochasticMortalityXMLErrorFile2();
/**
* Writes a parameter file where there is no browsed behavior.
* @return Filename written.
*/
const char* WriteBrowsedStochasticMortalityXMLErrorFile3();
/**
* Writes common portions of the test parameter files. This starts with
* <randomSeed> and ends with </allometry>.
* @param oOut File stream to write to.
*/
void WriteBrowsedStochasticMortalityCommonStuff(std::fstream &oOut);
/**
* Writes mortality parameters for the test parameter files.
* @param oOut File stream to write to.
*/
void WriteBrowsedStochasticMortalityMortParameters(std::fstream &oOut);
#endif // TestBrowsedStochasticMortality_H
//---------------------------------------------------------------------------