AURobotServers
4
|
#include <ufuzzyelement.h>
Public Member Functions | |
virtual bool | addCovariance (int clust, double m, UMatrix *mF, UMatrix *mV, double *membSum) |
virtual bool | addPosition (int clust, double m, UMatrix *mAvg, double *membSum) |
virtual int | getClass (int clustCnt) |
virtual int | getMaxClusterCnt () |
virtual double | getMembValue (int clust) |
virtual double | getMembValueChange (int clustCnt) |
virtual int | getVectorSize () |
virtual void | print (const char *prestring, int clustCnt) |
virtual void | seedRandom (int clustCnt) |
virtual bool | setDistance (int clust, UMatrix *mAi, UMatrix *mV) |
virtual void | setMembValue (double value, int clust) |
UFuzzyElement () | |
virtual void | updateMembValue (double m, int clstCnt) |
virtual | ~UFuzzyElement () |
An element in a fuzzy classifier
UFuzzyElement::UFuzzyElement | ( | ) |
Constructor
|
virtual |
Destructor
|
virtual |
Add the squared distance from this cluster center weighted with the membership value, and add membership value to 'membSum'. weight and membership value must be raised to power m.
Reimplemented in UFuzzyPixel.
Referenced by UFuzzySplit::classifyOld().
|
virtual |
Add Position vector to this vector, veightet with the membership value to power m. Add the membership value (to power m) to membSum. Returns false if an error is detected.
Reimplemented in UFuzzyPixel.
Referenced by UFuzzySplit::classifyOld().
|
virtual |
get class for this element
Reimplemented in UFuzzyPixel.
Referenced by UFuzzySplit::updateElement().
|
virtual |
Get maximum number of clusters this element type can be split into
Reimplemented in UFuzzyPixel.
Referenced by UFuzzySplit::classify().
|
virtual |
Get membership value of cluster 'cluster'
Reimplemented in UFuzzyPixel.
|
virtual |
Get membership change value from last iteration
Reimplemented in UFuzzyPixel.
Referenced by UFuzzySplit::classify(), and UFuzzySplit::classifyOld().
|
virtual |
Get vector size of element position
Reimplemented in UFuzzyPixel.
Referenced by UFuzzySplit::classify(), and UFuzzySplit::initFromValues().
|
virtual |
|
virtual |
Seet the element with random membership values
Reimplemented in UFuzzyPixel.
Set distance to cluster 'cluster'. Returns false if parameter errors were found.
Reimplemented in UFuzzyPixel.
Referenced by UFuzzySplit::classify(), UFuzzySplit::classifyOld(), and UFuzzySplit::updateElement().
|
virtual |
Set membership value for a cluster
Reimplemented in UFuzzyPixel.
Referenced by UFuzzySplit::initFromValues().
|
virtual |
Update participation value based on distance to cluset and this weight exponent value (e.g. 1.3), must be > 1.0. Returns false if there is calculation errors.
Reimplemented in UFuzzyPixel.
Referenced by UFuzzySplit::classify(), UFuzzySplit::classifyOld(), and UFuzzySplit::updateElement().