Changeset 1149 for framspy/evolalg/examples/standard.py
- Timestamp:
- 09/25/21 01:02:06 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/evolalg/examples/standard.py
r1146 r1149 46 46 parser.add_argument('-genformat', required=False, default="1", 47 47 help='Genetic format for the demo run, for example 4, 9, or B. If not given, f1 is assumed.') 48 parser.add_argument('-sim', required=False, default="eval-allcriteria.sim", help="Name of the .sim file with all parameter values ")48 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 ';'.") 49 49 parser.add_argument("-popsize", type=int, default=50, help="Population size, default 50.") 50 50 parser.add_argument('-generations', type=int, default=5, help="Number of generations, default 5.") … … 66 66 def main(): 67 67 parsed_args = parseArguments() 68 frams_lib = FramsticksLib(parsed_args.path, parsed_args.lib, parsed_args.sim )68 frams_lib = FramsticksLib(parsed_args.path, parsed_args.lib, parsed_args.sim.split(";")) 69 69 70 70 hall_of_fame = HallOfFameStatistics(parsed_args.hof_size, "fitness")
Note: See TracChangeset
for help on using the changeset viewer.