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

CNFSetTriangle Class Reference

CNFSetTriangle realizes a triangle shaped membership function. More...

#include <FSetTriangle.h>

Inheritance diagram for CNFSetTriangle::

CNFSetTrapez CNFSetLR CNFSet CNNamed CNObject CNCL CNFNumTriangle List of all members.

Public Methods

virtual double get_membership (double x) const
 Returns the membership value for x.

double get_mean () const
 Returns the mean value m1==m2 (maximum).

 CNFSetTriangle ()
 Default constructor.

 CNFSetTriangle (CNParam *param)
 Initializes FSetTriangle with CNParam.

 CNFSetTriangle (double min, double max, double xm, double xalpha, double xbeta)
 CNFSetTriangle (double xm, double xalpha, double xbeta)
 Initializes the CNFSetTriangle.

 CNFSetTriangle (CNStringR xname, double min, double max, double xm, double xalpha, double xbeta)
 Initializes the CNFSetTriangle.

 CNFSetTriangle (CNStringR xname, double xm, double xalpha, double xbeta)
 Initializes the CNFSetTriangle.

void init (CNStringR xname, double xm, double xalpha, double xbeta, double min=FSET_MIN, double max=FSET_MAX)
 Initializes the CNFSetTriangle.

virtual CNClassDesc class_desc () const
 Returns the class description (pointer to instance of CNClass) for runtime type information.

virtual bool is_a (CNClassDesc desc) const
 Checks Type.

virtual void print (ostream &strm=cout) const
 Print output.

virtual void dump (ostream &strm=cout) const
 Debug output.


Static Public Methods

CNFSetTriangle * cast_from_object (CNObject *obj)
 Safes type Cast.

CNObjectnew_object (CNParam *param=NIL)
 Creates new Object.


Detailed Description

CNFSetTriangle realizes a triangle shaped membership function.


Constructor & Destructor Documentation

CNFSetTriangle::CNFSetTriangle double    min,
double    max,
double    xm,
double    xalpha,
double    xbeta
 

Parameters:
xm  FIXME: Undocumented


The documentation for this class was generated from the following file:
Generated on Fri Feb 1 19:55:28 2002 for CNCL by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001