public static class MRUtils.ClassDist extends MRTask<MRUtils.ClassDist>
DTask.DKeyTask<T extends DTask.DKeyTask,V extends Keyed>, DTask.RemoveCall| Modifier and Type | Field and Description |
|---|---|
protected double[] |
_ys |
_appendables, _fr, _fs, _hi, _keys, _left, _lo, _nhi, _nleft, _nlo, _nrite, _rite, _run_local, _topLocal_ex, _modifiesInputs| Constructor and Description |
|---|
MRUtils.ClassDist(int n) |
MRUtils.ClassDist(Vec label) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
dist() |
void |
map(Chunk ys)
Override with your map implementation.
|
void |
map(Chunk ys,
Chunk ws)
Override with your map implementation.
|
void |
reduce(MRUtils.ClassDist that)
Override to combine results from 'mrt' into 'this' MRTask.
|
double[] |
rel_dist() |
appendables, asyncExec, asyncExec, asyncExec, asyncExec, asyncExecOnAllNodes, block, closeLocal, compute2, dfork, dfork, dfork, dfork, dinvoke, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAllNodes, getResult, isReleasable, map, map, map, map, map, map, map, map, map, map, map, onCompletion, onExceptionalCompletion, outputFrame, outputFrame, outputFrame, postGlobal, postLocal, priority, profString, self, setProfile, setupLocalcopyOver, getDException, hasException, logVerbose, onAck, onAckAck, setExceptionclone, compute, frozenType, icer, nextThrPriority, read_impl, read, readJSON_impl, readJSON, write_impl, write, writeJSON_impl, writeJSONaddToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryCompleteadapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnforkpublic MRUtils.ClassDist(Vec label)
public MRUtils.ClassDist(int n)
public final double[] dist()
public final double[] rel_dist()
public void map(Chunk ys)
MRTaskmap in class MRTask<MRUtils.ClassDist>public void map(Chunk ys, Chunk ws)
MRTaskmap in class MRTask<MRUtils.ClassDist>public void reduce(MRUtils.ClassDist that)
MRTaskreduce in class MRTask<MRUtils.ClassDist>