edu.berkeley.cs.db.yfilterplus.dtdscanner
Class Zipf

java.lang.Object
  |
  +--edu.berkeley.cs.db.yfilterplus.dtdscanner.Zipf

public class Zipf
extends java.lang.Object


Constructor Summary
Zipf(int size, double theta)
           
 
Method Summary
 double[] getProbs()
           
 int getSize()
           
 int probe()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Zipf

public Zipf(int size,
            double theta)
Method Detail

getSize

public int getSize()

getProbs

public double[] getProbs()

probe

public int probe()