org.placelab.particlefilter.beacon
Class CentroidMotionModel
java.lang.Object
org.placelab.particlefilter.beacon.CentroidMotionModel
- All Implemented Interfaces:
- MotionModel
- public class CentroidMotionModel
- extends java.lang.Object
- implements MotionModel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
curCent
public static TwoDCoordinate curCent
curCnt
public static int curCnt
totAPObs
public static long totAPObs
totCnt
public static long totCnt
window
public static int[] window
windIdx
public static int windIdx
ratio
public static double ratio
winAvg
public static double winAvg
CentroidMotionModel
public CentroidMotionModel()
move
public void move(Particle p,
long elapsedMillis)
- Specified by:
move in interface MotionModel
setNewCentroid
public static void setNewCentroid(TwoDCoordinate coordinate,
int cnt)
- Parameters:
coordinate - cnt -