Changeset 1205 for framspy


Ignore:
Timestamp:
02/23/23 23:18:38 (22 months ago)
Author:
Maciej Komosinski
Message:

Splitting (potentially) multiple .sim files is already done by FramsticksLib?.py

Location:
framspy
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • framspy/FramsticksEvolution.py

    r1195 r1205  
    142142        print("Argument values:", ", ".join(['%s=%s' % (arg, getattr(parsed_args, arg)) for arg in vars(parsed_args)]))
    143143        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)
    145145        toolbox = prepareToolbox(framsLib, OPTIMIZATION_CRITERIA, parsed_args.tournament, '1' if parsed_args.genformat is None else parsed_args.genformat, parsed_args.initialgenotype)
    146146        pop = toolbox.population(n=parsed_args.popsize)
  • framspy/evolalg/run_frams_islands.py

    r1190 r1205  
    1414    opt_criteria = parsed_args.opt.split(",")
    1515    framsLib = FramsticksLib(
    16         parsed_args.path, parsed_args.lib, parsed_args.sim.split(";"))
     16        parsed_args.path, parsed_args.lib, parsed_args.sim)
    1717    constrains = {"max_numparts": parsed_args.max_numparts,
    1818                  "max_numjoints": parsed_args.max_numjoints,
  • framspy/evolalg/run_frams_niching.py

    r1190 r1205  
    1414    opt_criteria = parsed_args.opt.split(",")
    1515    framsLib = FramsticksLib(
    16         parsed_args.path, parsed_args.lib, parsed_args.sim.split(";"))
     16        parsed_args.path, parsed_args.lib, parsed_args.sim)
    1717    constrains = {"max_numparts": parsed_args.max_numparts,
    1818                  "max_numjoints": parsed_args.max_numjoints,
  • framspy/evolalg/tests/test_diferent_settings.py

    r1190 r1205  
    109109    opt_criteria = params['opt'].split(",")
    110110    framsLib = FramsticksLib(
    111         parsed_args.path, parsed_args.lib, parsed_args.sim.split(";"))
     111        parsed_args.path, parsed_args.lib, parsed_args.sim)
    112112    constrains = {"max_numparts": params['max_numparts'],
    113113                  "max_numjoints": params['max_numjoints'],
     
    141141    opt_criteria = params['opt'].split(",")
    142142    framsLib = FramsticksLib(
    143         parsed_args.path, parsed_args.lib, parsed_args.sim.split(";"))
     143        parsed_args.path, parsed_args.lib, parsed_args.sim)
    144144    constrains = {"max_numparts": params['max_numparts'],
    145145                  "max_numjoints": params['max_numjoints'],
  • framspy/evolalg_steps/examples/multicriteria.py

    r1185 r1205  
    168168def create_experiment():
    169169    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)
    171171
    172172    opt_dissim = []
  • framspy/evolalg_steps/examples/niching_novelty.py

    r1185 r1205  
    179179def create_experiment():
    180180    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)
    183182    # Steps for generating first population
    184183    init_stages = [
  • framspy/evolalg_steps/examples/standard.py

    r1185 r1205  
    6666def main():
    6767    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)
    6969
    7070    hall_of_fame = HallOfFameStatistics(parsed_args.hof_size, "fitness")
Note: See TracChangeset for help on using the changeset viewer.