|
||||||||||
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>
de.unihalle.informatik.MiToBo.tracking.multitarget.datatypes.impl.MultiState<T>
T
- type of the discrete variables@ALDMetaInfo(export=ALLOWED) public class MultiState<T extends Copyable<?>>
Multi-target state implementation. Continuous and discrete parts of states are stored in separate Java-Vectors.
Field Summary |
---|
Fields inherited from class de.unihalle.informatik.MiToBo.tracking.multitarget.datatypes.abstracts.AbstractMultiState |
---|
factory |
Method Summary | |
---|---|
MultiState<T> |
copy()
Copy this multi-state |
int |
getNumberOfStates()
Get number of states |
Jama.Matrix |
getStateContinuous(int idx)
Get the continuous part of the idx-th state (indices start from 0) |
T |
getStateDiscrete(int idx)
Get the discrete part of the idx-th state (indices start from 0) |
void |
insertState(Jama.Matrix stateContinuous,
T stateDiscrete)
Insert an additional state |
void |
removeState(int idx)
Remove the idx-th state (indices start from 0) |
void |
setState(int idx,
Jama.Matrix stateContinuous,
T stateDiscrete)
Set the idx-th state (indices start from 0) |
Methods inherited from class de.unihalle.informatik.MiToBo.tracking.multitarget.datatypes.abstracts.AbstractMultiState |
---|
getContinuousDOF, getFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getNumberOfStates()
AbstractMultiState
getNumberOfStates
in class AbstractMultiState<T extends Copyable<?>>
public Jama.Matrix getStateContinuous(int idx)
AbstractMultiState
getStateContinuous
in class AbstractMultiState<T extends Copyable<?>>
public T getStateDiscrete(int idx)
AbstractMultiState
getStateDiscrete
in class AbstractMultiState<T extends Copyable<?>>
public void removeState(int idx)
AbstractMultiState
removeState
in class AbstractMultiState<T extends Copyable<?>>
public void insertState(Jama.Matrix stateContinuous, T stateDiscrete) throws IllegalArgumentException
AbstractMultiState
insertState
in class AbstractMultiState<T extends Copyable<?>>
IllegalArgumentException
public void setState(int idx, Jama.Matrix stateContinuous, T stateDiscrete) throws IllegalArgumentException
AbstractMultiState
setState
in class AbstractMultiState<T extends Copyable<?>>
IllegalArgumentException
public MultiState<T> copy()
AbstractMultiState
copy
in interface Copyable<AbstractMultiState<T extends Copyable<?>>>
copy
in class AbstractMultiState<T extends Copyable<?>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |