OKlibrary  0.2.1.6
ComputeScores.cpp File Reference

Outputs the sorted scores for all solvers from competition data (given as a file). With the optional parameter syntax=... (currently it doesn't matter, but it must be non-empty) the extended syntax is used, and with the optional parameter series=... (currently it doesn't matter, but it must be non-empty) the series purse is computed without performing case distinctions. More...

#include <string>
#include <iterator>
#include <algorithm>
#include <iostream>
#include <cstring>
#include <cassert>
#include <OKlib/Experimentation/Competition/ParsingSingleResult.hpp>
#include <OKlib/Experimentation/Competition/Scoring.hpp>

Go to the source code of this file.

Functions

int main (const int argc, const char *const argv[])

Detailed Description

Outputs the sorted scores for all solvers from competition data (given as a file). With the optional parameter syntax=... (currently it doesn't matter, but it must be non-empty) the extended syntax is used, and with the optional parameter series=... (currently it doesn't matter, but it must be non-empty) the series purse is computed without performing case distinctions.

Todo:

The output should also contain date and time of the computation; and information about the program which produced the output (we need a general convention of how to make information about the compilation available to the program, so that via "--version" we obtain as much information as possible).

The output should contain a legend.

See ComputeLexicographicalEvaluation.cpp for common functionality.

Using the new module ProgramOptions (together with Messages).

Perhaps the structure Scoring_from_file (in this file) should be generalised (it can be shared at least with ComputeAnalysis.cpp); and also the option handling could be shared.

Definition in file ComputeScores.cpp.


Function Documentation

int main ( const int  argc,
const char *const  argv[] 
)

Definition at line 98 of file ComputeScores.cpp.