MATH-1589: Remove spurious "throws" clause.
This commit is contained in:
parent
e18ac1b03b
commit
f862efe4c6
|
@ -53,8 +53,7 @@ public abstract class Clusterer<T extends Clusterable> {
|
|||
* @throws ConvergenceException if the algorithm has not yet converged after
|
||||
* the maximum number of iterations has been exceeded
|
||||
*/
|
||||
public abstract List<? extends Cluster<T>> cluster(Collection<T> points)
|
||||
throws MathIllegalArgumentException, ConvergenceException;
|
||||
public abstract List<? extends Cluster<T>> cluster(Collection<T> points);
|
||||
|
||||
/**
|
||||
* Returns the {@link DistanceMeasure} instance used by this clusterer.
|
||||
|
@ -76,5 +75,4 @@ public abstract class Clusterer<T extends Clusterable> {
|
|||
protected double distance(final Clusterable p1, final Clusterable p2) {
|
||||
return measure.compute(p1.getPoint(), p2.getPoint());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue