-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoeff_obj.h
111 lines (95 loc) · 2.89 KB
/
coeff_obj.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
#ifndef COEFF_OBJ_H
#define COEFF_OBJ_H
#include <stdio.h>
typedef struct
{
double diffusion;
double spread;
double breed;
double slope_resistance;
double road_gravity;
} coeff_val_info;
typedef struct
{
int diffusion;
int spread;
int breed;
int slope_resistance;
int road_gravity;
} coeff_int_info;
void coeff_MemoryLog(FILE* fp);
void coeff_WriteCurrentCoeff();
#if 1
void coeff_ConcatenateFiles();
#else
void coeff_ConcatenateFiles(int current_run);
#endif
void coeff_CreateCoeffFile();
void coeff_SetSavedDiffusion(double val);
void coeff_SetSavedSpread(double val);
void coeff_SetSavedBreed(double val);
void coeff_SetSavedSlopeResist(double val);
void coeff_SetSavedRoadGravity(double val);
void coeff_SetCurrentDiffusion(double val);
void coeff_SetCurrentSpread(double val);
void coeff_SetCurrentBreed(double val);
void coeff_SetCurrentSlopeResist(double val);
void coeff_SetCurrentRoadGravity(double val);
void coeff_SetStepDiffusion(int val);
void coeff_SetStepSpread(int val);
void coeff_SetStepBreed(int val);
void coeff_SetStepSlopeResist(int val);
void coeff_SetStepRoadGravity(int val);
void coeff_SetStartDiffusion(int val);
void coeff_SetStartSpread(int val);
void coeff_SetStartBreed(int val);
void coeff_SetStartSlopeResist(int val);
void coeff_SetStartRoadGravity(int val);
void coeff_SetStopDiffusion(int val);
void coeff_SetStopSpread(int val);
void coeff_SetStopBreed(int val);
void coeff_SetStopSlopeResist(int val);
void coeff_SetStopRoadGravity(int val);
void coeff_SetBestFitDiffusion(int val);
void coeff_SetBestFitSpread(int val);
void coeff_SetBestFitBreed(int val);
void coeff_SetBestFitSlopeResist(int val);
void coeff_SetBestFitRoadGravity(int val);
double coeff_GetSavedDiffusion();
double coeff_GetSavedSpread();
double coeff_GetSavedBreed();
double coeff_GetSavedSlopeResist();
double coeff_GetSavedRoadGravity();
double coeff_GetCurrentDiffusion();
double coeff_GetCurrentSpread();
double coeff_GetCurrentBreed();
double coeff_GetCurrentSlopeResist();
double coeff_GetCurrentRoadGravity();
int coeff_GetStepDiffusion();
int coeff_GetStepSpread();
int coeff_GetStepBreed();
int coeff_GetStepSlopeResist();
int coeff_GetStepRoadGravity();
int coeff_GetStartDiffusion();
int coeff_GetStartSpread();
int coeff_GetStartBreed();
int coeff_GetStartSlopeResist();
int coeff_GetStartRoadGravity();
int coeff_GetStopDiffusion();
int coeff_GetStopSpread();
int coeff_GetStopBreed();
int coeff_GetStopSlopeResist();
int coeff_GetStopRoadGravity();
int coeff_GetBestFitDiffusion();
int coeff_GetBestFitSpread();
int coeff_GetBestFitBreed();
int coeff_GetBestFitSlopeResist();
int coeff_GetBestFitRoadGravity();
void coeff_LogSaved(FILE* fp);
void coeff_LogCurrent(FILE* fp);
void coeff_LogStep(FILE* fp);
void coeff_LogStart(FILE* fp);
void coeff_LogStop(FILE* fp);
void coeff_LogBestFit(FILE* fp);
void coeff_SelfModication(double growth_rate, double percent_urban);
#endif