T - type of the discrete state variablespublic abstract class AbstractMultiStateFactory<T extends Copyable<?>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
cDOF
degrees of freedom of the continuous variables of a single state
|
| Constructor and Description |
|---|
AbstractMultiStateFactory(int continuousDOF)
Constructor with specification of the variables of a single state
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected int cDOF
public AbstractMultiStateFactory(int continuousDOF)
continuousDOF - number of continuous state variablesdiscreteDOF - number of discrete state variablespublic 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 stateIllegalArgumentException - 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 stateIllegalArgumentException - thrown if the outer dimension of the two arrays does not match or if the size of the single state arrays have invalid sizeCopyright © 2010–2025 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.