|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.nengo.dynamics.impl.AbstractDynamicalSystem
public abstract class AbstractDynamicalSystem
Base implementation of DynamicalSystem.
| Constructor Summary | |
|---|---|
AbstractDynamicalSystem(float[] state)
|
|
| Method Summary | |
|---|---|
DynamicalSystem |
clone()
|
abstract float[] |
f(float t,
float[] u)
The dynamic equation. |
abstract float[] |
g(float t,
float[] u)
The output equation. |
abstract int |
getInputDimension()
|
abstract int |
getOutputDimension()
|
Units |
getOutputUnits(int outputDimension)
Returns Units.UNK by default. |
float[] |
getState()
|
void |
setState(float[] state)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDynamicalSystem(float[] state)
| Method Detail |
|---|
public abstract float[] f(float t,
float[] u)
DynamicalSystem
f in interface DynamicalSystemt - Timeu - Input vector
DynamicalSystem.f(float, float[])
public abstract float[] g(float t,
float[] u)
DynamicalSystem
g in interface DynamicalSystemt - Timeu - Input vector
DynamicalSystem.g(float, float[])public abstract int getInputDimension()
getInputDimension in interface DynamicalSystemDynamicalSystem.getInputDimension()public abstract int getOutputDimension()
getOutputDimension in interface DynamicalSystemDynamicalSystem.getOutputDimension()public Units getOutputUnits(int outputDimension)
getOutputUnits in interface DynamicalSystemoutputDimension - Numbered from 0
DynamicalSystem.getOutputUnits(int)public float[] getState()
getState in interface DynamicalSystemDynamicalSystem.getState()public void setState(float[] state)
setState in interface DynamicalSystemstate - New state vectorDynamicalSystem.setState(float[])
public DynamicalSystem clone()
throws java.lang.CloneNotSupportedException
clone in interface DynamicalSystemclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionObject.clone()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||