Changeset 1205
- Timestamp:
- 02/23/23 23:18:38 (21 months ago)
- Location:
- framspy
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/FramsticksEvolution.py
r1195 r1205 142 142 print("Argument values:", ", ".join(['%s=%s' % (arg, getattr(parsed_args, arg)) for arg in vars(parsed_args)])) 143 143 OPTIMIZATION_CRITERIA = parsed_args.opt.split(",") 144 framsLib = FramsticksLib(parsed_args.path, parsed_args.lib, parsed_args.sim .split(";"))144 framsLib = FramsticksLib(parsed_args.path, parsed_args.lib, parsed_args.sim) 145 145 toolbox = prepareToolbox(framsLib, OPTIMIZATION_CRITERIA, parsed_args.tournament, '1' if parsed_args.genformat is None else parsed_args.genformat, parsed_args.initialgenotype) 146 146 pop = toolbox.population(n=parsed_args.popsize) -
framspy/evolalg/run_frams_islands.py
r1190 r1205 14 14 opt_criteria = parsed_args.opt.split(",") 15 15 framsLib = FramsticksLib( 16 parsed_args.path, parsed_args.lib, parsed_args.sim .split(";"))16 parsed_args.path, parsed_args.lib, parsed_args.sim) 17 17 constrains = {"max_numparts": parsed_args.max_numparts, 18 18 "max_numjoints": parsed_args.max_numjoints, -
framspy/evolalg/run_frams_niching.py
r1190 r1205 14 14 opt_criteria = parsed_args.opt.split(",") 15 15 framsLib = FramsticksLib( 16 parsed_args.path, parsed_args.lib, parsed_args.sim .split(";"))16 parsed_args.path, parsed_args.lib, parsed_args.sim) 17 17 constrains = {"max_numparts": parsed_args.max_numparts, 18 18 "max_numjoints": parsed_args.max_numjoints, -
framspy/evolalg/tests/test_diferent_settings.py
r1190 r1205 109 109 opt_criteria = params['opt'].split(",") 110 110 framsLib = FramsticksLib( 111 parsed_args.path, parsed_args.lib, parsed_args.sim .split(";"))111 parsed_args.path, parsed_args.lib, parsed_args.sim) 112 112 constrains = {"max_numparts": params['max_numparts'], 113 113 "max_numjoints": params['max_numjoints'], … … 141 141 opt_criteria = params['opt'].split(",") 142 142 framsLib = FramsticksLib( 143 parsed_args.path, parsed_args.lib, parsed_args.sim .split(";"))143 parsed_args.path, parsed_args.lib, parsed_args.sim) 144 144 constrains = {"max_numparts": params['max_numparts'], 145 145 "max_numjoints": params['max_numjoints'], -
framspy/evolalg_steps/examples/multicriteria.py
r1185 r1205 168 168 def create_experiment(): 169 169 parsed_args = parseArguments() 170 frams_lib = FramsticksLib(parsed_args.path, parsed_args.lib, parsed_args.sim .split(";"))170 frams_lib = FramsticksLib(parsed_args.path, parsed_args.lib, parsed_args.sim) 171 171 172 172 opt_dissim = [] -
framspy/evolalg_steps/examples/niching_novelty.py
r1185 r1205 179 179 def create_experiment(): 180 180 parsed_args = parseArguments() 181 frams_lib = FramsticksLib(parsed_args.path, parsed_args.lib, 182 parsed_args.sim.split(";")) 181 frams_lib = FramsticksLib(parsed_args.path, parsed_args.lib, parsed_args.sim) 183 182 # Steps for generating first population 184 183 init_stages = [ -
framspy/evolalg_steps/examples/standard.py
r1185 r1205 66 66 def main(): 67 67 parsed_args = parseArguments() 68 frams_lib = FramsticksLib(parsed_args.path, parsed_args.lib, parsed_args.sim .split(";"))68 frams_lib = FramsticksLib(parsed_args.path, parsed_args.lib, parsed_args.sim) 69 69 70 70 hall_of_fame = HallOfFameStatistics(parsed_args.hof_size, "fitness")
Note: See TracChangeset
for help on using the changeset viewer.