|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gscg.experiment.scenario.Scenario
The Scenario specifies the parameters for a simulation experiment
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software is proprietary information
of Delft University of Technology.*
Field Summary | |
static java.lang.String |
SCENARIO_ANALYST
SCENARIO_ANALYST the analyst name property |
static java.lang.String |
SCENARIO_NAME
SCENARIO_NAME the name property |
Constructor Summary | |
Scenario()
constructs a new Scenario |
Method Summary | |
Event[] |
getActions()
|
java.lang.String |
getProperty(java.lang.String key)
returns a property |
nl.tudelft.simulation.dsol.simulators.SimulatorInterface |
getSimulator()
returns the simulator |
java.net.URL |
getUrl()
returns the URL |
void |
setActions(Event[] actions)
sets the actions |
void |
setProperty(java.lang.String key,
java.lang.String value)
sets a property |
void |
setSimulator(nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
sets the simulator |
void |
setUrl(java.net.URL url)
sets the URL of the experiment |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String SCENARIO_NAME
public static final java.lang.String SCENARIO_ANALYST
Constructor Detail |
public Scenario()
Method Detail |
public void setSimulator(nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
simulator
- the simulatorpublic nl.tudelft.simulation.dsol.simulators.SimulatorInterface getSimulator()
public java.net.URL getUrl()
public java.lang.String getProperty(java.lang.String key)
key
- properties are stored as key-value
public void setProperty(java.lang.String key, java.lang.String value)
key
- properties are stored in key-value pairsvalue
- properties are stored in key-value pairspublic void setActions(Event[] actions)
actions
- reflect the actionspublic void setUrl(java.net.URL url)
url
- the URLpublic Event[] getActions()
public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |