-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathconfiguration.ini
More file actions
executable file
·122 lines (110 loc) · 2.35 KB
/
configuration.ini
File metadata and controls
executable file
·122 lines (110 loc) · 2.35 KB
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
112
113
114
115
116
117
118
119
120
121
122
[LOGGING]
logmode = file
[POPULATION]
# Population size. This paramater can be a number or a numpy array
size = 100
sensors = 1
sensor_spec = false
sensor_list = 1,5,2,4
controls = 1
sensor_prob = 0.33
leaf_prob = 0.3
range = 10
precision = 4
# Numpy arrange
opsetrange = 1:10
end_character =
individual_type = tree
[GP]
# GP algortihm (CHANGE IF YOU KNOW WHAT YOU DO)
maxdepth = 15
maxdepthfirst = 5
mindepth = 2
mutmindepth = 2
mutmaxdepth = 15
mutsubtreemindepth = 2
generation_method = mixed_ramped_gauss
gaussigma = 3
# Numpy arange
ramp = 2:9
maxtries = 10
mutation_types = 1:5
[OPTIMIZATION]
# Optimization parameters
elitism = 10
probrep = 0.1
probmut = 0.4
probcro = 0.5
selectionmethod = tournament
tournamentsize = 7
lookforduplicates = true
simplify = false
# Numpy array
cascade = 1,1
[EVALUATOR]
# Evaluator
# evaluation_method = standalone_function
# evaluation_method = standalone_files
evaluation_method = mfile_standalone
# evaluation_function = toy_problem
evaluation_function = toy_problem_python_ev
# evaluation_function = simulink_ev
# evaluation_function = arduino
indfile = ind.dat
Jfile = J.dat
# exchangedir = fullfile(pwd,evaluator0)
evaluate_all = 0
ev_again_best = false
ev_again_nb = 5
ev_again_times = 5
artificialnoise = 0
execute_before_evaluation =
badvalue = 1e36
badvalues_elim = first
%badvalues_elim = none
%badvalues_elim = all
preevaluation = true
preev_function = default
problem_variables.gamma = 0.1
[BEHAVIOUR]
## MLC behaviour
save = 1
saveincomplete = 1
verbose = 2
fgen = 250
savedir = mlc_simulation.db
stopongraph = false
showeveryitbest = true
[ARDUINO]
baudrate = 115200
port= /dev/ttyACM0
command_opcode = 1
# Time in microseconds
wait_period = 10000
# Time in seconds
read_timeout = 5.0
read_retries = 2
[PROBLEM_VARIABLES]
# Frequency of the signal, not pulsation
signal_frequency = 1
# Offset (Amplitude) of the signal
signal_offset = 1.65
#
sampling_resolution = 0.001
#
amount_periods = 2
#
signal_amplitude = 1
# Name of the Simulink Model to be used
model_name = arduino_expe
# Path to be added to MATLAB in order to run the Simulink Model
model_path = /home/etorres/Facultad/TP_Profesional/MLC_simulink_Arduino
# Gamma
gamma = 0.1
# This variables are used just in this experiment
sensor_source = signal_to_cancel
# sensor_source = difference
# goal = kill_perturbation
goal = kill_signal
# summator_gain = 1
summator_gain = -1