MCPcopy Create free account
hub / github.com/aff3ct/aff3ct / get_description

Method get_description

src/Factory/Simulation/Simulation.cpp:33–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void
34Simulation ::get_description(cli::Argument_map_info& args) const
35{
36 Launcher::get_description(args);
37
38 noise->get_description(args);
39
40 auto p = this->get_prefix();
41 const std::string class_name = "factory::Simulation::";
42
43 tools::add_arg(args, p, class_name + "p+meta", cli::Text());
44
45 tools::add_arg(args, p, class_name + "p+stop-time", cli::Integer(cli::Positive()), cli::arg_rank::ADV);
46
47 tools::add_arg(args, p, class_name + "p+max-fra,n", cli::Integer(cli::Positive()), cli::arg_rank::ADV);
48
49 tools::add_arg(args, p, class_name + "p+crit-nostop", cli::None(), cli::arg_rank::ADV);
50
51 tools::add_arg(args, p, class_name + "p+dbg", cli::None());
52
53 tools::add_arg(args, p, class_name + "p+dbg-hex", cli::None());
54
55 tools::add_arg(args, p, class_name + "p+dbg-prec", cli::Integer(cli::Positive()));
56
57 tools::add_arg(args, p, class_name + "p+dbg-limit,d", cli::Integer(cli::Positive(), cli::Non_zero()));
58
59 tools::add_arg(args, p, class_name + "p+dbg-fra", cli::Integer(cli::Positive(), cli::Non_zero()));
60
61 tools::add_arg(args, p, class_name + "p+stats", cli::None());
62
63 tools::add_arg(args, p, class_name + "p+threads,t", cli::Integer(cli::Positive()));
64
65 tools::add_arg(args, p, class_name + "p+seed,S", cli::Integer(cli::Positive()));
66
67 tools::add_arg(args, p, class_name + "p+inter-fra,F", cli::Integer(cli::Positive(), cli::Non_zero()));
68}
69
70void
71Simulation ::store(const cli::Argument_map_value& vals)

Callers

nothing calls this directly

Calls 1

get_prefixMethod · 0.80

Tested by

no test coverage detected