Package | Description |
---|---|
org.opentrafficsim.simulationengine |
Wrappers and stubs for the DSOL simulation engine.
|
org.opentrafficsim.simulationengine.properties |
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Field and Description |
---|---|
protected ArrayList<AbstractProperty<?>> |
AbstractWrappableSimulation.properties
The properties exhibited by this simulation.
|
protected ArrayList<AbstractProperty<?>> |
AbstractWrappableSimulation.savedUserModifiedProperties
The properties after (possible) editing by the user.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<AbstractProperty<?>> |
WrappableSimulation.getProperties()
Retrieve a list of visible properties of the simulation.
|
ArrayList<AbstractProperty<?>> |
AbstractWrappableSimulation.getProperties()
Retrieve a list of visible properties of the simulation.
|
ArrayList<AbstractProperty<?>> |
WrappableSimulation.getUserModifiedProperties()
Retrieve a list of properties as the user has modified them.
|
ArrayList<AbstractProperty<?>> |
AbstractWrappableSimulation.getUserModifiedProperties()
Retrieve a list of properties as the user has modified them.
|
Modifier and Type | Method and Description |
---|---|
SimpleSimulation |
WrappableSimulation.buildSimulator(ArrayList<AbstractProperty<?>> properties,
Rectangle rect,
boolean exitOnClose)
Build the simulation.
|
SimpleAnimator |
AbstractWrappableSimulation.buildSimulator(ArrayList<AbstractProperty<?>> userModifiedProperties,
Rectangle rect,
boolean eoc)
Build the simulation.
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanProperty
Boolean property.
|
class |
CompoundProperty
Compound property.
|
class |
ContinuousProperty
Continuous property.
|
class |
IntegerProperty
Integer property.
|
class |
ProbabilityDistributionProperty
Property that describes a probability distribution.
|
class |
SelectionProperty
Property that is described by a set of Strings where exactly one can (and must) be true.
|
class |
StringProperty
String property.
|
Modifier and Type | Method and Description |
---|---|
AbstractProperty<String> |
StringProperty.deepCopy()
Construct a deep copy of this property (duplicates everything except immutable fields).
|
AbstractProperty<String> |
SelectionProperty.deepCopy()
Construct a deep copy of this property (duplicates everything except immutable fields).
|
AbstractProperty<Double[]> |
ProbabilityDistributionProperty.deepCopy()
Construct a deep copy of this property (duplicates everything except immutable fields).
|
AbstractProperty<Integer> |
IntegerProperty.deepCopy()
Construct a deep copy of this property (duplicates everything except immutable fields).
|
AbstractProperty<Double> |
ContinuousProperty.deepCopy()
Construct a deep copy of this property (duplicates everything except immutable fields).
|
AbstractProperty<ArrayList<AbstractProperty<?>>> |
CompoundProperty.deepCopy()
Construct a deep copy of this property (duplicates everything except immutable fields).
|
AbstractProperty<Boolean> |
BooleanProperty.deepCopy()
Construct a deep copy of this property (duplicates everything except immutable fields).
|
abstract AbstractProperty<T> |
AbstractProperty.deepCopy()
Construct a deep copy of this property (duplicates everything except immutable fields).
|
AbstractProperty<?> |
CompoundProperty.findByShortName(String name)
Find an embedded AbstractProperty that has a specified shortName.
|
AbstractProperty<?> |
CompoundProperty.get(int index)
Return the sub property at a specified index.
|
Modifier and Type | Method and Description |
---|---|
AbstractProperty<ArrayList<AbstractProperty<?>>> |
CompoundProperty.deepCopy()
Construct a deep copy of this property (duplicates everything except immutable fields).
|
ArrayList<AbstractProperty<?>> |
CompoundProperty.displayOrderedValue()
Return the sub-items in display order.
|
ArrayList<AbstractProperty<?>> |
CompoundProperty.getValue()
Retrieve the current value of the property.
|
Iterator<AbstractProperty<T>> |
AbstractProperty.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
CompoundProperty.add(AbstractProperty<?> ap)
Add an AbstractProperty at the end of the list.
|
void |
CompoundProperty.add(int index,
AbstractProperty<?> ap)
Add an AbstractProperty at a specified position.
|
void |
CompoundProperty.remove(AbstractProperty<?> removeMe)
Remove a property from this CompoundProperty.
|
Modifier and Type | Method and Description |
---|---|
void |
CompoundProperty.setValue(ArrayList<AbstractProperty<?>> newValue)
Change the value of the property.
|
Constructor and Description |
---|
CompoundProperty(String shortName,
String description,
ArrayList<AbstractProperty<?>> initialValue,
boolean readOnly,
int displayPriority)
Construct a CompoundProperty.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.