edu.usc.bg.generator
Class DistOfAccess

java.lang.Object
  extended by edu.usc.bg.generator.DistOfAccess

public class DistOfAccess
extends java.lang.Object

Generates a zipfian distribution

Author:
barahman

Constructor Summary
DistOfAccess(int numOfItems, java.lang.String distname, boolean bBinary, double ZipfianMean)
           
DistOfAccess(int numOfItems, java.lang.String distname, boolean bBinary, double ZipfianMean, int randomSeed)
           
 
Method Summary
 int GenerateOneItem()
           
static void main(java.lang.String[] args)
           
 void reWriteProbs(edu.usc.bg.generator.Cluster myCluster)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistOfAccess

public DistOfAccess(int numOfItems,
                    java.lang.String distname,
                    boolean bBinary,
                    double ZipfianMean)

DistOfAccess

public DistOfAccess(int numOfItems,
                    java.lang.String distname,
                    boolean bBinary,
                    double ZipfianMean,
                    int randomSeed)
Method Detail

reWriteProbs

public void reWriteProbs(edu.usc.bg.generator.Cluster myCluster)

GenerateOneItem

public int GenerateOneItem()

main

public static void main(java.lang.String[] args)