|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uwcse.location.core.Measurement
|
+--uwcse.location.core.TrueStateMeasurement
The TrueStateMeasurement class is used to represent a ground truth measurement for evaluation purposes.
| Nested Class Summary |
| Nested classes inherited from class uwcse.location.core.Measurement |
Measurement.TimestampComparator |
| Field Summary | |
protected State |
m_state
|
| Fields inherited from class uwcse.location.core.Measurement |
m_objectName, m_sensorName, m_timestamp |
| Constructor Summary | |
TrueStateMeasurement()
Create a map measurement at default point (0,0,0). |
|
TrueStateMeasurement(String objectName,
String sensorName,
State state)
Creates a map measurement. |
|
TrueStateMeasurement(TrueStateMeasurement tsm)
Creates a map measurement as a copy of the given one. |
|
| Method Summary | |
Object |
clone()
Create a deep copy of this TrueStateMeasurement. |
boolean |
equals(Object o)
Test this object for semantic equality with another TrueStateMeasurement. |
State |
getState()
Get the truth state represented by this measurement. |
void |
setState(State state)
Set the true state represented by this measurement. |
String |
toString()
Return a string representation of this TrueStateMeasurement. |
| Methods inherited from class uwcse.location.core.Measurement |
getObjectName, getSensorName, getTimestamp, hashCode, setObjectName, setSensorName, setTimestamp |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected State m_state
| Constructor Detail |
public TrueStateMeasurement()
public TrueStateMeasurement(TrueStateMeasurement tsm)
public TrueStateMeasurement(String objectName,
String sensorName,
State state)
| Method Detail |
public boolean equals(Object o)
equals in class Measurementpublic Object clone()
clone in class Measurementpublic String toString()
toString in class Measurementpublic State getState()
public void setState(State state)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||