#include <Power.h>
Inheritance diagram for PowerFeature:

Public Member Functions | |
| virtual double | getPosition () const |
| virtual double | getDistance (Feature *f) const |
| virtual void | moveTowards (Feature *f, double factor) |
| virtual string | serialize () const |
| virtual void | unserialize (string value) |
| virtual Feature * | clone () const |
| virtual void | aggregate (aggregatelist samples) |
| virtual FeatureType | getType () const |
| virtual const string | getName () const |
| virtual string | toString () const |
Protected Member Functions | |
| PowerFeature () | |
| PowerFeature (bool plugged) | |
Friends | |
| class | PowerFeatureProvider |
|
|
Feature constructor This constructor initializes the feature with a random value and should thus only be used for creating e.g. prototypes of points in a clustering space. For creating a specific sample of a feature, the second constructor should be used. |
|
|
Sample constructor This constructor initializes the feature with a specific value and should thus be used for samples. |
|
|
Aggregate a sample values from other sources
Implements Feature. |
|
|
Clone a feature A feature must be able to clone itself. This is typically implemented with a copy constructor, but should return a new object. Implements Feature. |
|
|
Calculates the distance between two features
Implements Feature. |
|
|
Query a features name
Implements Feature. |
|
|
Query a features position
Implements Feature. |
|
|
Query a features type
Implements Feature. |
|
||||||||||||
|
Implements Feature. |
|
|
Serialize a samples data to a string
Implements Feature. |
|
|
This is only for testing. Implements Feature. |
|
|
Unserialize a samples data from a string
Implements Feature. |
1.4.6