== Package contents == The package charts-generation.tar.gz contains two files: 1) charts.py Script that generates a sequence of charts (including those shown in the paper) as a .tex file. It takes a configuration file as input. 2) charts.config.ini Example configuration file. It follows the .ini format, that is, each argument is written in a line that follows the format: parameter: value == Running the script == To generate the charts run in a command line $ ./charts.py -c charts.config.ini The charts are output as a .tex file whose name must be defined in the input file. The file can be visualized as a PDF with the following command: $ pdflatex [YOURFILE.tex file] (We assume you have a TeX distribution installed in your system): This command will generate a file named YOURFILE.pdf. You can also copy the text of the charts and put it in your own LateX document. == The configuration file == The configuration file accepts the following arguments (Note that I have omitted some as they are obsolete): - data: Relative path to a directory containing the data logs generated by the utility pec.py, responsible of generating the actual experimental data about the performance of PAC and its competitors. These are the files defined by the parameter "experimental-log-location" in the config file used to run pec.py. - charts: The type of chart that we want to generate. To generate multiple charts, add multiple values, one per line. There are 6 possible values: budget-vs-response-time, budget-vs-cached-fragments, query-vs-response-time, number-of-observations-vs-response-time, naive-vs-query-rewriting-response-time, query-vs-budget. The option "query-vs-response-time" is not well supported at the moment (and depends on the argument "optimal-budget-query-vs-response-time"). - output: Path to the output file