T - discrete part of a target's statepublic abstract class AbstractMultiState<T extends Copyable<?>> extends Object implements Copyable<AbstractMultiState<T>>
| Modifier and Type | Field and Description |
|---|---|
protected AbstractMultiStateFactory<T> |
factory
factory that holds information how a target's state is composed
|
| Constructor and Description |
|---|
AbstractMultiState(AbstractMultiStateFactory<T> factory)
Constructor that assigns a factory
|
| Modifier and Type | Method and Description |
|---|---|
abstract AbstractMultiState<T> |
copy()
Copy this multi-state
|
int |
getContinuousDOF()
Get continuous dimensions of target state in continuous
|
AbstractMultiStateFactory<T> |
getFactory()
Get associated factory
|
abstract int |
getNumberOfStates()
Get number of states
|
abstract Jama.Matrix |
getStateContinuous(int idx)
Get the continuous part of the idx-th state (indices start from 0)
|
abstract T |
getStateDiscrete(int idx)
Get the discrete part of the idx-th state (indices start from 0)
|
abstract void |
insertState(Jama.Matrix stateContinuous,
T stateDiscrete)
Insert an additional state
|
abstract void |
removeState(int idx)
Remove the idx-th state (indices start from 0)
|
abstract void |
setState(int idx,
Jama.Matrix stateContinuous,
T stateDiscrete)
Set the idx-th state (indices start from 0)
|
protected AbstractMultiStateFactory<T extends Copyable<?>> factory
public AbstractMultiState(AbstractMultiStateFactory<T> factory)
public int getContinuousDOF()
public AbstractMultiStateFactory<T> getFactory()
public abstract int getNumberOfStates()
public abstract Jama.Matrix getStateContinuous(int idx)
public abstract T getStateDiscrete(int idx)
public abstract void insertState(Jama.Matrix stateContinuous,
T stateDiscrete)
throws IllegalArgumentException
IllegalArgumentExceptionpublic abstract void setState(int idx,
Jama.Matrix stateContinuous,
T stateDiscrete)
throws IllegalArgumentException
IllegalArgumentExceptionpublic abstract void removeState(int idx)
public abstract AbstractMultiState<T> copy()
copy in interface Copyable<AbstractMultiState<T extends Copyable<?>>>Copyright © 2010–2025 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.