- canConvert(Class) - Method in class sim.util.Rotation2D.MyConverter
-
- CategoryCollectable<K,ColT extends Collectable<V>,V> - Class in de.zmt.output.collectable
-
Collectable
that acts on a map containing categories each
pointing to a collectable.
- CategoryCollectable(Stream<K>, Function<K, ColT>) - Constructor for class de.zmt.output.collectable.CategoryCollectable
-
- CategoryCollectable(Map<K, ColT>) - Constructor for class de.zmt.output.collectable.CategoryCollectable
-
- CheckBoxInspector<T> - Class in sim.portrayal.inspector
-
An
Inspector
that allows to toggle the presence of elements in a
Set
within a GUI.
- CheckBoxInspector(Set<T>, Collection<T>, GUIState, String) - Constructor for class sim.portrayal.inspector.CheckBoxInspector
-
- CheckBoxInspector.ProvidesCheckBoxInspector<T> - Class in sim.portrayal.inspector
-
- clamp(int, int, int) - Static method in class de.zmt.util.MathUtil
-
- clamp(long, long, long) - Static method in class de.zmt.util.MathUtil
-
- clamp(float, float, float) - Static method in class de.zmt.util.MathUtil
-
- clamp(double, double, double) - Static method in class de.zmt.util.MathUtil
-
- clear() - Method in class de.zmt.output.collectable.AbstractCollectable
-
- clear() - Method in class de.zmt.output.collectable.CategoryCollectable
-
Clears every contained collectable.
- clear() - Method in interface de.zmt.output.collectable.Collectable
-
Clears the data contained in this collectable, i.e.
- clear() - Method in class de.zmt.output.collectable.EnumCollectable
-
Clears all data stored in this Collectable
, i.e.
- clear() - Method in class de.zmt.util.Grid2DUtil.LocationsResult
-
- clone(T) - Static method in class de.zmt.util.ParamsUtil
-
- close() - Method in class de.zmt.output.Output
-
- close() - Method in class de.zmt.output.writing.LineOutputWriter
-
- close() - Method in interface de.zmt.output.writing.OutputWriter
-
If this writer keeps any resources open that needs closing, it has to be
done here.
- CloseButtonTabComponent - Class in sim.portrayal.inspector
-
Tab component with a label displaying the definition's title and a close
button that removes the associated tab.
- CloseButtonTabComponent(Component, ActionListener) - Constructor for class sim.portrayal.inspector.CloseButtonTabComponent
-
- collect(SimState) - Method in interface de.zmt.output.collector.Collector
-
Collects data.
- collect(SimState) - Method in class de.zmt.output.collector.StrategyCollector
-
- collect(CollectMsgT, ColT) - Method in class de.zmt.output.strategy.MessageCollectStrategy
-
Collects data.
- Collectable<V> - Interface in de.zmt.output.collectable
-
An aggregation of data, which resembles a row in a CSV file.
- collectInterval(int) - Static method in class de.zmt.output.Output.CollectorOption
-
- CollectMessage - Interface in de.zmt.output.message
-
Messages sent during collection to pass necessary data onto the Collector.
- CollectMessageFactory<T extends CollectMessage> - Interface in de.zmt.output.message
-
- Collector - Interface in de.zmt.output.collector
-
Collects data from simulation objects to be further processed in
Output
.
- CollectStrategy<ColT extends Collectable<?>> - Interface in de.zmt.output.strategy
-
Strategy specifying the collection process within a
Collector
.
- CombinedInspector - Class in sim.portrayal.inspector
-
Combines multiple inspectors and aligns them vertically.
- CombinedInspector(Collection<? extends Inspector>) - Constructor for class sim.portrayal.inspector.CombinedInspector
-
Deprecated.
- CombinedInspector(Stream<? extends Inspector>) - Constructor for class sim.portrayal.inspector.CombinedInspector
-
- CombinedInspector(Inspector...) - Constructor for class sim.portrayal.inspector.CombinedInspector
-
- compareTo(Rotation2D) - Method in class sim.util.Rotation2D
-
- create(ColT, CollectStrategy<ColT>) - Static method in class de.zmt.output.collector.StrategyCollector
-
- create(T) - Static method in interface de.zmt.params.accessor.DefinitionAccessor.Identifier
-
Creates an identifier containing the giving object with a
toString()
method displaying the object.
- create(String, Function<SimState, String>) - Static method in interface sim.display.ZmtConsole.TimeBoxItem
-
- createAfterMessage(SimState) - Method in interface de.zmt.output.message.AfterMessageFactory
-
Creates an
AfterMessage
sent to this collector at the end of
the data collection cycle.
- createBeforeMessage(SimState) - Method in interface de.zmt.output.message.BeforeMessageFactory
-
Creates a
BeforeMessage
sent to this collector when at the start
of the data collection cycle.
- createCategoryHeaderPrefix(K) - Method in class de.zmt.output.collectable.CategoryCollectable
-
Called when creating headers from categories and collectables.
- createCollectMessages(SimState) - Method in interface de.zmt.output.message.CollectMessageFactory
-
- createFromObjects(Stream<?>, GUIState) - Static method in class sim.portrayal.inspector.CombinedInspector
-
- createFromObjects(Stream<T>, Function<T, String>, GUIState) - Static method in class sim.portrayal.inspector.CombinedInspector
-
- createSimple(Class<T>) - Static method in interface de.zmt.output.message.CollectMessageFactory
-
- createStatusMessage(double) - Method in class sim.engine.ZmtSimState
-
Creates a message to inform about the current status of the running
simulation.
- createText(SimState) - Method in interface sim.display.ZmtConsole.TimeBoxItem
-
Creates the text displayed in the label next to the time box.
- createWriter(Path) - Method in interface de.zmt.output.collectable.Collectable
-
- createWriter(Path) - Method in interface de.zmt.output.collectable.MultiCollectable
-
- createWriter(Path) - Method in interface de.zmt.output.collectable.OneShotCollectable
-
- createWriter(Path) - Method in interface de.zmt.output.collector.Collector
-
- createWriter(Path) - Method in class de.zmt.output.collector.StrategyCollector
-
Returns the writer from collectable.
- generateFileName(String, String...) - Static method in class de.zmt.output.Output
-
Generates a file name with each given string separated from the other.
- generateFileName(int, String, String...) - Static method in class de.zmt.output.Output
-
Generates a file name from given string and an index number.
- get() - Method in class de.zmt.output.message.SimpleCollectMessage
-
- get(DefinitionAccessor.Identifier<?>) - Method in interface de.zmt.params.accessor.DefinitionAccessor
-
Gets the value the given identifier is pointing at.
- get() - Method in interface de.zmt.params.accessor.DefinitionAccessor.Identifier
-
Returns the object wrapped by this identifier
- get(DefinitionAccessor.Identifier<?>) - Method in class de.zmt.params.accessor.MapAccessor
-
- get(DefinitionAccessor.Identifier<?>) - Method in class de.zmt.params.accessor.ReflectionAccessor
-
- get(int, int) - Method in class sim.field.grid.BooleanGrid2D
-
Gets the value at given coordinate.
- get(int, int) - Method in class sim.field.grid.LongGrid2D
-
Gets the value at given coordinate.
- get(int, int) - Static method in class sim.util.Int2DCache
-
Gets
Int2D
object for given location from cache.
- getAddMenu() - Method in class sim.display.ZmtConsole
-
Gets the menu for adding optional definitions.
- getAfterMessageFactory() - Method in class de.zmt.output.strategy.MultiMessageCollectStrategy
-
- getAllowedDefinitionTypes() - Method in class de.zmt.params.BaseSimParamsNode
-
Returns allowed types which definitions are checked on when added.
- getBeforeMessageFactory() - Method in class de.zmt.output.strategy.MultiMessageCollectStrategy
-
- getCategories() - Method in class de.zmt.output.collectable.CategoryCollectable
-
Returns the set of contained categories.
- getCollectable(K) - Method in class de.zmt.output.collectable.CategoryCollectable
-
Returns the collectable associated with the given category.
- getCollectable() - Method in class de.zmt.output.collector.StrategyCollector
-
Returns the
Collectable
to be processed by the strategy.
- getCollectMessageFactory() - Method in class de.zmt.output.strategy.MessageCollectStrategy
-
- getCos() - Method in class sim.util.Rotation2D
-
Returns the cosine of this rotation.
- getDefinitions() - Method in interface de.zmt.params.ParamsNode
-
- getField() - Method in interface sim.portrayal.portrayable.FieldPortrayable
-
- getHeight() - Static method in class sim.util.Int2DCache
-
- getInspectMenu() - Method in class sim.display.ZmtConsole
-
Gets the menu for inspecting various things.
- getInspector(GUIState, String) - Method in interface sim.display.ZmtConsole.InspectorSupplier
-
- getInspector() - Method in class sim.display.ZmtGUIState
-
- getMap() - Method in class de.zmt.params.MapParamDefinition.Default
-
- getMap() - Method in class de.zmt.params.MapParamDefinition
-
Gets the map this definition consists of.
- getName(int) - Method in class de.zmt.output.collectable.AbstractCollectable.MyProperties
-
- getName() - Method in interface de.zmt.output.collector.Collector
-
Returns the name of this collector.
- getName() - Method in class de.zmt.output.collector.StrategyCollector
-
Returns the name of the collectable, which contents are displayed on
inspection.
- getNotAutomatableKeys() - Method in class de.zmt.params.MapParamDefinition
-
Gets the set of keys which are not automatable.
- getOutput() - Method in class sim.engine.ZmtSimState
-
Gets the output object of this simulation.
- getOutputPath() - Method in class sim.engine.BaseZmtSimState
-
- getParams() - Method in class sim.engine.BaseZmtSimState
-
- getParams() - Method in class sim.engine.ZmtSimState
-
Returns the
SimParams
object with the current configuration.
- getParamsClass() - Method in class sim.engine.BaseZmtSimState
-
- getParamsClass() - Method in class sim.engine.ZmtSimState
-
Returns the
SimParams
class used by this simulation.
- getParamsMenu() - Method in class sim.display.ZmtConsole
-
Returns the menu for opening / saving parameters.
- getScale() - Method in class sim.util.distribution.PiecewiseLinear
-
- getSeed() - Method in interface de.zmt.params.SimParams
-
- getSeparator() - Method in class de.zmt.output.collectable.CategoryCollectable
-
Separator in headers between category prefix and collectable's
header.
- getShift() - Method in class sim.util.distribution.PiecewiseLinear
-
- getSimObject() - Method in class de.zmt.output.message.SimpleCollectMessage
-
Returns the contained simulation object.
- getSin() - Method in class sim.util.Rotation2D
-
Returns the sine of this rotation.
- getSteps() - Method in interface de.zmt.output.message.AfterMessage
-
- getStrategy() - Method in class de.zmt.output.collector.StrategyCollector
-
- getTitle() - Method in interface de.zmt.params.ParamDefinition
-
Title appearing in
ParamsInspector
's tab list, also used in
automation to discriminate between objects if there are several of one
class.
- getType(int) - Method in class de.zmt.output.collectable.AbstractCollectable.MyProperties
-
- getUsedConstants() - Method in class de.zmt.output.collectable.EnumCollectable
-
Returns the constants used in this collectable.
- getValue(int) - Method in class de.zmt.output.collectable.AbstractCollectable.MyProperties
-
- getValue(Object) - Method in class de.zmt.output.collectable.EnumCollectable
-
Returns the value mapped to the given enumConstant
.
- getValue(ColumnK, RowK) - Method in class sim.portrayal.inspector.TableInspector
-
Returns the value from the inspected object for the given keys.
- getVector() - Method in class sim.util.Rotation2D
-
Returns the rotation as direction vector.
- getWidth() - Static method in class sim.util.Int2DCache
-
- getWriter() - Method in class de.zmt.output.writing.LineOutputWriter
-
- getXStreamInstance() - Static method in class de.zmt.util.ParamsUtil
-
Returns the
XStream
instance used for XML serialization.
- Grid2DUtil - Class in de.zmt.util
-
Contains modified methods from
AbstractGrid2D
to
handle real numbers in neighborhood lookup for position and distance.
- Grid2DUtil.DoubleNeighborsResult - Class in de.zmt.util
-
- Grid2DUtil.LocationsResult - Class in de.zmt.util
-
Contains x and y grid positions from neighborhood lookup.
- GuiListener - Interface in sim.display
-
- scaleRectangle(Rectangle2D.Double, double) - Static method in class de.zmt.util.ShapeUtil
-
Scales a rectangle.
- selectTimeBoxItem(ZmtConsole.TimeBoxItem) - Method in class sim.display.ZmtConsole
-
- set(DefinitionAccessor.Identifier<?>, Object) - Method in interface de.zmt.params.accessor.DefinitionAccessor
-
Sets a value pointed at by a given identifier with a given one.
- set(DefinitionAccessor.Identifier<?>, Object) - Method in class de.zmt.params.accessor.MapAccessor
-
- set(DefinitionAccessor.Identifier<?>, Object) - Method in class de.zmt.params.accessor.ReflectionAccessor
-
- set(int, int, boolean) - Method in class sim.field.grid.BooleanGrid2D
-
Sets the value at given coordinate.
- set(int, int, long) - Method in class sim.field.grid.LongGrid2D
-
Sets the value at given coordinate.
- setOutputPath(Path) - Method in class de.zmt.output.Output
-
Sets the output path for all associated writers.
- setOutputPath(Path) - Method in class de.zmt.output.writing.LineOutputWriter
-
- setOutputPath(Path) - Method in class de.zmt.output.writing.OneShotOutputWriter
-
Sets the output path base pointing to the directory where to create the
files for each shot.
- setOutputPath(Path) - Method in interface de.zmt.output.writing.OutputWriter
-
Sets the output path for this writer.
- setOutputPath(Path) - Method in class sim.engine.BaseZmtSimState
-
- setOutputPath(Path) - Method in class sim.engine.ZmtSimState
-
Sets the path to write simulation output.
- setParams(SimParams) - Method in class sim.engine.BaseZmtSimState
-
- setParams(SimParams) - Method in class sim.engine.ZmtSimState
-
Sets the current configuration to the given
SimParams
object.
- setScale(double) - Method in class sim.util.distribution.PiecewiseLinear
-
- setShift(double) - Method in class sim.util.distribution.PiecewiseLinear
-
- setTo(boolean) - Method in class sim.field.grid.BooleanGrid2D
-
Sets all the locations in the grid to the provided value.
- setTo(boolean[][]) - Method in class sim.field.grid.BooleanGrid2D
-
Sets this grid to the values from the given array.
- setTo(long) - Method in class sim.field.grid.LongGrid2D
-
Sets all the locations in the grid to the provided value.
- setTo(long[][]) - Method in class sim.field.grid.LongGrid2D
-
Sets this grid to the values from the given array.
- setValue(ColumnK, RowK, V) - Method in class sim.portrayal.inspector.TableInspector
-
Sets the value on the inspected object for the given keys.
- ShapeUtil - Class in de.zmt.util
-
- ShapeUtil() - Constructor for class de.zmt.util.ShapeUtil
-
- sim.display - package sim.display
-
- sim.engine - package sim.engine
-
- sim.field.grid - package sim.field.grid
-
- sim.portrayal - package sim.portrayal
-
Classes for portraying the simulation in GUI.
- sim.portrayal.inspector - package sim.portrayal.inspector
-
- sim.portrayal.portrayable - package sim.portrayal.portrayable
-
- sim.util - package sim.util
-
- sim.util.distribution - package sim.util.distribution
-
- SimParams - Interface in de.zmt.params
-
Simulation parameters that contain a value for the seed of the random number
generator used.
- SimpleCollectMessage<T> - Class in de.zmt.output.message
-
Simple implementation for
CollectMessage
containing a simulation
object.
- SimpleCollectMessage(T) - Constructor for class de.zmt.output.message.SimpleCollectMessage
-
- size() - Method in class de.zmt.util.Grid2DUtil.DoubleNeighborsResult
-
- size() - Method in class de.zmt.util.Grid2DUtil.LocationsResult
-
- slerp(Rotation2D, double) - Method in class sim.util.Rotation2D
-
Performs a spherical linear interpolation between this rotation and the
other.
- SOUTH - Static variable in class sim.util.DirectionConstants
-
Direction pointing south: (0,1)
- SOUTHEAST - Static variable in class sim.util.DirectionConstants
-
Direction pointing south-east: (1,1)^
- SOUTHWEST - Static variable in class sim.util.DirectionConstants
-
Direction pointing south-west: (-1,1)^
- start() - Method in class sim.display.ZmtGUIState
-
- start() - Method in class sim.engine.BaseZmtSimState
-
Sets seed from parameters.
- started(ZmtSimState) - Method in interface sim.display.GuiListener
-
Called right after the simulation has started.
- step(SimState) - Method in class de.zmt.output.Output
-
- StrategyCollector<ColT extends Collectable<?>> - Class in de.zmt.output.collector
-
- StrategyCollector() - Constructor for class de.zmt.output.collector.StrategyCollector
-