public class RemoteResult
extends java.lang.Object
implements java.io.Serializable
Serializable
,
Serialized FormConstructor and Description |
---|
RemoteResult(int rowNum,
int rowLength)
Creates a new
RemoteResult instance. |
Modifier and Type | Method and Description |
---|---|
int |
getPercentCompleted()
Return the progress for this row
|
double[][] |
getProbabilities()
Return the probability distributions for this row in the visualization
|
void |
setLocationProbs(int index,
double[] distribution)
Store the classifier's distribution for a particular pixel in the
visualization
|
void |
setPercentCompleted(int pc)
Set the progress for this row so far
|
public RemoteResult(int rowNum, int rowLength)
RemoteResult
instance.rowNum
- the row numberrowLength
- the number of pixels in the rowpublic void setLocationProbs(int index, double[] distribution)
index
- the pixeldistribution
- the probability distribution from the classifierpublic double[][] getProbabilities()
public void setPercentCompleted(int pc)
pc
- a percent completed valuepublic int getPercentCompleted()