pisgah
Interface PfPlotable

All Known Implementing Classes:
BinomialGraphData, HypergeometricGraphData, NegativeBinomialGraphData, PoissonGraphData

public interface PfPlotable

Interface for Probability Function plots


Method Summary
 int[] getBinLabels()
          Gets the integer labels for the bins
 int getHighX()
          Gets the upper bound (inclusive) for the viewport.
 int getHighXInterval()
          Gets the lower bound (inclusive) for the probability interval
 int getLowX()
          Gets the lower bound (inclusive) for the viewport.
 int getLowXInterval()
          Gets the lower bound (inclusive) for the probability interval
 float getMaxProbability()
          Gets the maximum probability for scaling
 float[] getProbability()
          Gets the probability of each value
 java.lang.String getTitleString()
           
 

Method Detail

getBinLabels

public int[] getBinLabels()
Gets the integer labels for the bins

Returns:
The integer labels

getProbability

public float[] getProbability()
Gets the probability of each value

Returns:
The array of bin probabilities

getMaxProbability

public float getMaxProbability()
Gets the maximum probability for scaling

Returns:
The maximum probability

getLowX

public int getLowX()
Gets the lower bound (inclusive) for the viewport.

Returns:
The lower bound.

getHighX

public int getHighX()
Gets the upper bound (inclusive) for the viewport.

Returns:
The upper bound.

getLowXInterval

public int getLowXInterval()
Gets the lower bound (inclusive) for the probability interval

Returns:
The lower bound x1

getHighXInterval

public int getHighXInterval()
Gets the lower bound (inclusive) for the probability interval

Returns:
The upper bound x2

getTitleString

public java.lang.String getTitleString()