|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.peermanager.Calculator
Provide a means of quantifying a profiles fitness in some particular aspect, as well as to coordinate via statics the four known aspects.
Constructor Summary | |
Calculator()
|
Method Summary | |
double |
calc(PeerProfile profile)
Evaluate the profile according to the current metric |
boolean |
calcBoolean(PeerProfile profile)
Evaluate the profile according to the current metric |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Calculator()
Method Detail |
public double calc(PeerProfile profile)
public boolean calcBoolean(PeerProfile profile)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |