module documentation

Routines for the generation of TeX tables.

Function cite Returns the citation key associated to the algorithm name.
Function get_table_caption Sets table caption.
Function get_top_indices_of_columns For each column, returns a list of the maxRank-ranked elements.
Function main Generate one table per func with results of multiple algorithms.
Variable allmedtarget Undocumented
Variable allmintarget Undocumented
Variable maxfloatrepr Undocumented
Variable precfloat Undocumented
Variable precscien Undocumented
Variable sform_subsup_tex Undocumented
Variable show_number_of_better_runs_threshold Undocumented
Variable significance_vs_others_symbol Undocumented
Variable significance_vs_others_symbol_html Undocumented
Variable significance_vs_ref_symbol Undocumented
Variable significance_vs_ref_symbol_html Undocumented
Variable table_column_width Undocumented
Variable table_first_column_width Undocumented
Variable with_table_heading Undocumented
def cite(alg_name, is_noise_free, is_noisy):

Returns the citation key associated to the algorithm name.

Hard coded while no other solution is found.

def get_table_caption():

Sets table caption.

To make changes effective in html too, execute:

python scripts/preparehtml.py
cp scripts/latex_commands_for_html.html src/cocopp/latex_commands_for_html.html

Captions are based on the testbedsettings.current_testbed and genericsettings.runlength_based_targets.

def get_top_indices_of_columns(table, max_rank=None):

For each column, returns a list of the maxRank-ranked elements.

This list may have a length larger than maxRank in the case of ties.

def main(dict_alg, sorted_algs, output_dir='.', function_targets_line=True, latex_commands_file=''):

Generate one table per func with results of multiple algorithms.

allmedtarget: dict =

Undocumented

Value
{}
allmintarget: dict =

Undocumented

Value
{}
maxfloatrepr: float =

Undocumented

Value
10000.0
precfloat: int =

Undocumented

Value
2
precscien: int =

Undocumented

Value
2
sform_subsup_tex: str =

Undocumented

Value
'$_{{\\,{}\\,\\,}}^{{\\,{}}}$'
show_number_of_better_runs_threshold: float =

Undocumented

Value
0.9
significance_vs_others_symbol: str =

Undocumented

Value
'\\star'
significance_vs_others_symbol_html: str =

Undocumented

Value
'★'
significance_vs_ref_symbol: str =

Undocumented

Value
'\\uparrow'
significance_vs_ref_symbol_html: str =

Undocumented

Value
'↑'
table_column_width: int =

Undocumented

Value
100
table_first_column_width: int =

Undocumented

Value
250
with_table_heading: bool =

Undocumented

Value
False