|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uwcse.location.core.LocationReport
|
+--uwcse.location.core.StateLocationReport
|
+--uwcse.location.core.MeanLocationReport
A mean location report contains the mean State and standard deviation of for an object.
| Constructor Summary | |
MeanLocationReport()
Create a mean location report whith a null mean and standard deviation. |
|
MeanLocationReport(MeanLocationReport report)
Create a location report as a copy of the given one. |
|
MeanLocationReport(State mean,
State standardDeviation)
Create a mean location report using the given mean and standard deviation. |
|
MeanLocationReport(Tracker tracker,
State mean,
State standardDeviation)
Create a mean location report using the given tracker, mean, and standard deviation. |
|
| Method Summary | |
State |
getMean()
Get the mean location. |
State |
getMostLikelyState()
The mostlikely state of this report is just the mean state so this method simply returns the mean value. |
State |
getStandardDeviation()
Get the standard deviation indicating the error in location. |
String |
toString()
Return a string representation of this location report. |
| Methods inherited from class uwcse.location.core.StateLocationReport |
getState |
| Methods inherited from class uwcse.location.core.LocationReport |
getLastMeasurement, getTimestamp |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MeanLocationReport()
public MeanLocationReport(State mean,
State standardDeviation)
public MeanLocationReport(Tracker tracker,
State mean,
State standardDeviation)
public MeanLocationReport(MeanLocationReport report)
| Method Detail |
public State getMostLikelyState()
getMostLikelyState in class StateLocationReportgetMean()public State getMean()
public State getStandardDeviation()
public String toString()
toString in class LocationReport
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||