public class KMeansTsetJob.CenterSource extends BaseSourceFunc<double[][]>
Modifier | Constructor and Description |
---|---|
protected |
CenterSource(java.lang.String filetype) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Weather we have more data
|
double[][] |
next()
Get the next value
|
void |
prepare(TSetContext context)
Prepare the function.
|
getInput, getTSetContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public void prepare(TSetContext context)
TFunction
prepare
in interface TFunction<double[][],double[][]>
prepare
in class BaseTFunction<double[][],double[][]>
context
- CONTEXTpublic boolean hasNext()
SourceFunc
public double[][] next()
SourceFunc