de.unihalle.informatik.MiToBo.tracking.multitarget.datatypes.impl
Class MultiStateFactory<T extends Copyable<?>>
java.lang.Object
de.unihalle.informatik.MiToBo.tracking.multitarget.datatypes.abstracts.AbstractMultiStateFactory<T>
de.unihalle.informatik.MiToBo.tracking.multitarget.datatypes.impl.MultiStateFactory<T>
- Type Parameters:
T
- type of the discrete variables
public class MultiStateFactory<T extends Copyable<?>>
- extends AbstractMultiStateFactory<T>
Multi-target state factory implementation.
- Author:
- Oliver Gress
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiStateFactory
public MultiStateFactory(int continuousDOF)
createEmptyMultiState
public AbstractMultiState<T> createEmptyMultiState()
- Description copied from class:
AbstractMultiStateFactory
- Create an empty multi state object
- Specified by:
createEmptyMultiState
in class AbstractMultiStateFactory<T extends Copyable<?>>
- Returns:
- multi state object with no states
createMultiState
public AbstractMultiState<T> createMultiState(double[][] continuousStateVariables,
T[] discreteStateVariables)
throws java.lang.IllegalArgumentException
- Description copied from class:
AbstractMultiStateFactory
- Create a multi state object initialized by the specified data
- Specified by:
createMultiState
in class AbstractMultiStateFactory<T extends Copyable<?>>
- Parameters:
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
- Returns:
- initialized multi state object
- Throws:
java.lang.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
createMultiState
public AbstractMultiState<T> createMultiState(Jama.Matrix[] continuousStateVariables,
T[] discreteStateVariables)
throws java.lang.IllegalArgumentException
- Description copied from class:
AbstractMultiStateFactory
- Create a multi state object initialized by the specified data
- Specified by:
createMultiState
in class AbstractMultiStateFactory<T extends Copyable<?>>
- Parameters:
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
- Returns:
- initialized multi state object
- Throws:
java.lang.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