This repository has been archived by the owner on Nov 23, 2019. It is now read-only.
forked from yayahjb/ncdist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FollowerConstants.h
executable file
·75 lines (57 loc) · 2.26 KB
/
FollowerConstants.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
#if _MSC_VER
#pragma once
#endif
#ifndef FOLLOWERCONSTANTS_H
#define FOLLOWERCONSTANTS_H
#include <string>
#include <utility>
#include <vector>
#include "G6.h"
namespace FollowerConstants {
enum enumMovieMode{ globalStar, globalTrail };
enum enumFollowerMode{ globalFollow, globalMovie, globalWeb };
//These are which G6 components to put into the SVG file !!!!!!!!!!!!!!!!
extern std::pair<int,int> globalWhichComponentsToPlot; // Here they are ZERO-BASED !!!!!!!
extern enumFollowerMode globalFollowerMode;
extern bool globalDrawCirclePlot;
extern bool globalDrawDistancePlot;
extern bool globalPrintAllDistanceData;
extern bool globalOutputGlitchesOnly;
extern double globalFractionalAmountToPerturb;
extern double globalAboveThisValueIsBad; // GLITCH DETECTION LEVEL - fraction of deltas in either of the top two histogram bins
extern double globalFractionToDetermineCloseToBoundary;
extern double globalMovieMaxDistRejectionTest;
extern size_t globalFramesPerSegment;
extern size_t globalStepsPerFrame;
extern size_t globalNumberOfTrialsToAttempt; // applies when not in movie generation
extern bool globalPlotAllSegmentsAsBlack;
extern std::vector<std::string> globalColorsForBoundaries;
extern std::string globalFileNamePrefix;
extern enumMovieMode globalMovieMode;
};
namespace SVG_WriterConstants {
extern double globalGraphSpace; // px
extern double globalGraphBorder; // px
extern double globalPlotSpace;
};
namespace SVG_CirclePlotConstants {
extern int globalCirclePlotSize ; // px
extern int globalCircleRadius ; // px
extern int globalCircleStrokeWidth ; // px
};
namespace SVG_DistancePlotConstants {
extern int globalG6DataLineStrokeWidth; // px
extern int globalDeloneDataLineStrokeWidth; // px
extern int globalDataAxisWidth ; // px
extern int globalX_AxisTicMarkLength ; // px
extern int globalY_AxisTicMarkLength ; // px
};
namespace GLOBAL_Report {
extern std::string globalDataReport;
};
namespace GLOBAL_RunInputVector {
extern std::vector<G6> globalData;
extern bool globalConstantRandomSeed;
extern int globalInputRandomSeed;
};
#endif