|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.placelab.client.tracker.CompoundEstimate
CompoundEstimates are produced by CompoundTracker objects.
They contain all the Estimate objects produced by the Trackers
contained in the CompoundTracker.
| Constructor Summary | |
CompoundEstimate(Estimate e)
Typically, only the CompoundTracker will create CompoundEstimates |
|
| Method Summary | |
void |
addEstimate(Estimate e)
The CompoundTracker uses this to add Estimates. |
void |
construct(long timestamp,
Coordinate position,
java.lang.String stdDevString)
|
Coordinate |
getCoord()
Throws UnsupportedOperationException because CompoundEstimates don't have a position. |
java.util.Vector |
getEstimates()
Get all the Estimate objects in this CompoundEstimate. |
java.lang.String |
getStdDevAsString()
Throws UnsupportedOperationException because CompoundEstimates don't have a position. |
int |
getStdDevInMeters()
Throws UnsupportedOperationException because CompoundEstimates don't have a position. |
long |
getTimestamp()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CompoundEstimate(Estimate e)
| Method Detail |
public void addEstimate(Estimate e)
public java.util.Vector getEstimates()
Estimate objects in this CompoundEstimate.
The Estimates are returned in the order corresponding to the order
in which the Trackers were added to the CompoundTracker. So,
for instance, if you put a CentroidTracker and then a PositionTracker
in the CompoundTracker, the CompoundEstimates produced would be
a BeaconMeasurement and a PositionMeasurement, in that order.
public Coordinate getCoord()
getEstimates() and call getPosition on
each Estimate returned.
getCoord in interface Estimatepublic java.lang.String getStdDevAsString()
getEstimates() and call getStdDevAsString
on each Estimate returned.
getStdDevAsString in interface Estimatepublic int getStdDevInMeters()
getEstimates() and call getStdDevInMeters
on each Estimate returned.
getStdDevInMeters in interface Estimatepublic long getTimestamp()
getTimestamp in interface Estimate
public void construct(long timestamp,
Coordinate position,
java.lang.String stdDevString)
construct in interface Estimate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||