Class Positioner
java.lang.Object
org.djutils.event.LocalEventProducer
nl.tudelft.simulation.jstats.ode.DifferentialEquation
nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation<Double>
nl.tudelft.simulation.examples.dsol.animation.continuous.Positioner
- All Implemented Interfaces:
Serializable,Remote,EventListener,DifferentialEquationInterface,org.djutils.event.EventListener,org.djutils.event.EventProducer
A Positioner.
Copyright (c) 2003-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.
- Author:
- Peter Jacobs
- See Also:
-
Field Summary
Fields inherited from class nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation
FUNCTION_CHANGED_EVENT, numberOfVariables, previousX, previousY, simulator, VALUE_CHANGED_EVENTFields inherited from class nl.tudelft.simulation.jstats.ode.DifferentialEquation
lastX, lastY, stepSizeFields inherited from interface org.djutils.event.EventProducer
FIRST_POSITION, LAST_POSITION -
Constructor Summary
ConstructorsConstructorDescriptionPositioner(DessSimulatorInterface<Double> simulator) constructs a new Positioner. -
Method Summary
Methods inherited from class nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation
initialize, notifyMethods inherited from class nl.tudelft.simulation.jstats.ode.DifferentialEquation
getIntegrator, integrateY, setIntegrator, yMethods inherited from class org.djutils.event.LocalEventProducer
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireUnverifiedEvent, fireUnverifiedEvent, fireUnverifiedTimedEvent, fireUnverifiedTimedEvent, getEventListenerMap, getEventTypesWithListeners, getListenerReferences, hasListeners, numberOfListeners, removeAllListeners, removeAllListeners, removeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nl.tudelft.simulation.jstats.ode.DifferentialEquationInterface
y
-
Constructor Details
-
Positioner
constructs a new Positioner.- Parameters:
simulator- DessSimulatorInterface<Double>; the simulator- Throws:
RemoteException- on remote error
-
-
Method Details
-
setValue
public void setValue(double value) sets the value.- Parameters:
value- double; the new value
-
dy
public double[] dy(double x, double[] y)
-