jas.hist.normalization
Class MaxBinNormalizer

java.lang.Object
  |
  +--java.util.Observable
        |
        +--jas.hist.normalization.SimpleNormalizer
              |
              +--jas.hist.normalization.DataSourceNormalizer
                    |
                    +--jas.hist.normalization.MaxBinNormalizer
All Implemented Interfaces:
Normalizer, java.util.Observer

public class MaxBinNormalizer
extends DataSourceNormalizer

Calculates a normalization factor based on the bin with the largest value.


Fields inherited from class jas.hist.normalization.DataSourceNormalizer
source
 
Constructor Summary
MaxBinNormalizer(DataSource data)
          Creates new MaxBinNormalizer
 
Method Summary
protected  double calculateNormalization()
          Calculates the normalization factor.
 
Methods inherited from class jas.hist.normalization.DataSourceNormalizer
getNormalizationFactor, init, update
 
Methods inherited from class jas.hist.normalization.SimpleNormalizer
normalizationChanged, setFactor
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxBinNormalizer

public MaxBinNormalizer(DataSource data)
Creates new MaxBinNormalizer
Parameters:
data - The data source
Method Detail

calculateNormalization

protected double calculateNormalization()
Description copied from class: DataSourceNormalizer
Calculates the normalization factor.
Overrides:
calculateNormalization in class DataSourceNormalizer
Following copied from class: jas.hist.normalization.DataSourceNormalizer
Returns:
The normalization factor.