comirva.config
Class DataMatrixNormalizeConfig

java.lang.Object
  extended by comirva.config.DataMatrixNormalizeConfig
Direct Known Subclasses:
DataMatrixNormalizeDefaultConfig

public class DataMatrixNormalizeConfig
extends Object

This class represents a configuration for a DataMatrix-Normalization.


Field Summary
static int SCOPE_MATRIX
          SCOPE_MATRIX is used to set the normalization to be performed on the complete matrix.
static int SCOPE_PER_COLUMN
          Comment for SCOPE_PER_COLUMN is used to set the normalization to be performed for each column of the matrix.
static int SCOPE_PER_ROW
          SCOPE_PER_ROW is used to set the normalization to be performed for each row of the matrix.
 
Constructor Summary
DataMatrixNormalizeConfig(double lowerBound, double upperBound, boolean isLinear, int scope)
          Creates a new instance of a DataMatrixNormalize-Configuration.
 
Method Summary
 double getLowerBound()
          Returns the lower bound of the projection range.
 int getScope()
          Returns the normalization scope (complete matrix, normalization for each row, normalization for each column).
 double getUpperBound()
          Returns the upper bound of the projection range.
 boolean isLinear()
          Returns whether the normalization should be performed linearly or logarithmically.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCOPE_MATRIX

public static final int SCOPE_MATRIX
SCOPE_MATRIX is used to set the normalization to be performed on the complete matrix.

See Also:
Constant Field Values

SCOPE_PER_ROW

public static final int SCOPE_PER_ROW
SCOPE_PER_ROW is used to set the normalization to be performed for each row of the matrix.

See Also:
Constant Field Values

SCOPE_PER_COLUMN

public static final int SCOPE_PER_COLUMN
Comment for SCOPE_PER_COLUMN is used to set the normalization to be performed for each column of the matrix.

See Also:
Constant Field Values
Constructor Detail

DataMatrixNormalizeConfig

public DataMatrixNormalizeConfig(double lowerBound,
                                 double upperBound,
                                 boolean isLinear,
                                 int scope)
Creates a new instance of a DataMatrixNormalize-Configuration.

Parameters:
lowerBound - the lower bound of the projection range
upperBound - the upper bound of the projection range
isLinear - indicates whether normalization should be conducted linearly or logarithmically
scope - the scope of the normalization
See Also:
SCOPE_MATRIX, SCOPE_PER_ROW, SCOPE_PER_COLUMN
Method Detail

getLowerBound

public double getLowerBound()
Returns the lower bound of the projection range.

Returns:
the lower bound of the projection range

getUpperBound

public double getUpperBound()
Returns the upper bound of the projection range.

Returns:
the upper bound of the projection range

isLinear

public boolean isLinear()
Returns whether the normalization should be performed linearly or logarithmically.

Returns:
a boolean indicating whether the normalization should be performed linearly or logarithmically

getScope

public int getScope()
Returns the normalization scope (complete matrix, normalization for each row, normalization for each column).

Returns:
the scope of the normalization
See Also:
SCOPE_MATRIX, SCOPE_PER_ROW, SCOPE_PER_COLUMN