Changeset 1149 for framspy/evolalg/examples/niching_novelty.py
- Timestamp:
- 09/25/21 01:02:06 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/evolalg/examples/niching_novelty.py
r1146 r1149 63 63 parser.add_argument('-genformat', required=False, default="1", 64 64 help='Genetic format for the demo run, for example 4, 9, or B. If not given, f1 is assumed.') 65 parser.add_argument('-sim', required=False, default="eval-allcriteria.sim", help="Name of the .sim file with all parameter values ")65 parser.add_argument('-sim', required=False, default="eval-allcriteria.sim", help="Name of the .sim file with all parameter values. If you want to provide more files, separate them with a semicolon ';'.") 66 66 parser.add_argument('-fit', required=False, default=Fitness.raw, type=Fitness, 67 67 help=' Fitness criteria, default: raw', choices=list(Fitness)) … … 166 166 parsed_args = parseArguments() 167 167 frams_lib = FramsticksLib(parsed_args.path, parsed_args.lib, 168 parsed_args.sim )168 parsed_args.sim.split(";")) 169 169 # Steps for generating first population 170 170 init_stages = [ … … 332 332 if parsed_args.checkpoint_path is not None and os.path.exists(parsed_args.checkpoint_path): 333 333 experiment = load_experiment(parsed_args.checkpoint_path) 334 FramsticksLib(parsed_args.path, parsed_args.lib,335 parsed_args.sim)336 334 else: 337 335 experiment = create_experiment() 338 336 experiment.init() # init is mandatory 339 340 337 341 338 experiment.run(parsed_args.generations)
Note: See TracChangeset
for help on using the changeset viewer.