avocado_varianter_cit package¶
Module contents¶
-
class
avocado_varianter_cit.Cit(parameters, order)¶ Bases:
object-
MATRIX_ROW_SIZE= 20¶
-
MAX_ITERATIONS= 15¶
-
combine()¶ Computes the combination of parameters
Returns: headers (list of parameters keys) and combinations (list of dictionaries. Each dictionary represents a combination of parameters. Return type: tuple
-
create_final_list()¶
-
create_interaction_hash_table()¶
-
create_random_matrix()¶
-
get_iteration(parameter_combination)¶
-
get_weight(test_case, remove_list)¶
-
neighborhood_search(test_case, width, max_width, remove_list)¶
-
remove_from_hash_table(remove_list)¶
-
-
class
avocado_varianter_cit.VarianterCit¶ Bases:
avocado.core.plugin_interfaces.VarianterProcesses the parameters file into variants
-
description= 'CIT Varianter'¶
-
static
error_exit(args)¶
-
initialize(args)¶
-
name= 'cit'¶
-
to_str(summary, variants, **kwargs)¶ Return human readable representation
The summary/variants accepts verbosity where 0 means silent and maximum is up to the plugin.
Parameters: - summary – How verbose summary to output (int)
- variants – How verbose list of variants to output (int)
- kwargs – Other free-form arguments
Return type:
-
update_defaults(defaults)¶ Add default values
Note: Those values should not be part of the variant_id
-
-
class
avocado_varianter_cit.VarianterCitCLI¶ Bases:
avocado.core.plugin_interfaces.CLICIT Varianter options
-
configure(parser)¶ Configures the command line parser with options specific to this plugin
-
description= "CIT Varianter options for the 'run' subcommand"¶
-
name= 'cit'¶
-
run(args)¶ Execute any action the plugin intends.
Example of action may include activating a special features upon finding that the requested command line options were set by the user.
Note: this plugin class is not intended for adding new commands, for that please use CLICmd.
-