#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <tracer.hpp>
Include dependency graph for tracerreport.cpp:
Go to the source code of this file.
Classes | |
class | bounds_opt_rlt_values |
class | GlobalReportInstanceData |
class | GlobalReport |
Defines | |
#define | TIE_PERC 5.0 |
#define | MAX_ENTRIES 50 |
#define | MAX_INSTANCES 1000 |
#define | SEPARATORS "| \t" |
#define | BOUNDOPTRLTVALUES_DOUBLE_FIELDS 3 |
#define | INVALID_ENTRY -999999999 |
#define | A_BETTER 1 |
#define | B_BETTER 2 |
#define | AB_TIE 3 |
#define | A_UNC 4 |
#define | B_UNC 5 |
#define | AB_UNC 6 |
Enumerations | |
enum | BoundOptRltValuesEntries { BOUNDOPT_BOUND = 0, BOUNDOPT_OPT = 1, BOUNDOPT_RLT = 2 } |
Functions | |
int | compare (double a, double b) |
int | compareImpr (double a, double b) |
int | compare_strict (double a, double b) |
double | computeImprovement (double rlt, double opt, double sdp, double bound) |
int | main (int argc, const char **argv) |
#define TIE_PERC 5.0 |
#define MAX_ENTRIES 50 |
Definition at line 20 of file tracerreport.cpp.
Referenced by GlobalReportInstanceData::GlobalReportInstanceData().
#define MAX_INSTANCES 1000 |
Definition at line 21 of file tracerreport.cpp.
#define SEPARATORS "| \t" |
#define BOUNDOPTRLTVALUES_DOUBLE_FIELDS 3 |
Definition at line 24 of file tracerreport.cpp.
Referenced by bounds_opt_rlt_values::bounds_opt_rlt_values(), and bounds_opt_rlt_values::readBoundsOptValuesFile().
#define INVALID_ENTRY -999999999 |
Definition at line 26 of file tracerreport.cpp.
#define A_BETTER 1 |
Definition at line 426 of file tracerreport.cpp.
Referenced by compare(), compare_strict(), compareImpr(), and main().
#define B_BETTER 2 |
Definition at line 427 of file tracerreport.cpp.
Referenced by compare(), compare_strict(), compareImpr(), and main().
#define AB_TIE 3 |
Definition at line 428 of file tracerreport.cpp.
Referenced by compare(), compare_strict(), compareImpr(), and main().
#define A_UNC 4 |
Definition at line 429 of file tracerreport.cpp.
Referenced by compare(), compare_strict(), compareImpr(), and main().
#define B_UNC 5 |
Definition at line 430 of file tracerreport.cpp.
Referenced by compare(), compare_strict(), compareImpr(), and main().
#define AB_UNC 6 |
Definition at line 431 of file tracerreport.cpp.
Referenced by compare(), compare_strict(), compareImpr(), and main().
Definition at line 28 of file tracerreport.cpp.
int compare | ( | double | a, | |
double | b | |||
) |
Definition at line 432 of file tracerreport.cpp.
References A_BETTER, A_UNC, AB_TIE, AB_UNC, B_BETTER, B_UNC, TIE_PERC, and TRACER_INVALID_ENTRY.
Referenced by Bonmin::Bab::branchAndBound(), Couenne::exprQuad::compare(), Couenne::compareExpr(), main(), and Couenne::compExpr::operator()().
int compareImpr | ( | double | a, | |
double | b | |||
) |
int compare_strict | ( | double | a, | |
double | b | |||
) |
Definition at line 462 of file tracerreport.cpp.
References A_BETTER, A_UNC, AB_TIE, AB_UNC, B_BETTER, B_UNC, and TRACER_INVALID_ENTRY.
double computeImprovement | ( | double | rlt, | |
double | opt, | |||
double | sdp, | |||
double | bound | |||
) |
int main | ( | int | argc, | |
const char ** | argv | |||
) |
Definition at line 492 of file tracerreport.cpp.
References A_BETTER, A_UNC, AB_TIE, AB_UNC, Stat::addEntry(), B_BETTER, B_UNC, GlobalReport::boundAtIter_entries, GlobalReport::boundAtTime_entries, GlobalReport::boundInterpAtTime_entries, BOUNDOPT_BOUND, BOUNDOPT_OPT, BOUNDOPT_RLT, compare(), compareImpr(), computeImprovement(), bounds_opt_rlt_values::findInstanceIdx(), GlobalReport::findInstanceIdx(), GlobalReportInstanceData::getBoundAtIter_bound(), GlobalReport::getBoundAtIter_entries(), GlobalReport::getBoundAtIter_iterheader(), GlobalReportInstanceData::getBoundAtTime_bound(), GlobalReport::getBoundAtTime_entries(), GlobalReport::getBoundAtTime_timeheader(), GlobalReportInstanceData::getBoundInterpAtTime_bound(), GlobalReport::getBoundInterpAtTime_entries(), GlobalReport::getBoundInterpAtTime_timeheader(), bounds_opt_rlt_values::getDoubleField(), GlobalReportInstanceData::getInstanceName(), GlobalReport::getInstances(), GlobalReport::getNumInstances(), GlobalReport::getVersion(), INVALID_ENTRY, Stat::max(), Stat::mean(), Stat::min(), Stat::stdDev(), TIE_PERC, and TRACER_INVALID_ENTRY.