forked from hakosaj/KandiTSP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Constants.cpp
52 lines (40 loc) · 1.04 KB
/
Constants.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
#ifndef CONSTANTS_H
#define CONSTANTS_H
#include <limits.h>
#include "Constants.h"
double scalefactor = 0.3;
float width = 1200;
float height = 700;
float outlinet = 6;
float leftEdge = 500;
float circlesize = 4;
float buttonwidth = 120;
float buttonheight = 40;
float startcirclesize = 8;
int generationSize = 10;
int initialPopulation = 60;
int currentgen = 0;
double mutationRate = 0.3;
int dotcount = 30;
float currentDist = INT_MAX;
float bestdist = INT_MAX;
int randomizeSleep = 10;
int popsize = 0;
bool Finished = true;
bool RandomizeStatus = false;
bool exitStatus = false;
bool drawState = false;
int cycleCounter = 1;
int VerticalOffset = -5;
int HorizontalOffset = 0;
bool stoppingCriteriaMet = false;
int buttonGridVertical1 = 90;
int buttonGridVertical2 = 150;
int buttonGridVertical3 = 210;
int buttonGridVertical4 = 270;
int buttonGridVertical5 = 330;
int buttonGridHorizontal1 = 20;
int buttonGridHorizontal2 = 160;
int buttonGridHorizontal3 = 300;
int textButtonOffset = 11;
#endif