Skip to content
Snippets Groups Projects
Commit aca7bf3a authored by Hans-Peter Deifel's avatar Hans-Peter Deifel
Browse files

wta: Add out-degree parameter to 'run' command

This just multiplies `--out-degree` with `--states` to compute the transitions
parameter and thus makes it easier to execute the `run` command with the same
parameters as `bisect`
parent af9fb2e7
No related branches found
No related tags found
No related merge requests found
......@@ -171,6 +171,8 @@ def print_row(d, header, stddev):
def run(args):
check_zerotrans(args)
if args.out_degree:
args.edge_spec = ("transitions", str(int(args.out_degree)*int(args.states)))
results = [run_one(args, i) for i in range(0, samples)]
......@@ -277,6 +279,7 @@ def main():
run_parser.add_argument('--symbols', required=True)
run_parser.add_argument('--zero-frequency')
run_parser.add_argument('--transitions')
run_parser.add_argument('--out-degree')
run_parser.add_argument('--different-values')
run_parser.add_argument(
'--stddev', action='store_true', help="report stddev for timings")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment