|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object FeatureExtractor.Clustering.ClusteringFeatures
public abstract class ClusteringFeatures
Abstract class representing the clustering features.
Constructor Summary | |
---|---|
ClusteringFeatures()
|
Method Summary | |
---|---|
abstract void |
clear()
Clears the features of this object. |
abstract ClusteringFeatures |
clone()
Creates a new ClusteringFeatures object as a copy of this object. |
static ClusteringFeatures |
computeCentroid(java.util.Vector<ClusteringFeatures> v)
Computes the centroid of a vector of ClusteringFeatures . |
abstract ClusteringFeatures |
diff(ClusteringFeatures p)
Subtracts the features of a given object to those of this object. |
abstract ClusteringFeatures |
normalize(double n)
Normalizes the features of this object. |
abstract int |
size()
Returns the number of features for this object. |
abstract ClusteringFeatures |
sum(ClusteringFeatures p)
Adds the features of this object to those of a given object. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClusteringFeatures()
Method Detail |
---|
public static ClusteringFeatures computeCentroid(java.util.Vector<ClusteringFeatures> v)
ClusteringFeatures
.
v
- The vector of ClusteringFeatures
.
ClusteringFeatures
object computed as the centroid of given features.public abstract ClusteringFeatures clone()
ClusteringFeatures
object as a copy of this object.
clone
in class java.lang.Object
ClusteringFeatures
object.public abstract void clear()
public abstract ClusteringFeatures sum(ClusteringFeatures p)
p
- The features to be added.
ClusteringFeatures
object as the sum of the two objects.public abstract ClusteringFeatures diff(ClusteringFeatures p)
p
- The features to be subtracted.
ClusteringFeatures
object as the difference of the two objects.public abstract ClusteringFeatures normalize(double n)
n
- The value used to normalize the features.
ClusteringFeatures
object with normalized features.public abstract int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |