Javadoc.
This commit is contained in:
parent
aef8f5272d
commit
c13179ef73
|
@ -19,6 +19,9 @@ package org.apache.commons.math4.ml.clustering;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Defines a measure of the quality of clusters.
|
||||||
|
*/
|
||||||
public interface ClusterEvaluator {
|
public interface ClusterEvaluator {
|
||||||
/**
|
/**
|
||||||
* @param cList List of clusters.
|
* @param cList List of clusters.
|
||||||
|
@ -27,6 +30,8 @@ public interface ClusterEvaluator {
|
||||||
double score(List<? extends Cluster<? extends Clusterable>> cList);
|
double score(List<? extends Cluster<? extends Clusterable>> cList);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Provides a means to interpret the {@link #score(List) score value}.
|
||||||
|
*
|
||||||
* @param a Score computed by this evaluator.
|
* @param a Score computed by this evaluator.
|
||||||
* @param b Score computed by this evaluator.
|
* @param b Score computed by this evaluator.
|
||||||
* @return {@code true} if the evaluator considers that score
|
* @return {@code true} if the evaluator considers that score
|
||||||
|
|
Loading…
Reference in New Issue