ostore.tapestry.patchwork
Interface CDF

All Known Implementing Classes:
DiskPDF, AllOnesPDF, AllZerosPDF, QuickUniformPDF

public interface CDF

Version:
$Id: CDF.java,v 1.3 2002/11/27 01:45:17 hweather Exp $
Author:
Jeremy Stribling

Method Summary
 double getCDFEntry(int n)
          return the nth entry of the cumulative distribution function
 int getCDFIncrement()
          Returns the number of milliseconds that need to pass in a node's life before using the next cdf entry
 int getCDFSize()
          Returns the size of the cumulative distribution function
 

Method Detail

getCDFEntry

public double getCDFEntry(int n)
return the nth entry of the cumulative distribution function

getCDFSize

public int getCDFSize()
Returns the size of the cumulative distribution function

getCDFIncrement

public int getCDFIncrement()
Returns the number of milliseconds that need to pass in a node's life before using the next cdf entry