public abstract class AbstractOTSModel extends AbstractDSOLModel.TimeDoubleUnit<OTSSimulatorInterface> implements OTSModelInterface
AbstractDSOLModel.CalendarDouble<S extends SimulatorInterface.CalendarDouble>, AbstractDSOLModel.CalendarFloat<S extends SimulatorInterface.CalendarFloat>, AbstractDSOLModel.CalendarLong<S extends SimulatorInterface.CalendarLong>, AbstractDSOLModel.TimeDouble<S extends SimulatorInterface.TimeDouble>, AbstractDSOLModel.TimeDoubleUnit<S extends SimulatorInterface.TimeDoubleUnit>, AbstractDSOLModel.TimeFloat<S extends SimulatorInterface.TimeFloat>, AbstractDSOLModel.TimeFloatUnit<S extends SimulatorInterface.TimeFloatUnit>, AbstractDSOLModel.TimeLong<S extends SimulatorInterface.TimeLong>
DSOLModel.CalendarDouble<S extends SimulatorInterface.CalendarDouble>, DSOLModel.CalendarFloat<S extends SimulatorInterface.CalendarFloat>, DSOLModel.CalendarLong<S extends SimulatorInterface.CalendarLong>, DSOLModel.TimeDouble<S extends SimulatorInterface.TimeDouble>, DSOLModel.TimeDoubleUnit<S extends SimulatorInterface.TimeDoubleUnit>, DSOLModel.TimeFloat<S extends SimulatorInterface.TimeFloat>, DSOLModel.TimeFloatUnit<S extends SimulatorInterface.TimeFloatUnit>, DSOLModel.TimeLong<S extends SimulatorInterface.TimeLong>
inputParameterMap, outputStatistics, simulator
listeners
FIRST_POSITION, LAST_POSITION
Constructor and Description |
---|
AbstractOTSModel(OTSSimulatorInterface simulator)
Instantiate an abstract OTSModel.
|
AbstractOTSModel(OTSSimulatorInterface simulator,
String shortName,
String description)
Instantiate an abstract OTSModel.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Return a description of the simulation (HTML formatted).
|
String |
getShortName()
Return a very short description of the simulation.
|
void |
setDescription(String description) |
void |
setShortName(String shortName) |
addInputParameter, getInputParameter, getInputParameterMap, getOutputStatistics, getSimulator
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, removeAllListeners, removeAllListeners, removeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNetwork
constructModel, getInputParameterMap, getOutputStatistics, getSimulator
public AbstractOTSModel(OTSSimulatorInterface simulator, String shortName, String description)
simulator
- OTSSimulatorInterface; the simulator to useshortName
- String; a very short description of the simulationdescription
- String; a description of the simulation (HTML formatted)public AbstractOTSModel(OTSSimulatorInterface simulator)
simulator
- OTSSimulatorInterface; the simulator to usepublic final String getShortName()
getShortName
in interface OTSModelInterface
public final void setShortName(String shortName)
shortName
- String; set shortNamepublic final String getDescription()
getDescription
in interface OTSModelInterface
public final void setDescription(String description)
description
- String; set descriptionCopyright © 2014–2019 Delft University of Technology. All rights reserved.