public class KmeansEvaluator extends RecursiveObjectEvaluator implements TwoValueWorker
| Modifier and Type | Class and Description |
|---|---|
static class |
KmeansEvaluator.ClusterPoint |
static class |
KmeansEvaluator.ClusterTuple |
| Modifier and Type | Field and Description |
|---|---|
protected static long |
serialVersionUID |
constructingFactory, containedEvaluators, nodeId, streamContext| Constructor and Description |
|---|
KmeansEvaluator(StreamExpression expression,
StreamFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
doWork(Object value1,
Object value2) |
evaluate, getStreamContext, normalizeInputType, normalizeOutputType, recursivelyEvaluate, setStreamContext, toExplanation, toExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoWorkevaluateOverContextprotected static final long serialVersionUID
public KmeansEvaluator(StreamExpression expression, StreamFactory factory) throws IOException
IOExceptionpublic Object doWork(Object value1, Object value2) throws IOException
doWork in interface TwoValueWorkerIOExceptionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.