|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.cluster.neighbor_evaluator.RandomEvaluator
public class RandomEvaluator
Randomly scores Neighbor
s.
NeighborEvaluator
,
Serialized FormConstructor Summary | |
---|---|
RandomEvaluator(Randoms random)
|
Method Summary | |
---|---|
double |
evaluate(Neighbor neighbor)
|
double[] |
evaluate(Neighbor[] neighbors)
|
void |
reset()
Reset the state of the evaluator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomEvaluator(Randoms random)
Method Detail |
---|
public double evaluate(Neighbor neighbor)
evaluate
in interface NeighborEvaluator
neighbor
-
public double[] evaluate(Neighbor[] neighbors)
evaluate
in interface NeighborEvaluator
neighbors
-
public void reset()
reset
in interface NeighborEvaluator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |