|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tapestry.repairmonitor.GnutellaPDF
Specifies a CDF and a PDF (kind of) for a Gnutella trace
Constructor Summary | |
---|---|
GnutellaPDF()
|
Method Summary | |
---|---|
double |
getCDFEntry(int n)
return the nth entry of the cumulative distribution function |
int |
getCDFIncrement()
ASSUMPTION: assume this is only called once every cycle |
int |
getCDFSize()
Returns the size of the cumulative distribution function |
boolean |
isNextStart()
Is the next event a startup? |
void |
populate(String filename,
int numNodes)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GnutellaPDF()
Method Detail |
public void populate(String filename, int numNodes)
public double getCDFEntry(int n)
CDF
getCDFEntry
in interface CDF
public int getCDFSize()
CDF
getCDFSize
in interface CDF
public int getCDFIncrement()
getCDFIncrement
in interface CDF
public boolean isNextStart()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |