Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

FuzzySet.hpp

00001 #ifndef __FuzzySet__
00002 #define __FuzzySet__
00003 
00024 #include <stdio.h>
00025 
00026 
00027 class FuzzySet 
00028 {
00029 private:
00030 
00031 int                     n, nmax;
00032 
00033 double*         x;
00034 double*         p;
00035 
00036 public:
00037 
00038 FuzzySet(int nMax);
00039 virtual ~FuzzySet(){ delete[] x; delete[] p; }
00040 
00041 virtual int numberOfItems(){ return n; }
00042 
00043 virtual void add(double x, double px);
00044 virtual void remove(double x);
00045 
00046 virtual double possibility(double val);
00047 
00048 
00049 virtual void report(FILE* file){}
00050 };
00051 
00052 
00053 #endif
SourceForge.net Logo
Restoreinpaint sourceforge project `C++/Java Image Processing, Restoration, Inpainting Project'.

Bernard De Cuyper: Open Project Leader: Concept, design and development.
Bernard De Cuyper & Eddy Fraiha 2002, 2003. Bernard De Cuyper 2004. Open and free, for friendly usage only.
Modifications on Belgium ground of this piece of artistic work, by governement institutions or companies, must be notified to Bernard De Cuyper.
bern_bdc@hotmail.com