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

Go to the source code of this file.

Classes

class  plot_genetic.DataType
 
class  plot_genetic.FitLine
 

Namespaces

namespace  plot_genetic
 

Functions

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

Variables

 plot_genetic.HOSTNAME = socket.gethostname()
 
 plot_genetic.DATA_DIRECTORY = Path('data-genetic')
 
str plot_genetic.CONSTRUCTION_FILENAME = 'construction-data'
 
str plot_genetic.REMOVAL_FILENAME = 'removal-data'
 
str plot_genetic.SEARCH_FILENAME = 'search-data'
 
 plot_genetic.FIGURE_DIRECTORY = Path('figures')
 
 plot_genetic.exist_ok
 
list plot_genetic.OKABE_COLORS = ['#000000', '#E69F00', '#56B4E9', '#009E73', '#F0E442', '#0072B2', '#D55E00', '#CC79A7']
 
 plot_genetic.color
 
float plot_genetic.POINT_SIZE = 0.1
 
bool plot_genetic.savefig = False