-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjmoo_properties.py.orig
executable file
·138 lines (113 loc) · 4.24 KB
/
jmoo_properties.py.orig
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
"""
##########################################################
### @Author Joe Krall ###############################
### @copyright see below ###############################
This file is part of JMOO,
Copyright Joe Krall, 2014.
JMOO is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
JMOO is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with JMOO. If not, see <http://www.gnu.org/licenses/>.
### ###############################
##########################################################
"""
"Brief notes"
"Property File. Defines default settings."
from jmoo_algorithms import *
from jmoo_problems import *
# from Problems.CPM.cpm import *
# from Problems.CPM.cpm_reduction import *
from Problems.NRP.nrp import *
# from Problems.MONRP.monrp import *
from Problems.POM3.POM3B import POM3B
from Problems.POM3.POM3A import POM3A, POM3AS
from Problems.POM3.POM3C import POM3C
from Problems.POM3.POM3D import POM3D
from Problems.Feature_Models.feature_model import FeatureTreeModel
from Problems.XOMO.XOMO_flight import XOMO_flight
from Problems.XOMO.XOMO_all import XOMO_all
from Problems.XOMO.XOMO_ground import XOMO_ground
from Problems.XOMO.XOMO_osp import XOMO_osp
from Problems.XOMO.XOMO_osp2 import XOMO_osp2
from Problems.NRP.nrp import NRP
from Problems.MONRP.monrp import MONRP
# JMOO Experimental Definitions
algorithms = [
# jmoo_NSGAII(),
# jmoo_SPEA2(),
# jmoo_GALE(),
# jmoo_SWAY2(),
jmoo_SWAY5()
]
problems =[
<<<<<<< HEAD
# POM3A(),
=======
POM3A(),
POM3AS()
>>>>>>> 7091a2e1638380898b09204e823819da8bf4f375
# POM3B(), POM3C(), POM3D(),
# XOMO_flight(),
# XOMO_all(), XOMO_ground(), XOMO_osp(), XOMO_osp2(),
# MONRP(50, 4, 5, 0, 90), MONRP(50, 4, 5, 0, 110), MONRP(50, 4, 5, 4, 90), MONRP(50, 4, 5, 4, 110),
<<<<<<< HEAD
NRP(50, 4, 5, 0, 90), NRP(50, 4, 5, 0, 110), NRP(50, 4, 5, 4, 90), NRP(50, 4, 5, 4, 110),
=======
# NRP(50, 4, 5, 0, 90), NRP(50, 4, 5, 0, 110), NRP(50, 4, 5, 4, 90), NRP(50, 4, 5, 4, 110),
>>>>>>> 7091a2e1638380898b09204e823819da8bf4f375
]
build_new_pop = False # Whether or not to rebuild the initial population
Configurations = {
"Universal": {
"Repeats" : 20,
"Population_Size" : 4096,
"No_of_Generations" : 1
},
"NSGAIII": {
"SBX_Probability": 1,
"ETA_C_DEFAULT_" : 30,
"ETA_M_DEFAULT_" : 20
},
"GALE": {
"GAMMA" : 0.15, # Constrained Mutation Parameter
"EPSILON" : 1.00, # Continuous Domination Parameter
"LAMBDA" : 3, # Number of lives for bstop
"DELTA" : 3 # Accelerator that increases mutation size
},
"DE": {
"F" : 0.75, # extrapolate amount
"CF" : 0.3, # prob of cross over
},
"MOEAD" : {
"niche" : 20, # Neighbourhood size
"SBX_Probability": 1,
"ETA_C_DEFAULT_" : 20,
"ETA_M_DEFAULT_" : 20,
"Theta" : 5
},
"STORM": {
"STORM_EXPLOSION" : 5,
"STORM_POLES" : 20, # number of actual poles is 2 * ANYWHERE_POLES
"F" : 0.75, # extrapolate amount
"CF" : 0.3, # prob of cross over
"STORM_SPLIT": 6, # Break and split into pieces
"GAMMA" : 0.15,
}
}
# File Names
DATA_PREFIX = "Data/"
DEFECT_PREDICT_PREFIX = "defect_prediction/"
VERSION_SPACE_PREFIX = "version_space/"
"decision bin tables are a list of decisions and objective scores for a certain model"
DECISION_BIN_TABLE = "decision_bin_table"
"result scores are the per-generation list of IBD, IBS, numeval,scores and change percents for each objective - for a certain model"
RESULT_SCORES = "result_"
SUMMARY_RESULTS = "summary_"
RRS_TABLE = "RRS_TABLE_"
DATA_SUFFIX = ".datatable"