|
||||||||||
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.AbstractMultiStateFactory<T>
T
- type of the discrete state variables@ALDMetaInfo(export=ALLOWED) public abstract class AbstractMultiStateFactory<T extends Copyable<?>>
Factory class for creating new multi state objects
Field Summary | |
---|---|
protected int |
cDOF
degrees of freedom of the continuous variables of a single state |
Constructor Summary | |
---|---|
AbstractMultiStateFactory(int continuousDOF)
Constructor with specification of the variables of a single state |
Method Summary | |
---|---|
abstract AbstractMultiState<T> |
createEmptyMultiState()
Create an empty multi state object |
abstract AbstractMultiState<T> |
createMultiState(double[][] continuousStateVariables,
T[] discreteStateVariables)
Create a multi state object initialized by the specified data |
abstract AbstractMultiState<T> |
createMultiState(Jama.Matrix[] continuousStateVariables,
T[] discreteStateVariables)
Create a multi state object initialized by the specified data |
int |
getContinuousDOF()
Get number of continuous state variables |
boolean |
validMultiState(AbstractMultiState<T> multistate)
Test if the specified multistate is valid for this factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int cDOF
Constructor Detail |
---|
public AbstractMultiStateFactory(int continuousDOF)
continuousDOF
- number of continuous state variablesdiscreteDOF
- number of discrete state variablesMethod Detail |
---|
public int getContinuousDOF()
public boolean validMultiState(AbstractMultiState<T> multistate)
multistate
-
public abstract AbstractMultiState<T> createEmptyMultiState()
public abstract AbstractMultiState<T> createMultiState(double[][] continuousStateVariables, T[] discreteStateVariables) throws IllegalArgumentException
continuousStateVariables
- array of double arrays specifying the continuous variable values of each single statediscreteStateVariables
- array of type T specifying the discrete variable values of each single state
IllegalArgumentException
- thrown if the outer dimension of the two arrays does not match or if the size of the single state arrays have invalid sizepublic abstract AbstractMultiState<T> createMultiState(Jama.Matrix[] continuousStateVariables, T[] discreteStateVariables) throws IllegalArgumentException
continuousStateVariables
- array of Matrix objects specifying the continuous variable values of each single statediscreteStateVariables
- array of type T specifying the discrete variable values of each single state
IllegalArgumentException
- thrown if the outer dimension of the two arrays does not match or if the size of the single state arrays have invalid size
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |