Package com.macrofocus.molap.subset
Class FixedSigmaDistributionStrategy<Row,Column,Value>
- java.lang.Object
-
- com.macrofocus.molap.subset.FixedSigmaDistributionStrategy<Row,Column,Value>
-
- All Implemented Interfaces:
DistributionDimension.DistributionStrategy<Value,java.lang.Integer>
public class FixedSigmaDistributionStrategy<Row,Column,Value> extends java.lang.Object implements DistributionDimension.DistributionStrategy<Value,java.lang.Integer>
Created by luc on 01/07/16.
-
-
Constructor Summary
Constructors Constructor Description FixedSigmaDistributionStrategy(int numberOfBins, double minValue, double mean, double stdDev, double maxValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getBinEndValue(java.lang.Integer bin)
double
getBinStartValue(java.lang.Integer bin)
double
getMaxValue()
double
getMinValue()
java.lang.Integer
getSigmaLevel(double v)
boolean
isBinnable(Value value)
java.lang.Integer
valueToBin(Value value)
-
-
-
Method Detail
-
getBinStartValue
public double getBinStartValue(java.lang.Integer bin)
- Specified by:
getBinStartValue
in interfaceDistributionDimension.DistributionStrategy<Row,Column>
-
getBinEndValue
public double getBinEndValue(java.lang.Integer bin)
- Specified by:
getBinEndValue
in interfaceDistributionDimension.DistributionStrategy<Row,Column>
-
getMinValue
public double getMinValue()
- Specified by:
getMinValue
in interfaceDistributionDimension.DistributionStrategy<Row,Column>
-
getMaxValue
public double getMaxValue()
- Specified by:
getMaxValue
in interfaceDistributionDimension.DistributionStrategy<Row,Column>
-
isBinnable
public boolean isBinnable(Value value)
- Specified by:
isBinnable
in interfaceDistributionDimension.DistributionStrategy<Row,Column>
-
valueToBin
public java.lang.Integer valueToBin(Value value)
- Specified by:
valueToBin
in interfaceDistributionDimension.DistributionStrategy<Row,Column>
-
getSigmaLevel
public java.lang.Integer getSigmaLevel(double v)
-
-