|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.event.EventProducer
nl.tudelft.simulation.jstats.ode.DifferentialEquation
nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation
public abstract class DifferentialEquation
The Differential equation provides a reference implementation of the differential equation.
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Field Summary | |
---|---|
protected double |
previousX
the previousX |
protected double[] |
previousY
the previousY |
protected DESSSimulatorInterface |
simulator
simulator |
Fields inherited from class nl.tudelft.simulation.jstats.ode.DifferentialEquation |
---|
timeStep, x0, y0 |
Fields inherited from class nl.tudelft.simulation.event.EventProducer |
---|
listeners |
Fields inherited from interface nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquationInterface |
---|
FUNCTION_CHANGED_EVENT, VALUE_CHANGED_EVENT |
Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
---|
FIRST_POSITION, LAST_POSITION |
Constructor Summary | |
---|---|
DifferentialEquation(DESSSimulatorInterface simulator)
constructs a new stateful DifferentialEquation with Euleras numerical integration method. |
|
DifferentialEquation(DESSSimulatorInterface simulator,
double timeStep)
constructs a new stateful DifferentialEquation with Euleras numerical integration method. |
|
DifferentialEquation(DESSSimulatorInterface simulator,
double timeStep,
NumericalIntegrator numericalIntegrator)
constructs a new DifferentialEquation |
|
DifferentialEquation(DESSSimulatorInterface simulator,
double timeStep,
short numericalMethod)
constructs a new DifferentialEquation |
Method Summary | |
---|---|
void |
initialize(double x,
double[] y)
|
void |
notify(EventInterface event)
|
Methods inherited from class nl.tudelft.simulation.jstats.ode.DifferentialEquation |
---|
getIntegrator, integrateY, setIntegrator, y |
Methods inherited from class nl.tudelft.simulation.event.EventProducer |
---|
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getEventTypes, removeAllListeners, removeAllListeners, removeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface nl.tudelft.simulation.jstats.ode.DifferentialEquationInterface |
---|
dy, y |
Field Detail |
---|
protected DESSSimulatorInterface simulator
protected double previousX
protected double[] previousY
Constructor Detail |
---|
public DifferentialEquation(DESSSimulatorInterface simulator) throws RemoteException
simulator
- the simulator
RemoteException
- on network exceptionpublic DifferentialEquation(DESSSimulatorInterface simulator, double timeStep)
simulator
- the simulatortimeStep
- the timeStep for ODE estimationpublic DifferentialEquation(DESSSimulatorInterface simulator, double timeStep, short numericalMethod)
simulator
- the simulator.timeStep
- the timeStep for ODE estimation.numericalMethod
- the numerical method to be used.public DifferentialEquation(DESSSimulatorInterface simulator, double timeStep, NumericalIntegrator numericalIntegrator)
simulator
- the simulator.timeStep
- the timeStep for ODE estimation.numericalIntegrator
- the actual integrator to be used.Method Detail |
---|
public void notify(EventInterface event) throws RemoteException
notify
in interface EventListenerInterface
RemoteException
EventListenerInterface.notify(EventInterface)
public void initialize(double x, double[] y)
initialize
in interface DifferentialEquationInterface
initialize
in class DifferentialEquation
DifferentialEquationInterface.initialize(double,
double[])
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |