Style Intelligence v12.0

inetsoft.graph.guide.form
Class StandardDeviationStrategy

java.lang.Object
  extended by inetsoft.graph.guide.form.TargetStrategy
      extended by inetsoft.graph.guide.form.StandardDeviationStrategy

public class StandardDeviationStrategy
extends TargetStrategy

Calculates Standard Deviations


Field Summary
 
Fields inherited from class inetsoft.graph.guide.form.TargetStrategy
sortedIndices
 
Constructor Summary
StandardDeviationStrategy()
          Convenience constructor.
StandardDeviationStrategy(Collection factors, boolean isSample)
          Build from a collection of Doubles
 
Method Summary
protected  String[] generateDefaultLabels(double[] bandBoundaries, boolean dateTarget)
          Generate labels for boundary lines using the line boundaries.
protected  double[] getRuntimeBoundaries(double[] data)
          Generate the runtime boundary values in original order.
 boolean isSample()
          Get whether this is a sample or population standard deviation
protected  void reorderValues(Integer[] indices)
           
 void setSample(boolean value)
          Set whether this is a sample or population standard deviation
 
Methods inherited from class inetsoft.graph.guide.form.TargetStrategy
calculateBoundaries, generateLabels
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardDeviationStrategy

public StandardDeviationStrategy()
Convenience constructor.


StandardDeviationStrategy

public StandardDeviationStrategy(Collection factors,
                                 boolean isSample)
Build from a collection of Doubles

Method Detail

setSample

public void setSample(boolean value)
Set whether this is a sample or population standard deviation


isSample

public boolean isSample()
Get whether this is a sample or population standard deviation


getRuntimeBoundaries

protected double[] getRuntimeBoundaries(double[] data)
Generate the runtime boundary values in original order.

Specified by:
getRuntimeBoundaries in class TargetStrategy
Returns:

reorderValues

protected void reorderValues(Integer[] indices)
Specified by:
reorderValues in class TargetStrategy

generateDefaultLabels

protected String[] generateDefaultLabels(double[] bandBoundaries,
                                         boolean dateTarget)
Generate labels for boundary lines using the line boundaries.

Specified by:
generateDefaultLabels in class TargetStrategy

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.