00001 /*============================================================================= 00002 * Product : OpenPL 00003 * File : plProbTable.h (before plHistogram.h) 00004 * Author : Kamel Mekhnacha 00005 * Creation : Tue Oct 23 10:50:44 2001 00006 * 00007 * 00008 * Modification 1 : Mon Mar 25 19:20:01 CET 2002 00009 * Author : Olivier Aycard 00010 * Add a boolean parameter 'normalized' (true by default) to permit non 00011 * normalized table 00012 *============================================================================= 00013 * (c) Copyright 2000, Centre National de la Recherche Scientifique, 00014 * all rights reserved 00015 *============================================================================= 00016 * 00017 *------------------------- Description --------------------------------------- 00018 * 00019 * 00020 *----------------------------------------------------------------------------- 00021 */ 00022 00023 00024 #ifndef _plProbTable_h_ 00025 #define _plProbTable_h_ 00026 00027 00028 #include <plDKernel.h> 00029 00030 /***************************************************************************** 00031 * External Classes 00032 *****************************************************************************/ 00033 00034 /***************************************************************************** 00035 * Classes Definitions 00036 *****************************************************************************/ 00037 00038 00041 class plProbTable :public plDKernel 00042 { 00043 00044 public: 00045 00054 plProbTable(const plVariablesConjunction& V, bool normalized = true); 00055 00084 plProbTable(const plVariablesConjunction& V, const plProbValue *values, bool normalized = true); 00085 00089 plProbTable(const plVariablesConjunction& V, const vector <plProbValue> &values, bool normalized = true); 00090 00091 00092 virtual ~plProbTable(){}; 00093 00094 00095 plProbTable(const plVariablesConjunction& V, const list<plDataValues> & values, bool normalized = true); 00096 00097 }; 00098 00099 00100 #endif