|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.MiToBo.tracking.multitarget.datatypes.abstracts.AbstractMultiState<T>
T
- discrete part of a target's state@ALDMetaInfo(export=ALLOWED) public abstract class AbstractMultiState<T extends Copyable<?>>
Abstract class to hold the states of multiple targets. A target's state is comprised of a continuous part, i.e. a column vector represented by a JAMA matrix, as well as a discrete part, which e.g. can hold target ID and further information.
Field Summary | |
---|---|
protected AbstractMultiStateFactory<T> |
factory
factory that holds information how a target's state is composed |
Constructor Summary | |
---|---|
AbstractMultiState(AbstractMultiStateFactory<T> factory)
Constructor that assigns a factory |
Method Summary | |
---|---|
abstract AbstractMultiState<T> |
copy()
Copy this multi-state |
int |
getContinuousDOF()
Get continuous dimensions of target state in continuous |
AbstractMultiStateFactory<T> |
getFactory()
Get associated factory |
abstract int |
getNumberOfStates()
Get number of states |
abstract Jama.Matrix |
getStateContinuous(int idx)
Get the continuous part of the idx-th state (indices start from 0) |
abstract T |
getStateDiscrete(int idx)
Get the discrete part of the idx-th state (indices start from 0) |
abstract void |
insertState(Jama.Matrix stateContinuous,
T stateDiscrete)
Insert an additional state |
abstract void |
removeState(int idx)
Remove the idx-th state (indices start from 0) |
abstract void |
setState(int idx,
Jama.Matrix stateContinuous,
T stateDiscrete)
Set the idx-th state (indices start from 0) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AbstractMultiStateFactory<T extends Copyable<?>> factory
Constructor Detail |
---|
public AbstractMultiState(AbstractMultiStateFactory<T> factory)
Method Detail |
---|
public int getContinuousDOF()
public AbstractMultiStateFactory<T> getFactory()
public abstract int getNumberOfStates()
public abstract Jama.Matrix getStateContinuous(int idx)
public abstract T getStateDiscrete(int idx)
public abstract void insertState(Jama.Matrix stateContinuous, T stateDiscrete) throws IllegalArgumentException
IllegalArgumentException
public abstract void setState(int idx, Jama.Matrix stateContinuous, T stateDiscrete) throws IllegalArgumentException
IllegalArgumentException
public abstract void removeState(int idx)
public abstract AbstractMultiState<T> copy()
copy
in interface Copyable<AbstractMultiState<T extends Copyable<?>>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |