de.lmu.ifi.dbs.elki.math.linearalgebra.pca
Class FilteredEigenPairs

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.math.linearalgebra.pca.FilteredEigenPairs

public class FilteredEigenPairs
extends Object

Encapsulates weak and strong eigenpairs that have been filtered out by an eigenpair filter.


Field Summary
private  List<EigenPair> strongEigenPairs
          The strong eigenpairs.
private  List<EigenPair> weakEigenPairs
          The weak eigenpairs.
 
Constructor Summary
FilteredEigenPairs(List<EigenPair> weakEigenPairs, List<EigenPair> strongEigenPairs)
          Creates a new object that encapsulates weak and strong eigenpairs that have been filtered out by an eigenpair filter
 
Method Summary
 int countStrongEigenPairs()
          Counts the strong eigenpairs.
 int countWeakEigenPairs()
          Counts the strong eigenpairs.
 List<EigenPair> getStrongEigenPairs()
          Returns the strong eigenpairs (no copy).
 List<EigenPair> getWeakEigenPairs()
          Returns the weak eigenpairs (no copy).
 String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

weakEigenPairs

private final List<EigenPair> weakEigenPairs
The weak eigenpairs.


strongEigenPairs

private final List<EigenPair> strongEigenPairs
The strong eigenpairs.

Constructor Detail

FilteredEigenPairs

public FilteredEigenPairs(List<EigenPair> weakEigenPairs,
                          List<EigenPair> strongEigenPairs)
Creates a new object that encapsulates weak and strong eigenpairs that have been filtered out by an eigenpair filter

Parameters:
weakEigenPairs - the weak eigenpairs
strongEigenPairs - the strong eigenpairs
Method Detail

getWeakEigenPairs

public List<EigenPair> getWeakEigenPairs()
Returns the weak eigenpairs (no copy).

Returns:
the weak eigenpairs

countWeakEigenPairs

public int countWeakEigenPairs()
Counts the strong eigenpairs.

Returns:
number of strong eigenpairs

getStrongEigenPairs

public List<EigenPair> getStrongEigenPairs()
Returns the strong eigenpairs (no copy).

Returns:
the strong eigenpairs

countStrongEigenPairs

public int countStrongEigenPairs()
Counts the strong eigenpairs.

Returns:
number of strong eigenpairs

toString

public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object
Returns:
a string representation of the object.

Release 0.4.0 (2011-09-20_1324)