Expand description
Command Line Interface for TACO
TACO uses the clap crate to parse command line arguments and create the
CLI interface. This module defines all available commands and options (and
their documentation) as well as some utility functions to apply these
options.
Modulesยง
- output_
formats ๐ - This module contains the logic to output a GeneralThresholdAutomaton into a specific format
Structsยง
- Cli ๐
- TACO toolsuite for threshold automata - Command Line Interface
- Logger
Config ๐ - Spec
File ๐Input - Translation
Output - Visualization
Output
Enumsยง
- BDDManager
Option ๐ - Check
Mode - Commands
- Model
Checker ๐Option - Output
Format - SMTSolver
Default Options - SMT solvers that are supported by default
- Spec
File ๐Format - Symbolic
Model ๐Checker Heuristics
Constantsยง
- DEFAULT_
PREPROCESSORS - Preprocessors that will be used by default
Functionsยง
- create_
coverability_ expression - The coverability specification looks as follows: We want to find a path from an initial configuration to a configuration where the location is covered Thus the specification looks as follows: (expression_initial) => [](to_be_covered_loc = 0) Since the initial configuration is coded into the ta, there is no need for the implication. A counter example to this specification is exactly the path we are looking for
- create_
reachability_ expression - The reachability specification looks as follows: We want to find a path from an initial configuration to a specific configuration Thus the specification looks as follows: (expression_initial) => []((pop_loc_1 = 0) || โฆ || (pop_loc_p = 0) || (unpop_loc_1 > 0) || โฆ || (unpop_loc_u > 0) Since the initial configuration is coded into the ta, there is no need for the implication. A counter example to this specification is exactly the path we are looking for
- display_
result - get_
bdd_ ๐manager_ cfg - Get BDD manager configuration based on selected BDD manager
- get_
preprocessors ๐ - Constructs the preprocessors, either from the configuration file or just uses the default preprocessors specified in DEFAULT_PREPROCESSORS
- get_
smt_ ๐solver - Get SMT solver configuration based on selected solver
- get_
zcs_ ๐model_ checker_ heuristic - Get the symbolic model checker heuristic based on the CLI option
- initialize_
cs_ ๐model_ checker - initialize_
logger ๐ - Initialize the logger as specified in
cfg - initialize_
smt_ ๐model_ checker - initialize_
zcs_ ๐model_ checker - Initialize the symbolic model checker with the given options, threshold automaton and specifications
- model_
check_ ๐ta - parse_
coverability - parse_
initial_ ๐configuration - parse_
input_ ๐file - Parse the input file into a threshold automaton
- parse_
reachability - translate_
ta ๐ - Translate a threshold automaton into the specified format and write the resulting specification to the specified output file
- visualize_
ta ๐ - Visualize the threshold automaton in the given format