/* * Copyright (C) 1999, 2000, 2001, 2002 * Heikki Tauriainen * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef STATDISPLAY_H #define STATDISPLAY_H #ifdef __GNUC__ #pragma interface #endif /* __GNUC__ */ #include #include #include #include "Alloc.h" #include "Configuration.h" #include "TestStatistics.h" using namespace std; extern Configuration configuration; /****************************************************************************** * * Functions for displaying test statistics. * *****************************************************************************/ namespace StatDisplay { void printBuchiAutomatonStats /* Displays information */ (ostream& stream, /* about a Büchi */ int indent, /* automaton. */ vector::size_type algorithm, int result_id); void printProductAutomatonStats /* Displays information */ (ostream& stream, /* about a product */ int indent, /* automaton. */ vector::size_type algorithm, int result_id); void printAcceptanceCycleStats /* Displays information */ (ostream& stream, /* about the acceptance */ int indent, /* cycles of a product */ vector::size_type algorithm, int result_id); void printConsistencyCheckStats /* Displays the result */ (ostream& stream, /* of the consistency */ int indent, /* check for a given */ vector::size_type algorithm); void printCrossComparisonStats /* Displays information */ (ostream& stream, /* about the model */ int indent, /* checking result */ vector::size_type /* check. */ algorithm); void printBuchiIntersectionCheckStats /* Displays the results */ (ostream& stream, int indent, /* of the Büchi automata */ vector::size_type /* emptiness checks. */ algorithm); void printAllStats /* A shorthand for */ (ostream& stream, /* showing all the */ int indent, /* information displayed */ vector::size_type /* functions. */ algorithm); void printCollectiveCrossComparisonStats /* Displays a single */ (ostream& stream, /* `cell' of the final */ vector::size_type /* comparison table. */ algorithm_y, vector::size_type algorithm_x, int data_type); void printCollectiveStats /* Displays average test */ (ostream& stream, int indent); /* data over all the * test rounds * performed so far. */ } #endif /* !STATDISPLAY_H */