|
@@ -41,6 +41,10 @@ parser_evolve.add_argument('--turmit-count', '-T', type=int, metavar='N',
|
41
|
41
|
parser_evolve.add_argument('--pool-size', '-p', type=int, metavar='N',
|
42
|
42
|
default=10)
|
43
|
43
|
|
|
44
|
+parser_evolve.add_argument('--pool-div', '-D', type=int, metavar='N',
|
|
45
|
+ default=5,
|
|
46
|
+ help='Each generation keep 1/N of the pool')
|
|
47
|
+
|
44
|
48
|
parser_evolve.add_argument('--prog-size', type=int, metavar='SIZE',
|
45
|
49
|
default=5)
|
46
|
50
|
|
|
@@ -59,9 +63,6 @@ parser_evolve.add_argument('--log-progs', '-L', type=str, metavar='FILENAME',
|
59
|
63
|
parser_evolve.add_argument('--quiet', '-q', action='store_const',
|
60
|
64
|
default=False, const=True)
|
61
|
65
|
|
62
|
|
-parser_evolve.add_argument('--pool-div', '-D', type=int, metavar='N',
|
63
|
|
- default=2, help='Each generation keep 1/N of the pool')
|
64
|
|
-
|
65
|
66
|
parser_gen = subparsers.add_parser('generate', help='evolving help')
|
66
|
67
|
|
67
|
68
|
parser_gen.add_argument('--prog', '-P', type=str, default=None)
|