Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LIN Julien
sho
Commits
8023e01e
Commit
8023e01e
authored
Nov 09, 2021
by
Julien Lin
Browse files
choose solver
parent
4989e241
Changes
1
Hide whitespace changes
Inline
Side-by-side
snp.py
View file @
8023e01e
...
...
@@ -76,7 +76,7 @@ def get_args_parser():
"--solver"
,
metavar
=
"NAME"
,
choices
=
solvers
,
default
=
"num_
greed
y"
,
default
=
"num_
evolutionar
y"
,
help
=
"Solver to use, among: "
+
", "
.
join
(
solvers
),
)
...
...
@@ -119,7 +119,7 @@ def get_args_parser():
can
.
add_argument
(
"--nb-population"
,
metavar
=
"NB"
,
default
=
10
,
default
=
10
0
,
type
=
int
,
help
=
"Size of the initial population for evolutionary algorithm."
,
)
...
...
@@ -135,7 +135,7 @@ def get_args_parser():
can
.
add_argument
(
"--nb-offspring"
,
metavar
=
"NB"
,
default
=
10
,
default
=
10
0
,
type
=
int
,
help
=
"Number of offspring for each generation."
,
)
...
...
@@ -143,7 +143,7 @@ def get_args_parser():
can
.
add_argument
(
"--quality-threshold"
,
metavar
=
"DVAL"
,
default
=
6
0
0
,
default
=
6
6
0
,
type
=
float
,
help
=
"Quality threshold. Used to plot the probability of a run being under the quality threshold."
,
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment