package nl.tudelft.simulation.examples.dsol.dess; import java.rmi.RemoteException; import nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation; import nl.tudelft.simulation.dsol.simtime.SimTimeDouble; import nl.tudelft.simulation.dsol.simulators.DESSSimulatorInterface; /** *

* Copyright (c) 2002-2018 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights * reserved. *

* See for project information www.simulation.tudelft.nl. *

* @version Aug 15, 2014
* @author Alexander Verbraeck */ public class Speed extends DifferentialEquation { /** */ private static final long serialVersionUID = 1L; /** * constructs a new Speed. * @param simulator the simulator * @throws RemoteException on network failureS */ public Speed(final DESSSimulatorInterface.TimeDouble simulator) throws RemoteException { super(simulator); } /** {@inheritDoc} */ @Override public double[] dy(final double x, final double[] y) { return new double[]{0.5}; } }