|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.gui.boundaryvisualizer.RemoteResult
Class that encapsulates a result (and progress info) for part of a distributed boundary visualization. The result of a sub-task is the probabilities necessary to display one row of the final visualization.
Serializable
,
Serialized FormField Summary | |
private int |
m_percentCompleted
|
private double[][] |
m_probabilities
|
private int |
m_rowLength
|
private int |
m_rowNumber
|
Constructor Summary | |
RemoteResult(int rowNum,
int rowLength)
Creates a new RemoteResult instance. |
Method Summary | |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int m_rowNumber
private int m_rowLength
private double[][] m_probabilities
private int m_percentCompleted
Constructor Detail |
public RemoteResult(int rowNum, int rowLength)
RemoteResult
instance.
rowNum
- the row numberrowLength
- the number of pixels in the rowMethod Detail |
public 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()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |