|
||||||||
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 variablespublic class MultiState<T extends Copyable<?>>
Multi-target state implementation. Continuous and discrete parts of states are stored in separate Java-Vectors.
Field Summary | |
---|---|
(package private) java.util.Vector<Jama.Matrix> |
statesCont
vector of the target states (continuous variables) |
(package private) java.util.Vector<T> |
statesDiscr
vector of the target states (discrete variables) |
Fields inherited from class de.unihalle.informatik.MiToBo.tracking.multitarget.datatypes.abstracts.AbstractMultiState |
---|
factory |
Constructor Summary | |
---|---|
MultiState(MultiStateFactory<T> 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 |
Field Detail |
---|
java.util.Vector<Jama.Matrix> statesCont
java.util.Vector<T extends Copyable<?>> statesDiscr
Constructor Detail |
---|
MultiState(MultiStateFactory<T> factory)
Method Detail |
---|
public MultiState<T> copy()
AbstractMultiState
copy
in interface Copyable<AbstractMultiState<T extends Copyable<?>>>
copy
in class AbstractMultiState<T extends Copyable<?>>
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 insertState(Jama.Matrix stateContinuous, T stateDiscrete) throws java.lang.IllegalArgumentException
AbstractMultiState
insertState
in class AbstractMultiState<T extends Copyable<?>>
java.lang.IllegalArgumentException
public void removeState(int idx)
AbstractMultiState
removeState
in class AbstractMultiState<T extends Copyable<?>>
public void setState(int idx, Jama.Matrix stateContinuous, T stateDiscrete) throws java.lang.IllegalArgumentException
AbstractMultiState
setState
in class AbstractMultiState<T extends Copyable<?>>
java.lang.IllegalArgumentException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |