-
Notifications
You must be signed in to change notification settings - Fork 2
/
FollowerConstants.cpp
executable file
·64 lines (44 loc) · 3.17 KB
/
FollowerConstants.cpp
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
#include <string>
#include <utility>
#include <vector>
#include "FollowerConstants.h"
#include <cfloat>
namespace {
// cannot access outside this file
std::string BASIC_COLORS[] = { "red", "lightblue", "turquoise", "slategrey",
"orange", "blueviolet", "coral", "saddlebrown", "blue", "pink", "violet",
"deeppink", "mediumvioletred", "tomato", "greenyellow", "olive" };
};
FollowerConstants::enumMovieMode FollowerConstants::globalMovieMode = FollowerConstants::globalStar;
FollowerConstants::enumFollowerMode FollowerConstants::globalFollowerMode = FollowerConstants::globalFollow;
//These are which G6 components to put into the SVG file !!!!!!!!!!!!!!!!
std::pair<int,int> FollowerConstants::globalWhichComponentsToPlot = std::make_pair( 3,4 ); // Here they are ZERO-BASED !!!!!!!
bool FollowerConstants::globalDrawCirclePlot = true;
bool FollowerConstants::globalDrawDistancePlot = true;
bool FollowerConstants::globalPrintAllDistanceData = true;
bool FollowerConstants::globalOutputGlitchesOnly = false;
double FollowerConstants::globalFractionalAmountToPerturb = 0.05;
double FollowerConstants::globalAboveThisValueIsBad = 0.03; // GLITCH DETECTION LEVEL - fraction of deltas in either of the top two histogram bins
double FollowerConstants::globalFractionToDetermineCloseToBoundary = 0.065;
double FollowerConstants::globalMovieMaxDistRejectionTest = 0.1;
size_t FollowerConstants::globalFramesPerSegment = 200;
size_t FollowerConstants::globalStepsPerFrame = 100;
size_t FollowerConstants::globalNumberOfTrialsToAttempt = 20; // applies when not in movie generation
bool FollowerConstants::globalPlotAllSegmentsAsBlack = false;
std::vector<std::string> FollowerConstants::globalColorsForBoundaries = std::vector<std::string>( BASIC_COLORS, BASIC_COLORS + sizeof(BASIC_COLORS)/sizeof(BASIC_COLORS[0]) );
std::string FollowerConstants::globalFileNamePrefix = "Fol";
double SVG_WriterConstants::globalGraphSpace = 800; // px
double SVG_WriterConstants::globalGraphBorder = 140; // px
double SVG_WriterConstants::globalPlotSpace = SVG_WriterConstants::globalGraphSpace - 2*SVG_WriterConstants::globalGraphBorder;
int SVG_CirclePlotConstants::globalCirclePlotSize = 2000; // px
int SVG_CirclePlotConstants::globalCircleRadius = 300; // px
int SVG_CirclePlotConstants::globalCircleStrokeWidth = 30; // px
int SVG_DistancePlotConstants::globalG6DataLineStrokeWidth = 3; // px
int SVG_DistancePlotConstants::globalDeloneDataLineStrokeWidth = 10; // px
int SVG_DistancePlotConstants::globalDataAxisWidth = 6; // px
int SVG_DistancePlotConstants::globalY_AxisTicMarkLength = 20; // px
int SVG_DistancePlotConstants::globalX_AxisTicMarkLength = SVG_DistancePlotConstants::globalY_AxisTicMarkLength; // px
std::string GLOBAL_Report::globalDataReport = "";
std::vector<G6> GLOBAL_RunInputVector::globalData;
bool GLOBAL_RunInputVector::globalConstantRandomSeed = false;
int GLOBAL_RunInputVector::globalInputRandomSeed = 19191;