Statistician

- Added a method to find average content lookup route length
This commit is contained in:
Joshua Kissoon 2014-05-07 09:46:48 +05:30
parent b90a87b149
commit 67f6a0fe07

View File

@ -115,4 +115,9 @@ public class Statistician
{
return this.totalContentLookupTime / this.numContentLookups;
}
public double averageContentLookupRouteLength()
{
return (double) ((double) this.totalRouteLength / (double) this.numContentLookups);
}
}