Zip and Skip Tries
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
plot_synthetic.py File Reference

Go to the source code of this file.

Classes

class  plot_synthetic.DataType
 
class  plot_synthetic.FitLine
 

Namespaces

namespace  plot_synthetic
 

Functions

 plot_synthetic.get_dpi (bool savefig)
 
Path plot_synthetic.get_file (str method_name, DataType data_type)
 
int plot_synthetic.binary_search (list[int] x, int key)
 
FitLine|None plot_synthetic.fit_log_line (list[int] x, list[float] y, int skip_until=0, bool all_points=False, list[int] add_next=[])
 
 plot_synthetic.plot (str figure_name, bool save, str ylabel, str xlabel='Num nodes(n)', str legend_loc='best')
 
dict[tuple[int, int, int], tuple[int, int]] plot_synthetic.load_agg_data (str data_structure, DataType data_type)
 
tuple[tuple[int], tuple[float]] plot_synthetic.load_data (str data_structure, DataType data_type, tuple[int, int, int] match)
 
tuple[list[int], list[float]] plot_synthetic.moving_average (list[int] x, list[float] y, float window=1.9)
 
 plot_synthetic.add_data_point_to_plot (str method_name, DataType data_type, tuple[int, int, int] match, int skip_until=0, str fitlabel='', int max_value=-1, float markersize=POINT_SIZE, bool draw_best_fit=True, str label='')
 
 plot_synthetic.compare_construction_data (bool savefig=False)
 
 plot_synthetic.compare_search_data (bool savefig=False)
 

Variables

 plot_synthetic.DATA_DIRECTORY = Path('data-synthetic')
 
 plot_synthetic.HOSTNAME = socket.gethostname()
 
int plot_synthetic.MAX_WORD_LENGTH = 2**22
 
str plot_synthetic.CONSTRUCTION_FILENAME = 'construction-data'
 
str plot_synthetic.REMOVAL_FILENAME = 'removal-data'
 
str plot_synthetic.SEARCH_FILENAME = 'search-data'
 
int plot_synthetic.START_PARALLEL = 1
 
 plot_synthetic.FIGURE_DIRECTORY = Path('figures')
 
 plot_synthetic.parents
 
 plot_synthetic.True
 
 plot_synthetic.exist_ok
 
list plot_synthetic.OKABE_COLORS = ['#000000', '#E69F00', '#56B4E9', '#009E73', '#F0E442', '#0072B2', '#D55E00', '#CC79A7']
 
 plot_synthetic.color
 
int plot_synthetic.POINT_SIZE = 1
 
bool plot_synthetic.savefig = False