com.rapidminer.operator.features.transformation
Class WeightVector

java.lang.Object
  extended by com.rapidminer.operator.features.transformation.WeightVector
All Implemented Interfaces:
ComponentVector, java.io.Serializable, java.lang.Comparable<ComponentVector>

public class WeightVector
extends java.lang.Object
implements ComponentVector

This class holds information about one eigenvector and eigenvalue.

Author:
Ingo Mierswa
See Also:
Serialized Form

Constructor Summary
WeightVector(double[] weights, double eigenvalue)
           
 
Method Summary
 int compareTo(ComponentVector o)
           
 boolean equals(java.lang.Object o)
           
 double getEigenvalue()
           
 double[] getVector()
           
 double[] getWeights()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeightVector

public WeightVector(double[] weights,
                    double eigenvalue)
Method Detail

getWeights

public double[] getWeights()

getEigenvalue

public double getEigenvalue()
Specified by:
getEigenvalue in interface ComponentVector

getVector

public double[] getVector()
Specified by:
getVector in interface ComponentVector

compareTo

public int compareTo(ComponentVector o)
Specified by:
compareTo in interface java.lang.Comparable<ComponentVector>

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2001-2009 by Rapid-I