|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weka.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 FormConstructor 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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London