Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.normalization
Class DummyNormalization<O extends DatabaseObject>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
          extended by de.lmu.ifi.dbs.elki.normalization.DummyNormalization<O>
Type Parameters:
O - object type
All Implemented Interfaces:
Normalization<O>, Parameterizable

public class DummyNormalization<O extends DatabaseObject>
extends AbstractParameterizable
implements Normalization<O>

Dummy normalization that does nothing. This class is used at normalization of multi-represented objects if one representation needs no normalization.

Author:
Elke Achtert

Field Summary
 
Fields inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
optionHandler
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug, logger
 
Constructor Summary
DummyNormalization()
           
 
Method Summary
 List<O> normalize(List<O> featureVectors)
          Performs a normalization on a set of feature vectors.
 List<Pair<O,Associations>> normalizeObjects(List<Pair<O,Associations>> objectAndAssociationsList)
          Performs a normalization on a list of database objects and their associations.
 List<O> restore(List<O> featureVectors)
          Transforms a set of feature vectores to the original attribute ranges.
 O restore(O featureVector)
          Transforms a feature vector to the original attribute ranges.
 String shortDescription()
          Returns a short description of the class.
 String toString()
          Returns a string representation of this object.
 String toString(String pre)
          Returns a string representation of this normalization.
 LinearEquationSystem transform(LinearEquationSystem linearEquationSystem)
          Transforms a linear equation system describing linear dependencies derived on the normalized space into a linear equation system describing linear dependencies quantitatively adapted to the original space.
 
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
addOption, addParameterizable, addParameterizable, checkGlobalParameterConstraints, collectOptions, getAttributeSettings, getParameters, rememberParametersExcept, removeOption, removeParameterizable, setParameters
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable
checkGlobalParameterConstraints, collectOptions, getParameters, setParameters
 

Constructor Detail

DummyNormalization

public DummyNormalization()
Method Detail

normalizeObjects

public List<Pair<O,Associations>> normalizeObjects(List<Pair<O,Associations>> objectAndAssociationsList)
Description copied from interface: Normalization
Performs a normalization on a list of database objects and their associations.

Specified by:
normalizeObjects in interface Normalization<O extends DatabaseObject>
Parameters:
objectAndAssociationsList - the list of database objects and their associations
Returns:
the specified objectAndAssociationsList

normalize

public List<O> normalize(List<O> featureVectors)
Description copied from interface: Normalization
Performs a normalization on a set of feature vectors.

Specified by:
normalize in interface Normalization<O extends DatabaseObject>
Parameters:
featureVectors - a set of feature vectors to be normalized
Returns:
the specified featureVectors

restore

public List<O> restore(List<O> featureVectors)
Description copied from interface: Normalization
Transforms a set of feature vectores to the original attribute ranges.

Specified by:
restore in interface Normalization<O extends DatabaseObject>
Parameters:
featureVectors - a set of feature vectors to be transformed into original space
Returns:
the specified featureVectors

restore

public O restore(O featureVector)
Description copied from interface: Normalization
Transforms a feature vector to the original attribute ranges.

Specified by:
restore in interface Normalization<O extends DatabaseObject>
Parameters:
featureVector - a feature vector to be transformed into original space
Returns:
the specified featureVector

transform

public LinearEquationSystem transform(LinearEquationSystem linearEquationSystem)
Description copied from interface: Normalization
Transforms a linear equation system describing linear dependencies derived on the normalized space into a linear equation system describing linear dependencies quantitatively adapted to the original space.

Specified by:
transform in interface Normalization<O extends DatabaseObject>
Parameters:
linearEquationSystem - the linear equation system to be transformed
Returns:
the specified linear equation system

toString

public String toString(String pre)
Description copied from interface: Normalization
Returns a string representation of this normalization. The specified prefix pre will be the prefix of each new line. This method is used to write the parameters of a normalization to a result of an algorithm using this normalization.

Specified by:
toString in interface Normalization<O extends DatabaseObject>
Parameters:
pre - the prefix of each new line
Returns:
a string representation of this normalization

shortDescription

public String shortDescription()
Description copied from class: AbstractParameterizable
Returns a short description of the class.

Specified by:
shortDescription in interface Parameterizable
Overrides:
shortDescription in class AbstractParameterizable
Returns:
Description of the class

toString

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

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

Release 0.2 (2009-07-06_1820)