|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Document.Windsurf.WindsurfBand
public class WindsurfBand
Class representing a Windsurf band
Constructor Summary | |
---|---|
WindsurfBand(ClusteringFeatures c,
double[][] m)
Creates a new band given a centroid and a covariance matrix. |
|
WindsurfBand(java.lang.String[] data)
Creates a band from an array of strings. |
Method Summary | |
---|---|
static int |
centroidSize()
Returns the size of each centroid. |
java.lang.String |
centroidToString()
Returns a string representation of the centroid of this band. |
java.lang.String |
covMatrixToString()
Returns a string representation of the covariance matrix of this band. |
static int |
covSize()
Returns the size of each covariance matrix. |
double |
distance(WindsurfBand b)
Method for computing the distance to another band. |
WindsurfClusteringFeatures |
getCentroid()
Returns the centroid of this band (as a ClusteringFeatures). |
double[] |
getCentroidArray()
Returns the centroid of this band (as an array of values). |
static int |
getChannels()
Returns the number of channels for each band. |
double[][] |
getCovMatrix()
Returns the covariance matrix of this band (as a matrix of values). |
double[] |
getCovMatrixArray()
Returns the covariance matrix of this band (as an array of values). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WindsurfBand(ClusteringFeatures c, double[][] m)
c
- The centroid.m
- The covariance matrix.public WindsurfBand(java.lang.String[] data)
data
- Array of strings containing features.Method Detail |
---|
public WindsurfClusteringFeatures getCentroid()
public static int getChannels()
public double[] getCentroidArray()
public double[][] getCovMatrix()
public double[] getCovMatrixArray()
public java.lang.String covMatrixToString()
public java.lang.String centroidToString()
public double distance(WindsurfBand b)
b
- Band to be compared.
public static int centroidSize()
public static int covSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |