edu.usc.bg.generator
Class Fragmentation

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

public class Fragmentation
extends java.lang.Object

Generates the clusters for the various BG client so the clients will not overlap These clusters are generated using the dzipfian approach

Author:
barahman

Constructor Summary
Fragmentation(int usercount, int numBGClients, int machineid, java.lang.String probs, double ZipfianMean)
           
 
Method Summary
 edu.usc.bg.generator.Cluster[] getClusters()
           
 int getMemberIdForIdx(int idx)
           
 DistOfAccess getMyDist()
           
 int[] getMyMembers()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fragmentation

public Fragmentation(int usercount,
                     int numBGClients,
                     int machineid,
                     java.lang.String probs,
                     double ZipfianMean)
Method Detail

getClusters

public edu.usc.bg.generator.Cluster[] getClusters()

getMyMembers

public int[] getMyMembers()

getMyDist

public DistOfAccess getMyDist()

getMemberIdForIdx

public int getMemberIdForIdx(int idx)

main

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