A B C D E F G H I K L M N O P Q R S T U V W X Y Z _

A

AFTER_SIMULATION - Static variable in class sim.engine.Schedule
 
AbstractGrid2D - class sim.field.grid.AbstractGrid2D.
 
AbstractGrid2D() - Constructor for class sim.field.grid.AbstractGrid2D
 
AbstractGrid3D - class sim.field.grid.AbstractGrid3D.
 
AbstractGrid3D() - Constructor for class sim.field.grid.AbstractGrid3D
 
AbstractScrollable - class sim.util.gui.AbstractScrollable.
AbstractScrollable is a JPanel with basic implementation of the Scrollable interface, making possible simple anonymous subclasses.
AbstractScrollable() - Constructor for class sim.util.gui.AbstractScrollable
 
Arrow - class sim.portrayal3d.simple.Arrow.
 
Arrow() - Constructor for class sim.portrayal3d.simple.Arrow
 
Axes - class sim.portrayal3d.simple.Axes.
 
Axes(float, boolean) - Constructor for class sim.portrayal3d.simple.Axes
 
add(double) - Method in class sim.field.grid.DoubleGrid2D
 
add(IntGrid2D) - Method in class sim.field.grid.DoubleGrid2D
 
add(DoubleGrid2D) - Method in class sim.field.grid.DoubleGrid2D
 
add(double) - Method in class sim.field.grid.DoubleGrid3D
 
add(IntGrid3D) - Method in class sim.field.grid.DoubleGrid3D
 
add(DoubleGrid3D) - Method in class sim.field.grid.DoubleGrid3D
 
add(int) - Method in class sim.field.grid.IntGrid2D
 
add(IntGrid2D) - Method in class sim.field.grid.IntGrid2D
 
add(int) - Method in class sim.field.grid.IntGrid3D
 
add(IntGrid3D) - Method in class sim.field.grid.IntGrid3D
 
add(Object) - Method in class sim.util.Bag
 
add(double) - Method in class sim.util.DoubleBag
 
add(Object, long) - Method in class sim.util.Heap
Adds an element to the heap with the given key.
add(int) - Method in class sim.util.IntBag
 
add(Component, Component) - Method in class sim.util.gui.LabelledList
 
add(BufferedImage) - Method in class sim.util.gui.MovieMaker
 
add - Variable in class sim.util.gui.NumberTextField
 
add(BufferedImage) - Method in class sim.util.media.MovieEncoder
Adds an image to the movie.
addAll(Collection) - Method in class sim.util.Bag
 
addAll(int, Collection) - Method in class sim.util.Bag
 
addAll(int, Object[]) - Method in class sim.util.Bag
 
addAll(Bag) - Method in class sim.util.Bag
 
addAll(int, Bag) - Method in class sim.util.Bag
 
addAll(int, double[]) - Method in class sim.util.DoubleBag
 
addAll(DoubleBag) - Method in class sim.util.DoubleBag
 
addAll(int, DoubleBag) - Method in class sim.util.DoubleBag
 
addAll(int, int[]) - Method in class sim.util.IntBag
 
addAll(IntBag) - Method in class sim.util.IntBag
 
addAll(int, IntBag) - Method in class sim.util.IntBag
 
addComponent(Component) - Method in class sim.util.gui.LabelledList
 
addEdge(Object, Object, Object) - Method in class sim.field.network.NetworkField
Add an edge, storing info as the edge's associated information object.
addEdge(Edge) - Method in class sim.field.network.NetworkField
Add an edge.
addLabelled(String, Component) - Method in class sim.util.gui.LabelledList
 
addNode(Object) - Method in class sim.field.network.NetworkField
Add a node
after - Variable in class sim.display.GUIState
 
afterSize - Variable in class sim.display.GUIState
 
allNodes - Variable in class sim.field.network.NetworkField
All the objects in the sparse field.
allObjects - Variable in class sim.field.SparseField
All the objects in the sparse field.
alphaInterpolation - Variable in class sim.display.Display2D.OptionPane
 
antialias - Variable in class sim.display.Display2D.OptionPane
 
antialiasText - Variable in class sim.display.Display2D.OptionPane
 
attach(FieldPortrayal2D, String) - Method in class sim.display.Display2D
Attaches a portrayal to the Display2D, along with the provided human-readable name for the portrayal.
attach(FieldPortrayal2D, String, Rectangle2D.Double) - Method in class sim.display.Display2D
Attaches a portrayal to the Display2D, along with the provided human-readable name for the portrayal.
attach(Portrayal3D, String) - Method in class sim.display3d.Display3D
 
attach(Portrayal3D, String, boolean) - Method in class sim.display3d.Display3D
 
awakeFromCheckpoint() - Method in class sim.engine.SimState
Called after the SimState was created by reading from a checkpointed object.

B

BEFORE_SIMULATION - Static variable in class sim.engine.Schedule
 
Bag - class sim.util.Bag.
Maintains a simple array (obj) of Objects and the number of objects (numObjs) in the array (the array can be bigger than this number).
Bag() - Constructor for class sim.util.Bag
 
Bag(Bag) - Constructor for class sim.util.Bag
Adds the objects from the other Bag without copying them.
before - Variable in class sim.display.GUIState
 
beforeSize - Variable in class sim.display.GUIState
 
bellyButton - Variable in class sim.util.gui.NumberTextField
 
betterToString(Object) - Method in class sim.util.Properties
 
bufferedHints - Variable in class sim.display.Display2D.InnerDisplay2D
Hints used to draw the buffered image to the screen
buffering - Variable in class sim.display.Display2D.OptionPane
 
bytePos - Variable in class sim.util.media.PngEncoder
 
bytesPerPixel - Variable in class sim.util.media.PngEncoder
 

C

CAMERA_ICON - Static variable in class sim.display.Display2D
 
COLOR_DISCRETIZATION - Static variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
COLOR_DISCRETIZATION - Static variable in class sim.portrayal3d.SimpleColorInterpolator
 
CapturingCanvas3D - class sim.display3d.CapturingCanvas3D.
Canvas3D that is synchronized with Display3D and uses postswap to save the contextGraphics into an image.
CapturingCanvas3D(GraphicsConfiguration) - Constructor for class sim.display3d.CapturingCanvas3D
 
CapturingCanvas3D(GraphicsConfiguration, boolean) - Constructor for class sim.display3d.CapturingCanvas3D
 
CollectionProperties - class sim.util.CollectionProperties.
 
CollectionProperties(Collection) - Constructor for class sim.util.CollectionProperties
 
CollectionProperties(List) - Constructor for class sim.util.CollectionProperties
 
CollectionProperties(Map) - Constructor for class sim.util.CollectionProperties
 
CollectionProperties(Indexed) - Constructor for class sim.util.CollectionProperties
 
CollectionProperties(Object) - Constructor for class sim.util.CollectionProperties
For arrays
ColorCoding - interface sim.portrayal3d.ColorCoding.
 
ConfigurablePolyPortrayal - interface sim.portrayal3d.ConfigurablePolyPortrayal.
 
Console - class sim.display.Console.
Console is an elaborate Controller which provides a variety of GUI niceties to control the basics of a simulation.
Console(GUIState) - Constructor for class sim.display.Console
Creates a Console, using the default initial start behavior (INITIAL_BEHAVIOR_START).
Continuous2D - class sim.field.continuous.Continuous2D.
A storage facility for objects located in a continuous 2D environment.
Continuous2D(double, double, double) - Constructor for class sim.field.continuous.Continuous2D
Provide expected bounds on the SparseContinuous2D
Continuous2DPortrayal - class sim.portrayal.continuous.Continuous2DPortrayal.
Portrays Continuous2D fields.
Continuous2DPortrayal() - Constructor for class sim.portrayal.continuous.Continuous2DPortrayal
 
Continuous3D - class sim.field.continuous.Continuous3D.
A storage facility for objects located in a continuous 3D environment.
Continuous3D(double, double, double, double) - Constructor for class sim.field.continuous.Continuous3D
Provide expected bounds on the SparseContinuous3D
Continuous3DPortrayal - class sim.portrayal3d.continuous.Continuous3DPortrayal.
portrayal 3D for Continuous3Ds and Continuous2Ds.
Continuous3DPortrayal(Continuous3D, double, double, double) - Constructor for class sim.portrayal3d.continuous.Continuous3DPortrayal
 
Continuous3DPortrayal(Continuous2D, double, double, double) - Constructor for class sim.portrayal3d.continuous.Continuous3DPortrayal
 
Continuous3DPortrayal(Continuous3D, double, double, double, double, double, double) - Constructor for class sim.portrayal3d.continuous.Continuous3DPortrayal
 
Continuous3DPortrayal(Continuous2D, double, double, double, double, double, double) - Constructor for class sim.portrayal3d.continuous.Continuous3DPortrayal
 
Continuous3DPortrayal(Continuous2D, Transform3D) - Constructor for class sim.portrayal3d.continuous.Continuous3DPortrayal
 
Continuous3DPortrayal(Continuous3D, Transform3D) - Constructor for class sim.portrayal3d.continuous.Continuous3DPortrayal
 
Controller - interface sim.display.Controller.
A Controller is the top-level object responsible for setting up and running the GUIState.
CubePortrayal3D - class sim.portrayal3d.simple.CubePortrayal3D.
White cube of size 1, centered in the origin, perfect for a default portrayal.
CubePortrayal3D() - Constructor for class sim.portrayal3d.simple.CubePortrayal3D
 
ceiling() - Method in class sim.field.grid.DoubleGrid2D
 
ceiling() - Method in class sim.field.grid.DoubleGrid3D
 
checkField - Variable in class sim.util.gui.PropertyField
 
checkListener - Variable in class sim.util.gui.PropertyField
 
classPortrayals - Variable in class sim.portrayal.FieldPortrayal
 
clear() - Method in class sim.field.SparseField
Deletes everything, returning all the objects as a Bag (which you can freely use and modify).
clear() - Method in class sim.field.continuous.Continuous2D
 
clear() - Method in class sim.field.continuous.Continuous3D
 
clear() - Method in class sim.util.Bag
 
clear() - Method in class sim.util.DoubleBag
 
clear() - Method in class sim.util.Heap
 
clear() - Method in class sim.util.IntBag
 
clearColor - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
clearColor - Variable in class sim.portrayal3d.SimpleColorInterpolator
 
clearPickableFlags(Node) - Static method in class sim.portrayal3d.SimplePortrayal3D
 
clip - Variable in class sim.portrayal.DrawInfo2D
 
clone() - Method in class sim.util.Bag
 
clone() - Method in class sim.util.DoubleBag
 
clone() - Method in class sim.util.IntBag
 
colorComponents - Variable in class sim.portrayal3d.grid.fastgridcell.TileGridCellPortrayal
 
colorDispenser - Variable in class sim.portrayal3d.grid.fastgridcell.TileGridCellPortrayal
 
colors - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
User-provided color table
colors - Variable in class sim.portrayal3d.SimpleColorInterpolator
User-provided color table
completedWrapper(LocationWrapper, PickIntersection) - Method in class sim.portrayal3d.FieldPortrayal3D
 
completedWrapper(LocationWrapper, PickIntersection) - Method in class sim.portrayal3d.continuous.Continuous3DPortrayal
 
completedWrapper(LocationWrapper, PickIntersection) - Method in class sim.portrayal3d.grid.SparseGrid3DPortrayal
 
completedWrapper(LocationWrapper, PickIntersection) - Method in class sim.portrayal3d.grid.ValueGrid2D3DPortrayal
 
componentType() - Method in class sim.util.Bag
Always returns null.
componentType() - Method in class sim.util.DoubleBag
 
componentType() - Method in interface sim.util.Indexed
Should return the base component type for this Indexed object, or null if the component type should be queried via getValue(index).getClass.getComponentType()
componentType() - Method in class sim.util.IntBag
 
compressionLevel - Variable in class sim.util.media.PngEncoder
 
contains(Object) - Method in class sim.util.Bag
 
contains(double) - Method in class sim.util.DoubleBag
 
contains(int) - Method in class sim.util.IntBag
 
containsAll(Collection) - Method in class sim.util.Bag
 
controller - Variable in class sim.display.GUIState
The controller for the GUIState.
controllerUpdate(ControllerEvent) - Method in class sim.util.media.MovieEncoder
Controller Listener.
crc - Variable in class sim.util.media.PngEncoder
 
crcValue - Variable in class sim.util.media.PngEncoder
 
createArrow(float, Vector3f, Vector3f, String, String) - Static method in class sim.portrayal3d.simple.Arrow
Creates a 3D arrow between points stPt and endPt if either label is not null, it adds a Text2D obect at the appropriate end.
createAxes(Group, float, boolean) - Static method in class sim.portrayal3d.simple.Axes
 
createFrame() - Method in class sim.display.Display2D
Creates a frame holding the Display2D.
createFrame() - Method in class sim.display3d.Display3D
Creates a frame holding the Display3D.
createInspectors(Rectangle2D.Double, GUIState) - Method in class sim.display.Display2D
Determines the inspectors appropriate for the given selection region (rect), and sends them on to the Controller.
createModel() - Method in class sim.portrayal3d.SparseFieldPortrayal3D
Create J3D subgraphs for all objects in the field note that each subgraph points to the simulation object it represents, for update purposes.
createModel() - Method in class sim.portrayal3d.grid.ValueGrid2D3DPortrayal
Create J3D subgraphs for all objects in the field note that each subgraph points to the simulation object it represents, for update purposes.
createSceneGraph(boolean) - Method in class sim.display3d.Display3D
 
currentExtraIndex - Variable in class sim.portrayal.SimpleInspector
 
currentValue - Variable in class sim.util.gui.NumberTextField
 
currentValue - Variable in class sim.util.gui.PropertyField
 

D

DEFAULT - Static variable in class sim.portrayal.grid.FastValueGrid2DPortrayal
 
DONE - Static variable in interface sim.portrayal.grid.DrawPolicy
 
DONT_USE_BUFFER - Static variable in class sim.portrayal.grid.FastValueGrid2DPortrayal
 
DRAW_ALL - Static variable in interface sim.portrayal.grid.DrawPolicy
 
DefaultTransform - class sim.portrayal3d.DefaultTransform.
 
DefaultTransform() - Constructor for class sim.portrayal3d.DefaultTransform
 
DirectionalLightPortrayal3D - class sim.portrayal3d.simple.DirectionalLightPortrayal3D.
 
DirectionalLightPortrayal3D(Color3f, Vector3f) - Constructor for class sim.portrayal3d.simple.DirectionalLightPortrayal3D
Constructor DirectionalLightPortrayal3D.
Display2D - class sim.display.Display2D.
Display2D holds, displays, and manipulates 2D Portrayal objects, allowing the user to scale them, scroll them, change how often they're updated, take snapshots, and generate Quicktime movies.
Display2D(double, double, GUIState, long) - Constructor for class sim.display.Display2D
Creates a Display2D with the provided width and height for its portrayal region, attached to the provided simulation, and displaying itself with the given interval (which must be > 0).
Display2D.InnerDisplay2D - class sim.display.Display2D.InnerDisplay2D.
The object which actually does all the drawing.
Display2D.InnerDisplay2D(double, double) - Constructor for class sim.display.Display2D.InnerDisplay2D
Creates an InnerDisplay2D with the provided width and height.
Display2D.OptionPane - class sim.display.Display2D.OptionPane.
Option pane
Display2D.OptionPane(String) - Constructor for class sim.display.Display2D.OptionPane
 
Display3D - class sim.display3d.Display3D.
 
Display3D(int, int, GUIState, long) - Constructor for class sim.display3d.Display3D
 
Double2D - class sim.util.Double2D.
Double2D is more or less the same class as java.awt.geom.Point2D.Double, but it is immutable: once the x and y values are set, they cannot be changed (they're final).
Double2D() - Constructor for class sim.util.Double2D
 
Double2D(Int2D) - Constructor for class sim.util.Double2D
 
Double2D(Point) - Constructor for class sim.util.Double2D
 
Double2D(Point2D.Double) - Constructor for class sim.util.Double2D
 
Double2D(Point2D.Float) - Constructor for class sim.util.Double2D
 
Double2D(Point2D) - Constructor for class sim.util.Double2D
Only included for completeness' sakes, in case a new Point2D subclass is created in the future.
Double2D(double, double) - Constructor for class sim.util.Double2D
 
Double3D - class sim.util.Double3D.
 
Double3D() - Constructor for class sim.util.Double3D
 
Double3D(Int2D) - Constructor for class sim.util.Double3D
Explicitly assumes the z value is set to 0
Double3D(Int2D, double) - Constructor for class sim.util.Double3D
 
Double3D(Int3D) - Constructor for class sim.util.Double3D
 
Double3D(Double2D) - Constructor for class sim.util.Double3D
Explicitly assumes the z value is set to 0
Double3D(Double2D, double) - Constructor for class sim.util.Double3D
 
Double3D(Double3D) - Constructor for class sim.util.Double3D
 
Double3D(double, double, double) - Constructor for class sim.util.Double3D
 
DoubleBag - class sim.util.DoubleBag.
Maintains a simple array (obj) of doubles and the number of doubles (numObjs) in the array (the array can be bigger than this number).
DoubleBag() - Constructor for class sim.util.DoubleBag
 
DoubleBag(DoubleBag) - Constructor for class sim.util.DoubleBag
Adds the doubles from the other DoubleBag without copying them.
DoubleGrid2D - class sim.field.grid.DoubleGrid2D.
A wrapper for 2D arrays of doubles.
DoubleGrid2D(int, int) - Constructor for class sim.field.grid.DoubleGrid2D
 
DoubleGrid2D(int, int, double) - Constructor for class sim.field.grid.DoubleGrid2D
 
DoubleGrid2D(DoubleGrid2D) - Constructor for class sim.field.grid.DoubleGrid2D
 
DoubleGrid3D - class sim.field.grid.DoubleGrid3D.
A wrapper for 3D arrays of doubles.
DoubleGrid3D(int, int, int) - Constructor for class sim.field.grid.DoubleGrid3D
 
DoubleGrid3D(int, int, int, double) - Constructor for class sim.field.grid.DoubleGrid3D
 
DoubleGrid3D(DoubleGrid3D) - Constructor for class sim.field.grid.DoubleGrid3D
 
DrawInfo2D - class sim.portrayal.DrawInfo2D.
The DrawInfo2D class provides two Rectangles which define a simple drawing situation.
DrawInfo2D(Rectangle2D.Double, Rectangle2D.Double) - Constructor for class sim.portrayal.DrawInfo2D
 
DrawInfo2D(Rectangle, Rectangle) - Constructor for class sim.portrayal.DrawInfo2D
 
DrawInfo2D(RectangularShape, RectangularShape) - Constructor for class sim.portrayal.DrawInfo2D
 
DrawPolicy - interface sim.portrayal.grid.DrawPolicy.
Called by Sparse2DPortrayal and Object2DPortrayal to determine if all objects should be drawn or only one.
dataPos - Variable in class sim.util.media.PngEncoder
 
dataSinkUpdate(DataSinkEvent) - Method in class sim.util.media.MovieEncoder
Event handler for the file writer.
defaultArrowColor - Static variable in class sim.portrayal3d.simple.Arrow
 
defaultColor - Variable in class sim.util.gui.NumberTextField
 
defaultColor - Variable in class sim.util.gui.PropertyField
 
defaultLabelColor - Static variable in class sim.portrayal3d.simple.Arrow
 
destroy() - Method in class sim.display3d.Display3D
 
detatchAll() - Method in class sim.display.Display2D
Detatches all portrayals from the Display2D.
detatchAll() - Method in class sim.display3d.Display3D
 
discretization - Variable in class sim.field.continuous.Continuous2D
 
discretization - Variable in class sim.field.continuous.Continuous3D
 
discretize(Double2D) - Method in class sim.field.continuous.Continuous2D
 
discretize(Double3D) - Method in class sim.field.continuous.Continuous3D
 
dlx(int, int) - Method in class sim.field.grid.AbstractGrid2D
 
dlx(int, int) - Method in interface sim.field.grid.Grid2D
Hex downleft x.
dlx(int, int) - Method in class sim.field.grid.SparseGrid2D
 
dly(int, int) - Method in class sim.field.grid.AbstractGrid2D
 
dly(int, int) - Method in interface sim.field.grid.Grid2D
Hex downleft y.
dly(int, int) - Method in class sim.field.grid.SparseGrid2D
 
doChangeCode(Runnable) - Method in class sim.display.Console
 
doChangeCode(Runnable) - Method in interface sim.display.Controller
This method will interrupt the simulation (pause it), call your runnable, then continue (uninterrupt) the simulation.
doClose() - Method in class sim.display.Console
Closes the Console and shuts down the simulation.
doException(JComponent, Exception) - Method in class sim.display.SimApplet
 
doNew() - Method in class sim.display.Console
Pops up a window allowing the user to enter in a class name to start a new simulation.
doOpen() - Method in class sim.display.Console
Reverts the current simulation to the simulation stored at a user-specified checkpoint filename.
doQuit() - Method in class sim.display.Console
Quits the program.
doSave() - Method in class sim.display.Console
Lets the user checkpoint out a simulation to the last checkpoint filename.
doSaveAs() - Method in class sim.display.Console
Lets the user checkpoint out a simulation to a file with a given name.
doubleLocationHash - Variable in class sim.field.continuous.Continuous2D
Where we store the Double2D values hashed by object
doubleLocationHash - Variable in class sim.field.continuous.Continuous3D
Where we store the Double3D values hashed by object
downButton - Variable in class sim.util.gui.NumberTextField
 
downx(int, int) - Method in class sim.field.grid.AbstractGrid2D
 
downx(int, int) - Method in interface sim.field.grid.Grid2D
Hex down x.
downx(int, int) - Method in class sim.field.grid.SparseGrid2D
 
downy(int, int) - Method in class sim.field.grid.AbstractGrid2D
 
downy(int, int) - Method in interface sim.field.grid.Grid2D
Hex down y.
downy(int, int) - Method in class sim.field.grid.SparseGrid2D
 
draw - Variable in class sim.portrayal.DrawInfo2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.FieldPortrayal2D
Draws the field with its origin at [info.draw.x,info.draw.y], relative to the scaled coordinate system defined by [info.draw.width,info.draw.height].
draw(Object, Graphics2D, DrawInfo2D) - Method in interface sim.portrayal.Portrayal2D
Draw a portrayed object centered at the origin in info, and with the given scaling factors.
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.SimplePortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.grid.FastValueGrid2DPortrayal
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
 
drx(int, int) - Method in class sim.field.grid.AbstractGrid2D
 
drx(int, int) - Method in interface sim.field.grid.Grid2D
Hex downright x.
drx(int, int) - Method in class sim.field.grid.SparseGrid2D
 
dry(int, int) - Method in class sim.field.grid.AbstractGrid2D
 
dry(int, int) - Method in interface sim.field.grid.Grid2D
Hex downright y.
dry(int, int) - Method in class sim.field.grid.SparseGrid2D
 

E

ENCODE_ALPHA - Static variable in class sim.util.media.PngEncoder
Constant specifying that alpha channel should be encoded.
EPOCH - Static variable in class sim.engine.Schedule
 
Edge - class sim.field.network.Edge.
An Edge stores a relationship between two objects in a NetworkField.
Edge(Edge) - Constructor for class sim.field.network.Edge
 
Edge(Object, Object, Object) - Constructor for class sim.field.network.Edge
 
EdgeDrawInfo2D - class sim.portrayal.network.EdgeDrawInfo2D.
An extension of DrawInfo2D for dealing with edges in visualizing network fields.
EdgeDrawInfo2D(Rectangle2D.Double, Rectangle2D.Double, Point2D.Double) - Constructor for class sim.portrayal.network.EdgeDrawInfo2D
 
ec.util - package ec.util
 
editedColor - Variable in class sim.util.gui.NumberTextField
 
editedColor - Variable in class sim.util.gui.PropertyField
 
encodeAlpha - Variable in class sim.util.media.PngEncoder
 
endPos - Variable in class sim.util.media.PngEncoder
 
ensureFileEndsWith(String, String) - Static method in class sim.display.Console
Returns a filename which is guaranteed to end with the given ending.
ensureFileEndsWith(String, String) - Static method in class sim.display.Display2D
Utility method.
ensureFileEndsWith(String, String) - Static method in class sim.display3d.Display3D
 
ensureFileEndsWith(String, String) - Static method in class sim.util.gui.MovieMaker
Utility method.
ensureRepaintHeader() - Method in class sim.display.Display2D
Force-repaints the header by running the repaint through an invokeLater(), which seems to be more stable than just calling header.repaint() directly.
equals(Object) - Method in class sim.util.Double2D
 
equals(Object) - Method in class sim.util.Double3D
 
equals(Object) - Method in class sim.util.Int2D
 
equals(Object) - Method in class sim.util.Int3D
 
extraIndex - Variable in class sim.portrayal.SimpleInspector
 
extraValue - Variable in class sim.portrayal.SimpleInspector
 
extractMin() - Method in class sim.util.Heap
Removes the minimum element and its key from the heap, and returns the minimum element.

F

FILTER_LAST - Static variable in class sim.util.media.PngEncoder
 
FILTER_NONE - Static variable in class sim.util.media.PngEncoder
Constants for filters
FILTER_SUB - Static variable in class sim.util.media.PngEncoder
 
FILTER_UP - Static variable in class sim.util.media.PngEncoder
 
FastValueGrid2DPortrayal - class sim.portrayal.grid.FastValueGrid2DPortrayal.
This class works like a ValueGrid2DPortrayal, except that it doesn't use an underlying Portrayal for the object (instead it always draws a rectangle), and may ignore the getColor() method, so you shouldn't override that method to customize the color function in nonlinear ways any more.
FastValueGrid2DPortrayal(String, boolean) - Constructor for class sim.portrayal.grid.FastValueGrid2DPortrayal
If assumeImmutableGrid is true, we presume that the grid doesn't change.
FastValueGrid2DPortrayal(String) - Constructor for class sim.portrayal.grid.FastValueGrid2DPortrayal
 
FastValueGrid2DPortrayal(boolean) - Constructor for class sim.portrayal.grid.FastValueGrid2DPortrayal
If assumeImmutableGrid is true, we presume that the grid doesn't change.
FastValueGrid2DPortrayal() - Constructor for class sim.portrayal.grid.FastValueGrid2DPortrayal
 
FieldPortrayal - class sim.portrayal.FieldPortrayal.
A FieldPortrayal is an object which knows how to portray some kind of Field.
FieldPortrayal() - Constructor for class sim.portrayal.FieldPortrayal
 
FieldPortrayal.CustomInspector - class sim.portrayal.FieldPortrayal.CustomInspector.
 
FieldPortrayal.CustomInspector(LocationWrapper, Inspector, GUIState) - Constructor for class sim.portrayal.FieldPortrayal.CustomInspector
 
FieldPortrayal2D - class sim.portrayal.FieldPortrayal2D.
Superclass of all Field Portrayals in 2D.
FieldPortrayal2D() - Constructor for class sim.portrayal.FieldPortrayal2D
 
FieldPortrayal3D - class sim.portrayal3d.FieldPortrayal3D.
Superclass of all Field Portrayals in J3D.
FieldPortrayal3D(Transform3D) - Constructor for class sim.portrayal3d.FieldPortrayal3D
 
FixPortrayal3D - class sim.portrayal3d.simple.FixPortrayal3D.
 
FixPortrayal3D(Node) - Constructor for class sim.portrayal3d.simple.FixPortrayal3D
 
f3d - Static variable in class sim.portrayal3d.simple.Arrow
 
field - Variable in class sim.field.grid.DoubleGrid2D
 
field - Variable in class sim.field.grid.DoubleGrid3D
 
field - Variable in class sim.field.grid.IntGrid2D
 
field - Variable in class sim.field.grid.IntGrid3D
 
field - Variable in class sim.field.grid.ObjectGrid2D
 
field - Variable in class sim.field.grid.ObjectGrid3D
 
field - Variable in class sim.portrayal.continuous.Continuous2DPortrayal
 
field - Variable in class sim.portrayal.grid.ObjectGrid2DPortrayal
 
field - Variable in class sim.portrayal.grid.SparseGrid2DPortrayal
 
field - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
field - Variable in class sim.portrayal.network.Network2DPortrayal
 
field - Variable in class sim.portrayal.network.SpatialNetwork2D
 
field - Variable in class sim.portrayal3d.SparseFieldPortrayal3D
 
field - Variable in class sim.portrayal3d.grid.ValueGrid2D3DPortrayal
 
fieldComponent - Variable in class sim.portrayal.FieldPortrayal.CustomInspector
 
fieldLabel - Variable in class sim.util.gui.NumberTextField
 
fieldPortrayal - Variable in class sim.portrayal.LocationWrapper
The field portrayal depicting this object
filter - Variable in class sim.util.media.PngEncoder
 
filterSub(byte[], int, int) - Method in class sim.util.media.PngEncoder
Perform "sub" filtering on the given row.
filterUp(byte[], int, int) - Method in class sim.util.media.PngEncoder
Perform "up" filtering on the given row.
finalize() - Method in class sim.display.Display2D
Quits the Display2D.
finalize() - Method in class sim.display3d.Display3D
 
finalize() - Method in class sim.engine.ParallelSequence
 
finish - Variable in class sim.display.GUIState
 
finish() - Method in class sim.display.GUIState
Called either at the proper or a premature end to the simulation.
finish() - Method in class sim.engine.SimState
Called either at the proper or a premature end to the simulation.
finishSize - Variable in class sim.display.GUIState
 
floor() - Method in class sim.field.grid.DoubleGrid2D
 
floor() - Method in class sim.field.grid.DoubleGrid3D
 
frame - Variable in class sim.display3d.Display3D
 
from() - Method in class sim.field.network.Edge
Returns the "from" object.
fromPaint - Variable in class sim.portrayal.network.SimpleEdgePortrayal2D
 
fromReals(double) - Method in class sim.engine.Schedule
Converts the reals "time" value into a long tick value -- this is NOT a cast.

G

GUIState - class sim.display.GUIState.
A wrapper for SimState and Schedule which provides additional functionality for GUI objects.
GUIState(SimState) - Constructor for class sim.display.GUIState
You may optionally override this constructor to call super(state) but you should be sure to override the no-argument GUIState() constructor as stipulated.
Grid2D - interface sim.field.grid.Grid2D.
Define basic neighborhood functions for 2D Grids.
Grid3D - interface sim.field.grid.Grid3D.
 
GridCellInfo - class sim.portrayal3d.grid.GridCellInfo.
 
GridCellInfo(Grid2D) - Constructor for class sim.portrayal3d.grid.GridCellInfo
 
GridCellInfo(Grid3D) - Constructor for class sim.portrayal3d.grid.GridCellInfo
 
GridCellInfo.DoubleGrid2DW - class sim.portrayal3d.grid.GridCellInfo.DoubleGrid2DW.
 
GridCellInfo.DoubleGrid2DW(DoubleGrid2D) - Constructor for class sim.portrayal3d.grid.GridCellInfo.DoubleGrid2DW
 
GridCellInfo.DoubleGrid3DW - class sim.portrayal3d.grid.GridCellInfo.DoubleGrid3DW.
 
GridCellInfo.DoubleGrid3DW(DoubleGrid3D) - Constructor for class sim.portrayal3d.grid.GridCellInfo.DoubleGrid3DW
 
GridCellInfo.Grid - interface sim.portrayal3d.grid.GridCellInfo.Grid.
Interface all grids should implement.
GridCellInfo.IntGrid2DW - class sim.portrayal3d.grid.GridCellInfo.IntGrid2DW.
 
GridCellInfo.IntGrid2DW(IntGrid2D) - Constructor for class sim.portrayal3d.grid.GridCellInfo.IntGrid2DW
 
GridCellInfo.IntGrid3DW - class sim.portrayal3d.grid.GridCellInfo.IntGrid3DW.
 
GridCellInfo.IntGrid3DW(IntGrid3D) - Constructor for class sim.portrayal3d.grid.GridCellInfo.IntGrid3DW
 
GridCellQuadPortrayal - class sim.portrayal3d.grid.fastgridcell.GridCellQuadPortrayal.
 
GridCellQuadPortrayal() - Constructor for class sim.portrayal3d.grid.fastgridcell.GridCellQuadPortrayal
 
GridDefaultTransform - class sim.portrayal3d.grid.GridDefaultTransform.
 
GridDefaultTransform() - Constructor for class sim.portrayal3d.grid.GridDefaultTransform
 
get(int, int) - Method in class sim.field.grid.DoubleGrid2D
 
get(int, int, int) - Method in class sim.field.grid.DoubleGrid3D
 
get(int, int) - Method in class sim.field.grid.IntGrid2D
 
get(int, int, int) - Method in class sim.field.grid.IntGrid3D
 
get(int, int) - Method in class sim.field.grid.ObjectGrid2D
 
get(int, int, int) - Method in class sim.field.grid.ObjectGrid3D
 
get(int) - Method in class sim.util.Bag
 
get(int) - Method in class sim.util.DoubleBag
 
get(int) - Method in class sim.util.IntBag
 
getAdjacencyList(boolean) - Method in class sim.field.network.NetworkField
Creates and returns an adjacency list.
getAllNodes() - Method in class sim.field.network.NetworkField
Returns all the objects in the Sparse Field.
getAllObjects() - Method in class sim.field.SparseField
Returns all the objects in the Sparse Field.
getBackdrop() - Method in class sim.display.Display2D
Returns the backdrop color or paint.
getBuffering() - Method in class sim.portrayal.grid.FastValueGrid2DPortrayal
 
getColor(double) - Method in class sim.portrayal.grid.FastValueGrid2DPortrayal
Why is this version final? Because in some cases we call it and in others we compute the color on our own -- thus we don't want to be inconsistent if the user attempts to subclass FastValueGrid2DPortrayal and change this method.
getColor(double) - Method in class sim.portrayal.grid.ValueGrid2DPortrayal
Override this if you'd like to customize the color for values in the portrayal.
getColor(double) - Method in interface sim.portrayal3d.ColorCoding
 
getColor(double) - Method in class sim.portrayal3d.SimpleColorInterpolator
Override this if you'd like to customize the color for values in the portrayal.
getCompressionLevel() - Method in class sim.util.media.PngEncoder
Retrieve compression level
getDefaultGrid2DTransform(double, double, double) - Static method in class sim.portrayal3d.grid.GridDefaultTransform
 
getDefaultGrid2DTransform(double, double) - Static method in class sim.portrayal3d.grid.GridDefaultTransform
 
getDefaultGrid3DTransform(double, double, double, double) - Static method in class sim.portrayal3d.grid.GridDefaultTransform
 
getDefaultGrid3DTransform(double, double, double) - Static method in class sim.portrayal3d.grid.GridDefaultTransform
 
getDefaultNullPortrayal() - Method in class sim.portrayal.FieldPortrayal
Returns a default portrayal for null.
getDefaultPortrayal() - Method in class sim.portrayal.FieldPortrayal
Should return a portrayal which can portray any object regardless of whether it's valid or not
getDefaultPortrayal() - Method in class sim.portrayal.continuous.Continuous2DPortrayal
 
getDefaultPortrayal() - Method in class sim.portrayal.grid.ObjectGrid2DPortrayal
 
getDefaultPortrayal() - Method in class sim.portrayal.grid.SparseGrid2DPortrayal
 
getDefaultPortrayal() - Method in class sim.portrayal.grid.ValueGrid2DPortrayal
 
getDefaultPortrayal() - Method in class sim.portrayal.network.Network2DPortrayal
 
getDefaultPortrayal() - Method in class sim.portrayal3d.SparseFieldPortrayal3D
 
getDefaultPortrayal() - Method in class sim.portrayal3d.grid.ValueGrid2D3DPortrayal
 
getDefaultTransform(double, double, double, double, double, double, double) - Static method in class sim.portrayal3d.DefaultTransform
 
getDefaultTransform(double, double, double, double, double, double) - Static method in class sim.portrayal3d.DefaultTransform
 
getDefaultTransform(double, double, double, double) - Static method in class sim.portrayal3d.DefaultTransform
 
getDefaultTransform(double, double, double) - Static method in class sim.portrayal3d.DefaultTransform
 
getEdgesIn(Object) - Method in class sim.field.network.NetworkField
Get all edges that enter a node.
getEdgesOut(Object) - Method in class sim.field.network.NetworkField
Get all edges that leave a node.
getEditedColor() - Method in class sim.util.gui.NumberTextField
 
getEditedColor() - Method in class sim.util.gui.PropertyField
 
getEncodeAlpha() - Method in class sim.util.media.PngEncoder
Retrieve alpha encoding status.
getEncodingFormats(float, BufferedImage) - Static method in class sim.util.media.MovieEncoder
Returns null and prints an error out to stderr if an error occurred while trying to get the formats
getField() - Method in class sim.field.grid.DoubleGrid2D
 
getField() - Method in class sim.portrayal.FieldPortrayal
Returns the current field.
getField() - Method in class sim.portrayal.continuous.Continuous2DPortrayal
 
getField() - Method in class sim.portrayal.grid.ObjectGrid2DPortrayal
 
getField() - Method in class sim.portrayal.grid.SparseGrid2DPortrayal
 
getField() - Method in class sim.portrayal.grid.ValueGrid2DPortrayal
 
getField() - Method in class sim.portrayal.network.Network2DPortrayal
 
getField() - Method in class sim.portrayal3d.continuous.Continuous3DPortrayal
 
getField() - Method in class sim.portrayal3d.grid.SparseGrid3DPortrayal
 
getField() - Method in class sim.portrayal3d.grid.ValueGrid2D3DPortrayal
 
getFieldPortrayal() - Method in class sim.portrayal.LocationWrapper
 
getFilter() - Method in class sim.util.media.PngEncoder
Retrieve filtering scheme
getFrameAsImage() - Method in class sim.display3d.CapturingCanvas3D
 
getHeight() - Method in class sim.field.continuous.Continuous2D
Get the height
getHeight() - Method in class sim.field.continuous.Continuous3D
Get the height
getHeight() - Method in class sim.field.grid.AbstractGrid2D
 
getHeight() - Method in class sim.field.grid.AbstractGrid3D
 
getHeight() - Method in interface sim.field.grid.Grid2D
Get the height
getHeight() - Method in interface sim.field.grid.Grid3D
Get the height
getHeight() - Method in class sim.field.grid.SparseGrid2D
 
getHeight() - Method in class sim.field.grid.SparseGrid3D
 
getHeight() - Method in class sim.portrayal.network.SpatialNetwork2D
 
getInfo() - Method in class sim.display.GUIState
Returns an HTML string which gives descriptive information about the system.
getInspector() - Method in class sim.display.GUIState
Returns an Inspector which allows the user to manipulate global model features, or null if no such Inspector is desired.
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.FieldPortrayal
 
getInspector(LocationWrapper, GUIState) - Method in interface sim.portrayal.Portrayal
Provide an inspector for an object.
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.SimplePortrayal2D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal3d.SimplePortrayal3D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal3d.grid.fastgridcell.GridCellQuadPortrayal
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal3d.simple.DirectionalLightPortrayal3D
 
getInterval() - Method in class sim.display.Display2D
Gets how many ticks are skipped before the display updates itself.
getInterval() - Method in class sim.display3d.Display3D
 
getLength() - Method in class sim.field.continuous.Continuous3D
Get the height
getLength() - Method in class sim.field.grid.AbstractGrid3D
 
getLength() - Method in interface sim.field.grid.Grid3D
Get the length
getLength() - Method in class sim.field.grid.SparseGrid3D
 
getLocation() - Method in class sim.portrayal.LocationWrapper
Override this to provide the current location
getLocationName() - Method in class sim.portrayal.LocationWrapper
Override this to provide the current location's name
getLocationOfObjectAsVector3d(Object) - Method in class sim.portrayal3d.SparseFieldPortrayal3D
Instead of allocating a new Vector3d for every call, reuse tmpVect, unless concurrecy is an issue.
getLocationOfObjectAsVector3d(Object) - Method in class sim.portrayal3d.continuous.Continuous3DPortrayal
 
getLocationOfObjectAsVector3d(Object) - Method in class sim.portrayal3d.grid.SparseGrid3DPortrayal
 
getMaximumsize() - Method in class sim.display.Display2D.InnerDisplay2D
Overloaded to return (width * scale, height * scale)
getMinKey() - Method in class sim.util.Heap
Returns the key value of the current min element.
getMinimumSize() - Method in class sim.display.Display2D.InnerDisplay2D
Overloaded to return (width * scale, height * scale)
getModel(Object, TransformGroup) - Method in interface sim.portrayal3d.Portrayal3D
If argument is null, it should behave like createModel; otherwise, it is updateModel.
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.SparseFieldPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.grid.ValueGrid2D3DPortrayal
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.Axes
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.CubePortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.DirectionalLightPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.FixPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.SpherePortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.WireFrameBoxPortrayal3D
 
getName() - Method in class sim.display.GUIState
Name of the simulation.
getName(LocationWrapper) - Method in class sim.portrayal.FieldPortrayal
 
getName(LocationWrapper) - Method in interface sim.portrayal.Portrayal
Returns a name for the given object that is useful for a human to distinguish it from other objects.
getName(LocationWrapper) - Method in class sim.portrayal.SimplePortrayal2D
 
getName(LocationWrapper) - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
 
getName(LocationWrapper) - Method in class sim.portrayal3d.SimplePortrayal3D
 
getName(LocationWrapper) - Method in class sim.portrayal3d.grid.ValueGrid2D3DPortrayal
 
getName(LocationWrapper) - Method in class sim.portrayal3d.grid.fastgridcell.GridCellQuadPortrayal
 
getName(LocationWrapper) - Method in class sim.portrayal3d.simple.DirectionalLightPortrayal3D
 
getName(int) - Method in class sim.util.CollectionProperties
 
getName(int) - Method in class sim.util.Properties
 
getName(int) - Method in class sim.util.SimpleProperties
Returns the name of the given property.
getNeighborsHamiltonianDistance(int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid2D
 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid3D
 
getNeighborsHamiltonianDistance(int, int, int, boolean, DoubleBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid2D
 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, DoubleBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid3D
 
getNeighborsHamiltonianDistance(int, int, int, boolean, IntBag, IntBag) - Method in interface sim.field.grid.Grid2D
 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in interface sim.field.grid.Grid3D
 
getNeighborsHamiltonianDistance(int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid2D
 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid3D
 
getNeighborsHamiltonianDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid3D
 
getNeighborsHamiltonianDistance(int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getNeighborsHamiltonianDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
getNeighborsHexagonalDistance(int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid2D
 
getNeighborsHexagonalDistance(int, int, int, boolean, DoubleBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid2D
 
getNeighborsHexagonalDistance(int, int, int, boolean, IntBag, IntBag) - Method in interface sim.field.grid.Grid2D
 
getNeighborsHexagonalDistance(int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid2D
 
getNeighborsHexagonalDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
 
getNeighborsHexagonalDistance(int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getNeighborsHexagonalDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getNeighborsMaxDistance(int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid2D
 
getNeighborsMaxDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid3D
 
getNeighborsMaxDistance(int, int, int, boolean, DoubleBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid2D
 
getNeighborsMaxDistance(int, int, int, int, boolean, DoubleBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid3D
 
getNeighborsMaxDistance(int, int, int, boolean, IntBag, IntBag) - Method in interface sim.field.grid.Grid2D
 
getNeighborsMaxDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in interface sim.field.grid.Grid3D
 
getNeighborsMaxDistance(int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid2D
 
getNeighborsMaxDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid3D
 
getNeighborsMaxDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
 
getNeighborsMaxDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid3D
 
getNeighborsMaxDistance(int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getNeighborsMaxDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getNeighborsMaxDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
getNeighborsMaxDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
getObject() - Method in class sim.portrayal.LocationWrapper
Override this to provide the current object
getObjectLocation(Object) - Method in class sim.field.continuous.Continuous2D
 
getObjectLocation(Object) - Method in class sim.field.continuous.Continuous3D
 
getObjectLocation(Object) - Method in class sim.field.grid.SparseGrid2D
 
getObjectLocation(Object) - Method in class sim.field.grid.SparseGrid3D
 
getObjectLocation(Object) - Method in class sim.portrayal.network.SpatialNetwork2D
 
getObjectLocationAsDouble2D(Object) - Method in class sim.field.grid.SparseGrid2D
 
getObjectLocationAsDouble3D(Object) - Method in class sim.field.grid.SparseGrid3D
 
getObjectsAtLocation(Object) - Method in class sim.field.SparseField
Returns a bag containing all the objects at a given location.
getObjectsAtLocation(int, int) - Method in class sim.field.grid.SparseGrid2D
 
getObjectsAtLocation(int, int, int) - Method in class sim.field.grid.SparseGrid3D
 
getObjectsAtLocations(Bag, Bag) - Method in class sim.field.SparseField
For each location, puts all object at that location into the result bag.
getObjectsAtLocations(IntBag, IntBag, Bag) - Method in class sim.field.grid.SparseGrid2D
For each location, puts all such objects into the result bag.
getObjectsAtLocations(IntBag, IntBag, IntBag, Bag) - Method in class sim.field.grid.SparseGrid3D
For each location, puts all such objects into the result bag.
getObjectsWithinDistance(Double2D, double) - Method in class sim.field.continuous.Continuous2D
Returns a bag containing AT LEAST those objects within the bounding box surrounding the specified distance of the specified position.
getObjectsWithinDistance(Double2D, double, boolean) - Method in class sim.field.continuous.Continuous2D
Returns a bag containing AT LEAST those objects within the bounding box surrounding the specified distance of the specified position.
getObjectsWithinDistance(Double2D, double, boolean, boolean) - Method in class sim.field.continuous.Continuous2D
Returns a bag containing AT LEAST those objects within the bounding box surrounding the specified distance of the specified position.
getObjectsWithinDistance(Double2D, double, boolean, boolean, Bag) - Method in class sim.field.continuous.Continuous2D
Puts into the result Bag (and returns it) AT LEAST those objects within the bounding box surrounding the specified distance of the specified position.
getObjectsWithinDistance(Double3D, double) - Method in class sim.field.continuous.Continuous3D
Returns a bag containing AT LEAST those objects within the bounding box surrounding the specified distance of the specified position.
getObjectsWithinDistance(Double3D, double, boolean) - Method in class sim.field.continuous.Continuous3D
Returns a bag containing AT LEAST those objects within the bounding box surrounding the specified distance of the specified position.
getObjectsWithinDistance(Double3D, double, boolean, boolean) - Method in class sim.field.continuous.Continuous3D
Returns a bag containing AT LEAST those objects within the bounding box surrounding the specified distance of the specified position.
getObjectsWithinDistance(Double3D, double, boolean, boolean, Bag) - Method in class sim.field.continuous.Continuous3D
Puts into the result Bag (and returns it) AT LEAST those objects within the bounding box surrounding the specified distance of the specified position.
getPlaySleep() - Method in class sim.display.Console
Gets how long we should sleep between each step in the play thread (in milliseconds).
getPoint() - Method in class sim.util.Int2D
 
getPolyAttributes() - Method in interface sim.portrayal3d.ConfigurablePolyPortrayal
 
getPolyAttributes() - Method in class sim.portrayal3d.grid.ValueGrid2D3DPortrayal
 
getPortrayalForAll() - Method in class sim.portrayal.FieldPortrayal
 
getPortrayalForNull() - Method in class sim.portrayal.FieldPortrayal
 
getPortrayalForObject(Object) - Method in class sim.portrayal.FieldPortrayal
Returns the appropriate Portrayal.
getPortrayalForRemainder() - Method in class sim.portrayal.FieldPortrayal
 
getPreferredScrollableViewportSize() - Method in class sim.util.gui.AbstractScrollable
 
getPreferredSize() - Method in class sim.display.Display2D.InnerDisplay2D
Overloaded to return (width * scale, height * scale)
getProperties(Object, boolean, boolean, boolean) - Static method in class sim.util.Properties
If expandCollections is true, then if object is a Map, Indexed, or Collection, then it will be treated using CollectionProperties.
getRawObjectLocation(Object) - Method in class sim.field.SparseField
Get the location of the provided object, or null if the object does not exist.
getScale() - Method in class sim.display.Display2D
Returns the scale (the zoom value) of the Display2D
getScrollableBlockIncrement(Rectangle, int, int) - Method in class sim.util.gui.AbstractScrollable
 
getScrollableTracksViewportHeight() - Method in class sim.util.gui.AbstractScrollable
 
getScrollableTracksViewportWidth() - Method in class sim.util.gui.AbstractScrollable
 
getScrollableUnitIncrement(Rectangle, int, int) - Method in class sim.util.gui.AbstractScrollable
 
getSimulationInspectedObject() - Method in class sim.display.GUIState
Returns an object with various property methods (getFoo(...), isFoo(...), setFoo(...)) whose properties will be accessible by the user.
getSpinnterpolator() - Method in class sim.display3d.Display3D
 
getSteps() - Method in class sim.engine.Schedule
 
getTabPane() - Method in class sim.display.Console
Simulations can call this to get access to the tabPane -- to add tabbed panes as they like.
getThreadPriority() - Method in class sim.display.Console
Get when the simulation should end.
getTimestamp(String, String) - Method in class sim.engine.Schedule
Returns the current time in string format.
getTransformForAxis(double, double, double) - Static method in class sim.display3d.Display3D
 
getType(int) - Method in class sim.util.CollectionProperties
 
getType(int) - Method in class sim.util.Properties
 
getType(int) - Method in class sim.util.SimpleProperties
Returns the return type of the property (see the TYPE_...
getTypeConversion(Class) - Method in class sim.util.Properties
 
getValue(int) - Method in class sim.util.Bag
identical to get(index)
getValue(int) - Method in class sim.util.CollectionProperties
 
getValue(int) - Method in class sim.util.DoubleBag
 
getValue(int) - Method in interface sim.util.Indexed
Throws an IndexOutOfBoundsException if index is inappropriate.
getValue(int) - Method in class sim.util.IntBag
 
getValue(int) - Method in class sim.util.Properties
 
getValue(int) - Method in class sim.util.SimpleProperties
Returns the current value of the property.
getValue() - Method in class sim.util.gui.NumberTextField
Returns the most recently set value.
getValue() - Method in class sim.util.gui.PropertyField
Returns the most recently set value.
getValueName() - Method in class sim.portrayal.grid.ValueGrid2DPortrayal
 
getWhenShouldEnd() - Method in class sim.display.Console
Get when the simulation should end.
getWhenShouldPause() - Method in class sim.display.Console
Get when the simulation should pause.
getWidth() - Method in class sim.field.continuous.Continuous2D
Get the width
getWidth() - Method in class sim.field.continuous.Continuous3D
Get the width
getWidth() - Method in class sim.field.grid.AbstractGrid2D
 
getWidth() - Method in class sim.field.grid.AbstractGrid3D
 
getWidth() - Method in interface sim.field.grid.Grid2D
Get the width
getWidth() - Method in interface sim.field.grid.Grid3D
Get the width
getWidth() - Method in class sim.field.grid.SparseGrid2D
 
getWidth() - Method in class sim.field.grid.SparseGrid3D
 
getWidth() - Method in class sim.portrayal.network.SpatialNetwork2D
 
getWrapper(Object) - Method in class sim.portrayal.continuous.Continuous2DPortrayal
 
getWrapper(Int2D) - Method in class sim.portrayal.grid.ObjectGrid2DPortrayal
 
getWrapper(Object) - Method in class sim.portrayal.grid.SparseGrid2DPortrayal
 
getWrapper(double, int, int) - Method in class sim.portrayal.grid.ValueGrid2DPortrayal
 
getWrapper(Edge) - Method in class sim.portrayal.network.Network2DPortrayal
 
getX() - Method in class sim.util.Double2D
 
getX() - Method in class sim.util.Double3D
 
getX() - Method in class sim.util.Int2D
 
getX() - Method in class sim.util.Int3D
 
getXaxis() - Method in class sim.display3d.Display3D
 
getY() - Method in class sim.util.Double2D
 
getY() - Method in class sim.util.Double3D
 
getY() - Method in class sim.util.Int2D
 
getY() - Method in class sim.util.Int3D
 
getYaxis() - Method in class sim.display3d.Display3D
 
getZ() - Method in class sim.util.Double3D
 
getZ() - Method in class sim.util.Int3D
 
getZaxis() - Method in class sim.display3d.Display3D
 
grid - Variable in class sim.portrayal.network.SpatialNetwork2D
 
grid - Variable in class sim.portrayal3d.grid.GridCellInfo
This could be Grid2D or Grid3D

H

HEXAGONAL_RATIO - Static variable in class sim.portrayal.grid.HexaObjectGrid2DPortrayal
The ratio of the width of a hexagon to its height: 1 / Sin(60 degrees), otherwise known as 2 / Sqrt(3)
HEXAGONAL_RATIO - Static variable in class sim.portrayal.grid.HexaSparseGrid2DPortrayal
The ratio of the width of a hexagon to its height: 1 / Sin(60 degrees), otherwise known as 2 / Sqrt(3)
Heap - class sim.util.Heap.
Implementations of Heap functions in Java.
Heap() - Constructor for class sim.util.Heap
 
Heap(long[], Object[], int) - Constructor for class sim.util.Heap
 
HexaDrawInfo2D - class sim.portrayal.HexaDrawInfo2D.
An extension of DrawInfo2D that contains 6 (x,y) points that indicate the exact coordinates of the vertexes of the hexagon (after rounding to int values).
HexaDrawInfo2D(Rectangle2D.Double, Rectangle2D.Double, int[], int[]) - Constructor for class sim.portrayal.HexaDrawInfo2D
 
HexaObjectGrid2DPortrayal - class sim.portrayal.grid.HexaObjectGrid2DPortrayal.
Portrayal for hexagonal grids (each cell has six equally-distanced neighbors) containing objects.
HexaObjectGrid2DPortrayal() - Constructor for class sim.portrayal.grid.HexaObjectGrid2DPortrayal
 
HexaSparseGrid2DPortrayal - class sim.portrayal.grid.HexaSparseGrid2DPortrayal.
Portrayal for hexagonal grids (each cell has six equally-distanced neighbors).
HexaSparseGrid2DPortrayal() - Constructor for class sim.portrayal.grid.HexaSparseGrid2DPortrayal
 
HexaSparseGrid2DPortrayal(DrawPolicy) - Constructor for class sim.portrayal.grid.HexaSparseGrid2DPortrayal
 
HexaValueGrid2DPortrayal - class sim.portrayal.grid.HexaValueGrid2DPortrayal.
Portrayal for hexagonal grids (each cell has six equally-distanced neighbors) with double-precision real values.
HexaValueGrid2DPortrayal() - Constructor for class sim.portrayal.grid.HexaValueGrid2DPortrayal
 
HexaValueGrid2DPortrayal(String) - Constructor for class sim.portrayal.grid.HexaValueGrid2DPortrayal
 
hashCode() - Method in class sim.util.Double2D
 
hashCode() - Method in class sim.util.Double3D
 
hashCode() - Method in class sim.util.Int2D
 
hashCode() - Method in class sim.util.Int3D
 
hashCodeFor(int, int) - Static method in class sim.util.Int2D
 
hashCodeFor(int, int, int) - Static method in class sim.util.Int3D
 
hdrPos - Variable in class sim.util.media.PngEncoder
 
height - Variable in class sim.display.Display2D.InnerDisplay2D
The height of the display when the scale is 1.0
height - Variable in class sim.field.continuous.Continuous2D
 
height - Variable in class sim.field.continuous.Continuous3D
 
height - Variable in class sim.field.grid.AbstractGrid2D
 
height - Variable in class sim.field.grid.AbstractGrid3D
 
height - Variable in class sim.field.grid.SparseGrid2D
 
height - Variable in class sim.field.grid.SparseGrid3D
 
height - Variable in class sim.util.media.PngEncoder
 
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.SimplePortrayal2D
If drawing area intersects selected area, return true.
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
 
hitObjects(DrawInfo2D, Bag) - Method in class sim.portrayal.FieldPortrayal2D
Adds to the provided Bag LocationWrappers for any objects which overlap the provided hit range.
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.FieldPortrayal2D
Instead of overriding the draw and hitObjects methods, you can optionally override this method to provide both the draw(...) and hitObjects(...) functionality in a single method, as it's common that these two methods have nearly identical code.
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.continuous.Continuous2DPortrayal
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.grid.HexaObjectGrid2DPortrayal
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.grid.HexaSparseGrid2DPortrayal
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.grid.HexaValueGrid2DPortrayal
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.grid.ObjectGrid2DPortrayal
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.grid.SparseGrid2DPortrayal
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.grid.ValueGrid2DPortrayal
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.network.Network2DPortrayal
 

I

I_BELLY - Static variable in class sim.util.gui.NumberTextField
 
I_BELLY_PRESSED - Static variable in class sim.util.gui.NumberTextField
 
I_DOWN - Static variable in class sim.util.gui.NumberTextField
 
I_DOWN_PRESSED - Static variable in class sim.util.gui.NumberTextField
 
I_PAUSE_OFF - Static variable in class sim.display.Console
 
I_PAUSE_ON - Static variable in class sim.display.Console
 
I_PLAY_OFF - Static variable in class sim.display.Console
 
I_PLAY_ON - Static variable in class sim.display.Console
 
I_STEP_OFF - Static variable in class sim.display.Console
 
I_STEP_ON - Static variable in class sim.display.Console
 
I_STOP_OFF - Static variable in class sim.display.Console
 
I_STOP_ON - Static variable in class sim.display.Console
 
I_UP - Static variable in class sim.util.gui.NumberTextField
 
I_UP_PRESSED - Static variable in class sim.util.gui.NumberTextField
 
Indexed - interface sim.util.Indexed.
A simple interface (simpler than List) for accessing random-access objects without changing their size.
InsertModelForNewObject(Object, Transform3D) - Method in class sim.portrayal3d.SparseFieldPortrayal3D
This function is called from createMode for each object in the field and from the updateModel part of getModel for the new objects.
Inspector - class sim.portrayal.Inspector.
An Inspector is a JPanel containing information about some object, and updates its displayed information when updateInspector() is called.
Inspector() - Constructor for class sim.portrayal.Inspector
 
Int2D - class sim.util.Int2D.
Int2D is more or less the same class as java.awt.Point, but it is immutable: once the x and y values are set, they cannot be changed (they're final).
Int2D() - Constructor for class sim.util.Int2D
 
Int2D(Point) - Constructor for class sim.util.Int2D
 
Int2D(int, int) - Constructor for class sim.util.Int2D
 
Int3D - class sim.util.Int3D.
 
Int3D() - Constructor for class sim.util.Int3D
 
Int3D(int, int, int) - Constructor for class sim.util.Int3D
 
Int3D(Int2D) - Constructor for class sim.util.Int3D
Explicitly assumes the z value is set to 0
Int3D(Int2D, int) - Constructor for class sim.util.Int3D
 
IntBag - class sim.util.IntBag.
Maintains a simple array (obj) of ints and the number of ints (numObjs) in the array (the array can be bigger than this number).
IntBag() - Constructor for class sim.util.IntBag
 
IntBag(IntBag) - Constructor for class sim.util.IntBag
Adds the ints from the other IntBag without copying them.
IntGrid2D - class sim.field.grid.IntGrid2D.
A wrapper for 2D arrays of ints.
IntGrid2D(int, int) - Constructor for class sim.field.grid.IntGrid2D
 
IntGrid2D(int, int, int) - Constructor for class sim.field.grid.IntGrid2D
 
IntGrid2D(IntGrid2D) - Constructor for class sim.field.grid.IntGrid2D
 
IntGrid3D - class sim.field.grid.IntGrid3D.
A wrapper for 3D arrays of ints.
IntGrid3D(int, int, int) - Constructor for class sim.field.grid.IntGrid3D
 
IntGrid3D(int, int, int, int) - Constructor for class sim.field.grid.IntGrid3D
 
IntGrid3D(IntGrid3D) - Constructor for class sim.field.grid.IntGrid3D
 
iconFor(String) - Static method in class sim.util.gui.NumberTextField
 
image - Variable in class sim.util.media.PngEncoder
 
in - Variable in class sim.field.network.NetworkField.IndexOutIn
 
increaseSubsteps(Steppable[]) - Method in class sim.display.GUIState
Roughly doubles the array size, retaining the existing elements
increaseSubsteps(Steppable[]) - Method in class sim.engine.Schedule
 
increaseSubsteps(Steppable[], int) - Method in class sim.engine.Schedule
 
index - Variable in class sim.field.SparseField.LocationAndIndex
 
index - Variable in class sim.field.network.NetworkField.IndexOutIn
 
indexOutInHash - Variable in class sim.field.network.NetworkField
Hashes NetworkField.IndexInOut structures by Node.
info - Variable in class sim.field.network.Edge
Other information (maybe cost) associated with the edge
informOfError(Throwable, String) - Method in class sim.display.Console
Pops up an error dialog box.
init(Controller) - Method in class sim.display.GUIState
Called to initialize (display) windows etc.
init() - Method in class sim.display.SimApplet
 
initialValue - Variable in class sim.util.gui.NumberTextField
 
insideDisplay - Variable in class sim.display.Display2D
The 2D display inside the scroll view.
interpolation - Variable in class sim.display.Display2D.OptionPane
 
intervalLock - Variable in class sim.display.Display2D
 
intervalLock - Variable in class sim.display3d.Display3D
 
is3D - Variable in class sim.portrayal3d.grid.GridCellInfo
this is equivalent to grid instanceof Grid3D, but cached
isApplet - Static variable in class sim.display.SimApplet
 
isClipping() - Method in class sim.display.Display2D
Returns true if the Display2D is clipping the drawing area to the user-specified height and width
isComposite(int) - Method in class sim.util.Properties
 
isEmpty() - Method in class sim.util.Bag
 
isEmpty() - Method in class sim.util.DoubleBag
 
isEmpty() - Method in class sim.util.Heap
 
isEmpty() - Method in class sim.util.IntBag
 
isInspectorVolatile() - Method in class sim.display.GUIState
Returns true if the inspector (if any) provided in getInspector() or via getSimulationInspectedObject() should be updated at each time tick (as opposed to updated only when the window needs repainting).
isMacOSX - Static variable in class sim.display.Display2D
Set to true if we're running on a Mac
isReadWrite(int) - Method in class sim.util.CollectionProperties
 
isReadWrite(int) - Method in class sim.util.Properties
 
isReadWrite(int) - Method in class sim.util.SimpleProperties
Returns whether or not the property can be written as well as read Returns false if the index is out of the range [0 ...
isVolatile() - Method in class sim.util.CollectionProperties
 
isVolatile() - Method in class sim.util.Properties
Returns true if the number or order of properties could change at any time
isVolatile() - Method in class sim.util.SimpleProperties
 
isWindows - Static variable in class sim.display.Display2D
Set to true if we're running on Windows
iterator() - Method in class sim.field.SparseField
Iterates over all objects.
iterator() - Method in class sim.field.network.NetworkField
Iterates over all objects.
iterator() - Method in class sim.util.Bag
NOT fail-fast, and remove() not supported.

K

keepOnWriting_ - Variable in class sim.display3d.CapturingCanvas3D
 

L

LARGE_BAG_RATIO - Static variable in class sim.field.SparseField
A bag must be larger than this amount times the capacity before it is eliminated if replaceLargeBags is true
LAYERS_ICON - Static variable in class sim.display.Display2D
 
LabelledList - class sim.util.gui.LabelledList.
LabelledList is a JPanel which makes it easy to set up two columns of Components.
LabelledList() - Constructor for class sim.util.gui.LabelledList
 
LabelledList(String) - Constructor for class sim.util.gui.LabelledList
Creates a Labelled List with a provided border label.
LocationWrapper - class sim.portrayal.LocationWrapper.
A LocationWrapper is used to embody the objects stored in a FieldPortrayal; for example, those returned by a hitObjects test on a FieldPortrayal2D.
LocationWrapper(Object, Object, FieldPortrayal) - Constructor for class sim.portrayal.LocationWrapper
 
labelFont - Variable in class sim.portrayal.network.SimpleEdgePortrayal2D
 
labelPaint - Variable in class sim.portrayal.network.SimpleEdgePortrayal2D
 
lastObject - Variable in class sim.portrayal.FieldPortrayal.CustomInspector
 
leftBytes - Variable in class sim.util.media.PngEncoder
 
len - Variable in class sim.portrayal.SimpleInspector
 
length - Variable in class sim.field.continuous.Continuous3D
 
length - Variable in class sim.field.grid.AbstractGrid3D
 
length - Variable in class sim.field.grid.SparseGrid3D
 
listener - Variable in class sim.util.gui.NumberTextField
 
listener - Variable in class sim.util.gui.PropertyField
 
load(SimState) - Method in class sim.display.GUIState
Called by the Console when the user is loading in a new state from a checkpoint.
location - Variable in class sim.field.SparseField.LocationAndIndex
 
location - Variable in class sim.portrayal.LocationWrapper
The ORIGINAL location of the object
locationAndIndexHash - Variable in class sim.field.SparseField
LocationAndIndex objects (locations and indexes into the allObjects array) hashed by Object
locationBagIterator() - Method in class sim.field.SparseField
Iterates [somewhat inefficiently] over all bags of objects grouped by location.
lowerBound(double) - Method in class sim.field.grid.DoubleGrid2D
 
lowerBound(double) - Method in class sim.field.grid.DoubleGrid3D
 
lowerBound(int) - Method in class sim.field.grid.IntGrid2D
 
lowerBound(int) - Method in class sim.field.grid.IntGrid3D
 

M

MAX_PROPERTIES - Static variable in class sim.portrayal.SimpleInspector
 
MIN_BAG_SIZE - Static variable in class sim.field.SparseField
No bags smaller than this size will be replaced regardless of the setting of replaceLargeBags
MOVIE_OFF_ICON - Static variable in class sim.display.Display2D
 
MOVIE_ON_ICON - Static variable in class sim.display.Display2D
 
MersenneTwister - class ec.util.MersenneTwister.
MersenneTwister and MersenneTwisterFast
MersenneTwister() - Constructor for class ec.util.MersenneTwister
Constructor using the default seed.
MersenneTwister(long) - Constructor for class ec.util.MersenneTwister
Constructor using a given seed.
MersenneTwister(int[]) - Constructor for class ec.util.MersenneTwister
Constructor using an array.
MeshCellPortrayal - class sim.portrayal3d.grid.fastgridcell.MeshCellPortrayal.
 
MeshCellPortrayal(int, ColorCoding, int, int) - Constructor for class sim.portrayal3d.grid.fastgridcell.MeshCellPortrayal
 
MovieEncoder - class sim.util.media.MovieEncoder.
Usage of this class depends on the existence of the Java Media Framework (JMF) which can be acquired from javasoft.com.
MovieEncoder(float, File, BufferedImage, Format) - Constructor for class sim.util.media.MovieEncoder
Creates an object which will write out a move of the specified format, and written to the provided file.
MovieMaker - class sim.util.gui.MovieMaker.
 
MovieMaker(Frame) - Constructor for class sim.util.gui.MovieMaker
 
MultiStep - class sim.engine.MultiStep.
MultiStep takes an integer N, a boolean called countdown, and a steppable.
MultiStep(Steppable, int, boolean) - Constructor for class sim.engine.MultiStep
If countdown is true, then we call step.step(...) once every N times we're stepped.
MutableDouble - class sim.util.MutableDouble.
MutableDouble simply holds a double value, which can be changed at any time.
MutableDouble(double) - Constructor for class sim.util.MutableDouble
 
MutableDouble(MutableDouble) - Constructor for class sim.util.MutableDouble
 
main(String[]) - Static method in class ec.util.MersenneTwister
Tests the code.
max() - Method in class sim.field.grid.DoubleGrid2D
 
max() - Method in class sim.field.grid.DoubleGrid3D
 
max() - Method in class sim.field.grid.IntGrid2D
 
max() - Method in class sim.field.grid.IntGrid3D
 
maxAlpha - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
maxAlpha - Variable in class sim.portrayal3d.SimpleColorInterpolator
 
maxBlue - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
maxBlue - Variable in class sim.portrayal3d.SimpleColorInterpolator
 
maxGreen - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
maxGreen - Variable in class sim.portrayal3d.SimpleColorInterpolator
 
maxLevel - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
maxLevel - Variable in class sim.portrayal3d.SimpleColorInterpolator
 
maxPos - Variable in class sim.util.media.PngEncoder
 
maxRed - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
maxRed - Variable in class sim.portrayal3d.SimpleColorInterpolator
 
mean() - Method in class sim.field.grid.DoubleGrid2D
 
mean() - Method in class sim.field.grid.DoubleGrid3D
 
mean() - Method in class sim.field.grid.IntGrid2D
 
mean() - Method in class sim.field.grid.IntGrid3D
 
members - Variable in class sim.portrayal.SimpleInspector
 
min() - Method in class sim.field.grid.DoubleGrid2D
 
min() - Method in class sim.field.grid.DoubleGrid3D
 
min() - Method in class sim.field.grid.IntGrid2D
 
min() - Method in class sim.field.grid.IntGrid3D
 
minAlpha - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
minAlpha - Variable in class sim.portrayal3d.SimpleColorInterpolator
 
minBlue - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
minBlue - Variable in class sim.portrayal3d.SimpleColorInterpolator
 
minColor - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
minColor - Variable in class sim.portrayal3d.SimpleColorInterpolator
 
minGreen - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
minGreen - Variable in class sim.portrayal3d.SimpleColorInterpolator
 
minLevel - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
minLevel - Variable in class sim.portrayal3d.SimpleColorInterpolator
 
minRed - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
minRed - Variable in class sim.portrayal3d.SimpleColorInterpolator
 
movieMaker - Variable in class sim.display.Display2D
Our movie maker, if one is running, else null.
movmaker - Variable in class sim.display3d.Display3D
 
multiply(double) - Method in class sim.field.grid.DoubleGrid2D
 
multiply(IntGrid2D) - Method in class sim.field.grid.DoubleGrid2D
 
multiply(DoubleGrid2D) - Method in class sim.field.grid.DoubleGrid2D
 
multiply(double) - Method in class sim.field.grid.DoubleGrid3D
 
multiply(IntGrid3D) - Method in class sim.field.grid.DoubleGrid3D
 
multiply(DoubleGrid3D) - Method in class sim.field.grid.DoubleGrid3D
 
multiply(int) - Method in class sim.field.grid.IntGrid2D
 
multiply(IntGrid2D) - Method in class sim.field.grid.IntGrid2D
 
multiply(int) - Method in class sim.field.grid.IntGrid3D
 
multiply(IntGrid3D) - Method in class sim.field.grid.IntGrid3D
 
multiply - Variable in class sim.util.gui.NumberTextField
 

N

NO_ALPHA - Static variable in class sim.util.media.PngEncoder
Constant specifying that alpha channel should not be encoded.
Network2DPortrayal - class sim.portrayal.network.Network2DPortrayal.
Portrays network fields.
Network2DPortrayal() - Constructor for class sim.portrayal.network.Network2DPortrayal
 
NetworkField - class sim.field.network.NetworkField.
The NetworkField is a field which stores binary graph structures of all kinds, using hash tables to allow reasonably rapid dynamic modification.
NetworkField() - Constructor for class sim.field.network.NetworkField
 
NetworkField.IndexOutIn - class sim.field.network.NetworkField.IndexOutIn.
The structure stored in the indexOutInHash hash table.
NetworkField.IndexOutIn(int, Bag, Bag) - Constructor for class sim.field.network.NetworkField.IndexOutIn
 
NoZGridCellPortrayal - class sim.portrayal3d.grid.fastgridcell.NoZGridCellPortrayal.
 
NoZGridCellPortrayal(int, ColorCoding) - Constructor for class sim.portrayal3d.grid.fastgridcell.NoZGridCellPortrayal
 
NumberTextField - class sim.util.gui.NumberTextField.
A simple class that lets you specify a label and validate a numerical value.
NumberTextField(double) - Constructor for class sim.util.gui.NumberTextField
Creates a NumberTextField which does not display the belly button or arrows.
NumberTextField(double, boolean) - Constructor for class sim.util.gui.NumberTextField
Creates a NumberTextField which (if doubleEachTime) doubles or halves the current value, or (if not doubleEachTime) increases or decreases by 1 each time.
NumberTextField(double, double, double) - Constructor for class sim.util.gui.NumberTextField
Creates a NumberTextField according to the provided parameters.
NumberTextField(String, double, boolean) - Constructor for class sim.util.gui.NumberTextField
Creates a NumberTextField with a provided label.
NumberTextField(String, double, double, double) - Constructor for class sim.util.gui.NumberTextField
Creates a NumberTextField with a provided label.
name - Variable in class sim.portrayal.SimpleInspector
 
network - Variable in class sim.portrayal.network.SpatialNetwork2D
 
newValue(int, int, double) - Method in class sim.portrayal.grid.ValueGrid2DPortrayal
This method is called by the default inspector to filter new values set by the user.
newValue(double) - Method in class sim.util.gui.NumberTextField
Override this to be informed when a new value has been set.
newValue(String) - Method in class sim.util.gui.PropertyField
Override this to be informed when a new value has been set.
next(int) - Method in class ec.util.MersenneTwister
Returns an integer with bits bits filled with a random number.
next - Variable in class sim.engine.Schedule
 
nextBoolean() - Method in class ec.util.MersenneTwister
This method is missing from jdk 1.0.x and below.
nextBoolean(float) - Method in class ec.util.MersenneTwister
This generates a coin flip with a probability probability of returning true, else returning false.
nextBoolean(double) - Method in class ec.util.MersenneTwister
This generates a coin flip with a probability probability of returning true, else returning false.
nextByte() - Method in class ec.util.MersenneTwister
For completeness' sake, though it's not in java.util.Random.
nextBytes(byte[]) - Method in class ec.util.MersenneTwister
A bug fix for all versions of the JDK.
nextChar() - Method in class ec.util.MersenneTwister
For completeness' sake, though it's not in java.util.Random.
nextDouble() - Method in class ec.util.MersenneTwister
A bug fix for versions of JDK 1.1 and below.
nextFloat() - Method in class ec.util.MersenneTwister
A bug fix for versions of JDK 1.1 and below.
nextGaussian() - Method in class ec.util.MersenneTwister
A bug fix for all JDK code including 1.2.
nextInt(int) - Method in class ec.util.MersenneTwister
This method is missing from JDK 1.1 and below.
nextLong(long) - Method in class ec.util.MersenneTwister
This method is for completness' sake.
nextShort() - Method in class ec.util.MersenneTwister
For completeness' sake, though it's not in java.util.Random.
numNext - Variable in class sim.engine.Schedule
 
numObjs - Variable in class sim.util.Bag
 
numObjs - Variable in class sim.util.DoubleBag
 
numObjs - Variable in class sim.util.IntBag
 
numProperties() - Method in class sim.util.CollectionProperties
 
numProperties() - Method in class sim.util.Properties
 
numProperties() - Method in class sim.util.SimpleProperties
Returns the number of properties discovered
numSubsteps - Variable in class sim.engine.Schedule
 

O

OPTIONS_ICON - Static variable in class sim.display.Display2D
 
ObjectGrid2D - class sim.field.grid.ObjectGrid2D.
A storage facility for objects.
ObjectGrid2D(int, int) - Constructor for class sim.field.grid.ObjectGrid2D
 
ObjectGrid2D(int, int, Object) - Constructor for class sim.field.grid.ObjectGrid2D
 
ObjectGrid2D(ObjectGrid2D) - Constructor for class sim.field.grid.ObjectGrid2D
 
ObjectGrid2DPortrayal - class sim.portrayal.grid.ObjectGrid2DPortrayal.
A portrayal for grids containing objects, such as maybe agents or agent bodies.
ObjectGrid2DPortrayal() - Constructor for class sim.portrayal.grid.ObjectGrid2DPortrayal
 
ObjectGrid3D - class sim.field.grid.ObjectGrid3D.
A storage facility for objects.
ObjectGrid3D(int, int, int) - Constructor for class sim.field.grid.ObjectGrid3D
 
ObjectGrid3D(int, int, int, Object) - Constructor for class sim.field.grid.ObjectGrid3D
 
ObjectGrid3D(ObjectGrid3D) - Constructor for class sim.field.grid.ObjectGrid3D
 
object - Variable in class sim.portrayal.LocationWrapper
The ORIGINAL object
object - Variable in class sim.portrayal.SimpleInspector
 
objectHash - Variable in class sim.field.SparseField
Bags of objects hashed by location.
objectInspector - Variable in class sim.portrayal.FieldPortrayal.CustomInspector
 
objectToDraw(Bag, Bag) - Method in interface sim.portrayal.grid.DrawPolicy
Give the bag fromHere (which you should NOT MODIFY), which contains objects all occupying the same location, add to the bag addtoHere only those objects you wish to be drawn, then return DONE.
objectsHitBy(Rectangle2D.Double) - Method in class sim.display.Display2D
Returns LocationWrappers for all the objects which fall within the coordinate rectangle specified by rect.
objs - Variable in class sim.util.Bag
 
objs - Variable in class sim.util.DoubleBag
 
objs - Variable in class sim.util.IntBag
 
optionPane - Variable in class sim.display.Display2D
Our option pane
out - Variable in class sim.field.network.NetworkField.IndexOutIn
 
overallT - Variable in class sim.portrayal3d.FieldPortrayal3D
It defines overallT, a Transform3D object that allows the user to handle aspects inside the scene graph, for instance, set the size of an object displayed inside a field, when size is not relevant for the simulation per se.
owner() - Method in class sim.field.network.Edge
Returns the "owner" field.

P

PS_PAUSED - Static variable in class sim.display.Console
The play thread is presently paused.
PS_PLAYING - Static variable in class sim.display.Console
The play thread is presently playing.
PS_STOPPED - Static variable in class sim.display.Console
The play thread is presently stopped.
ParallelSequence - class sim.engine.ParallelSequence.
Spawns all the sequence elements in parallel on separate threads.
ParallelSequence(Steppable[]) - Constructor for class sim.engine.ParallelSequence
 
PngEncoder - class sim.util.media.PngEncoder.
 
PngEncoder() - Constructor for class sim.util.media.PngEncoder
Class constructor
PngEncoder(Image) - Constructor for class sim.util.media.PngEncoder
Class constructor specifying Image to encode, with no alpha channel encoding.
PngEncoder(Image, boolean) - Constructor for class sim.util.media.PngEncoder
Class constructor specifying Image to encode, and whether to encode alpha.
PngEncoder(Image, boolean, int) - Constructor for class sim.util.media.PngEncoder
Class constructor specifying Image to encode, whether to encode alpha, and filter to use.
PngEncoder(Image, boolean, int, int) - Constructor for class sim.util.media.PngEncoder
Class constructor specifying Image source to encode, whether to encode alpha, filter to use, and compression level.
Portrayal - interface sim.portrayal.Portrayal.
A common interface for portrayal classes.
Portrayal2D - interface sim.portrayal.Portrayal2D.
The basic 2D portrayal interface.
Portrayal3D - interface sim.portrayal3d.Portrayal3D.
A PortrayalJ3D is a Portrayal that produces Java3D models.
Properties - class sim.util.Properties.
Inspects an object and returns a list of variables for which there are get and possibly set methods.
Properties() - Constructor for class sim.util.Properties
 
PropertyField - class sim.util.gui.PropertyField.
A simple class that lets you specify a label and validate a string.
PropertyField() - Constructor for class sim.util.gui.PropertyField
 
PropertyField(String) - Constructor for class sim.util.gui.PropertyField
This looks just like a JTextField
PropertyField(String, boolean) - Constructor for class sim.util.gui.PropertyField
if isReadWrite is false, then this looks just like a JLabel; else it looks just like a JTextField
PropertyField(String, String) - Constructor for class sim.util.gui.PropertyField
 
PropertyField(String, String, boolean) - Constructor for class sim.util.gui.PropertyField
 
PropertyField(String, String, boolean, int) - Constructor for class sim.util.gui.PropertyField
If show is SHOW_CHECKBOX, a checkbox will be shown (expecting "true" and "false" string values).
Proxiable - interface sim.util.Proxiable.
A proxiable object is one which provides SimpleProperties with a proxy to stand in for it; that is, to have the proxy's properties inspected instead of the object itself.
paint(Graphics, boolean) - Method in class sim.display.Display2D.InnerDisplay2D
Paints an image to the screen either buffered or unbuffered.
paintComponent(Graphics) - Method in class sim.display.Display2D.InnerDisplay2D
Swing's equivalent of paint(Graphics g).
paintComponent(Graphics, boolean) - Method in class sim.display.Display2D.InnerDisplay2D
The top-level repainting method.
paintToMovie() - Method in class sim.display.Display2D.InnerDisplay2D
Paints a movie, by writing it to the screen buffered, then encoding the buffer to disk.
pngBytes - Variable in class sim.util.media.PngEncoder
 
pngEncode(boolean) - Method in class sim.util.media.PngEncoder
Creates an array of bytes that is the PNG equivalent of the current image, specifying whether to encode alpha or not.
pngEncode() - Method in class sim.util.media.PngEncoder
Creates an array of bytes that is the PNG equivalent of the current image.
policy - Variable in class sim.portrayal.grid.SparseGrid2DPortrayal
 
pop() - Method in class sim.util.Bag
Returns null if the Bag is empty, else removes and returns the topmost object.
pop() - Method in class sim.util.DoubleBag
Returns 0 if the DoubleBag is empty, else removes and returns the topmost double.
pop() - Method in class sim.util.IntBag
Returns 0 if the IntBag is empty, else removes and returns the topmost int.
portray(Object) - Method in class sim.portrayal3d.SparseFieldPortrayal3D
 
portrayalForAll - Variable in class sim.portrayal.FieldPortrayal
 
portrayalForNull - Variable in class sim.portrayal.FieldPortrayal
 
portrayalForRemainder - Variable in class sim.portrayal.FieldPortrayal
 
portrayals - Variable in class sim.portrayal.FieldPortrayal
 
positions - Variable in class sim.portrayal.FieldPortrayal.CustomInspector
 
postCheckpoint() - Method in class sim.engine.SimState
Called just after the SimState was checkpointed (serialized out to a file to be unserialized and fired up at a future time).
postRender() - Method in class sim.display3d.CapturingCanvas3D
 
postSwap() - Method in class sim.display3d.CapturingCanvas3D
 
preCheckpoint() - Method in class sim.engine.SimState
Called just before the SimState is being checkpointed (serialized out to a file to be unserialized and fired up at a future time).
pressPause() - Method in class sim.display.Console
Called when the user presses the pause button.
pressPlay() - Method in class sim.display.Console
Called when the user presses the play button.
pressStop() - Method in class sim.display.Console
Called when the user presses the stop button.
printT3D(Transform3D) - Static method in class sim.display3d.Display3D
 
priorRow - Variable in class sim.util.media.PngEncoder
 
processStimulus(Enumeration) - Method in class sim.display3d.SelectionBehavior
Disregard all stistimuli other than Dbl-Click
properties - Variable in class sim.portrayal.SimpleInspector
 
propertiesProxy() - Method in interface sim.util.Proxiable
 
propertyList - Variable in class sim.portrayal.SimpleInspector
 
push(Object) - Method in class sim.util.Bag
Synonym for add(obj) -- stylistically, you should add instead unless you want to think of the Bag as a stack.
push(double) - Method in class sim.util.DoubleBag
Synonym for add(obj) -- try to use add instead unless you want to think of the DoubleBag as a stack.
push(int) - Method in class sim.util.IntBag
Synonym for add(obj) -- try to use add instead unless you want to think of the IntBag as a stack.

Q

queue - Variable in class sim.engine.Schedule
 
quit() - Method in class sim.display.Display2D
Quits the Display2D.
quit() - Method in class sim.display.GUIState
Called by the Console when the user is quitting the SimState.
quit() - Method in class sim.display3d.Display3D
Quits the Display3D.

R

RandomSequence - class sim.engine.RandomSequence.
RandomSequence is a Sequence which executes its Steppable objects in random order each time.
RandomSequence(Steppable[]) - Constructor for class sim.engine.RandomSequence
Does not synchronize on the random number generator
RandomSequence(Steppable[], boolean) - Constructor for class sim.engine.RandomSequence
Synchronizes on the random number generator only if shouldSynchronize is true
random - Variable in class sim.engine.SimState
The SimState's random number generator
readFromCheckpoint(File) - Static method in class sim.engine.SimState
Creates a SimState from checkpoint.
readFromCheckpoint(InputStream) - Static method in class sim.engine.SimState
Creates and returns a new SimState object read in from the provided stream.
readNewStateFromCheckpoint(File) - Method in class sim.display.GUIState
Loads a new SimState from the provided file.
readOnlyValField - Variable in class sim.util.gui.PropertyField
 
refresh() - Method in class sim.display.Console
 
refresh() - Method in interface sim.display.Controller
Lazily updates and redraws all the displays and inspectors.
refreshBoundsOnBehaviors() - Method in class sim.display3d.Display3D
 
registerFrame(JFrame) - Method in class sim.display.Console
Simulations can call this to add a frame to be listed in the "Display list" of the console
registerFrame(JFrame) - Method in interface sim.display.Controller
Simulations can call this to add a frame to be listed in the "Display list" of the Controller.
remove(Object) - Method in class sim.field.SparseField
Removes an object if it exists.
remove(Object) - Method in class sim.field.continuous.Continuous2D
 
remove(Object) - Method in class sim.field.continuous.Continuous3D
 
remove(Object) - Method in class sim.util.Bag
 
remove(int) - Method in class sim.util.Bag
Removes the object at the given index, moving the topmost object into its position.
remove(int) - Method in class sim.util.DoubleBag
Removes the double at the given index, moving the topmost double into its position.
remove(int) - Method in class sim.util.IntBag
Removes the int at the given index, moving the topmost int into its position.
removeAll(Collection) - Method in class sim.util.Bag
 
removeAllInspectors(boolean) - Method in class sim.display.Console
Removes all inspectors.
removeAllNodes() - Method in class sim.field.network.NetworkField
Removes all nodes, deleting all edges from the Field as well.
removeEdge(Edge) - Method in class sim.field.network.NetworkField
Removes an edge and returns it.
removeEmptyBags - Variable in class sim.field.SparseField
Should we remove bags in the field if they have been emptied, and let them GC, or should we keep them around? This doesn't include the allObjects bag.
removeMultiply(Object) - Method in class sim.util.Bag
Removes multiple instantiations of an object
removeNode(Object) - Method in class sim.field.network.NetworkField
Removes a node, deleting all incoming and outgoing edges from the Field as well.
removeNondestructively(int) - Method in class sim.util.Bag
Removes the object at the given index, shifting the other objects down.
removeNondestructively(int) - Method in class sim.util.DoubleBag
Removes the double at the given index, shifting the other doubles down.
removeNondestructively(int) - Method in class sim.util.IntBag
Removes the int at the given index, shifting the other ints down.
removeObjectsAtLocation(Object) - Method in class sim.field.SparseField
Removes objects at the given location, and returns a bag of them, or null.
removeObjectsAtLocation(int, int) - Method in class sim.field.grid.SparseGrid2D
 
removeObjectsAtLocation(Int2D) - Method in class sim.field.grid.SparseGrid2D
 
removeObjectsAtLocation(int, int, int) - Method in class sim.field.grid.SparseGrid3D
 
removeObjectsAtLocation(Int3D) - Method in class sim.field.grid.SparseGrid3D
 
replaceLargeBags - Variable in class sim.field.SparseField
When a bag drops to one quarter capacity, should we replace it with a new bag? This doesn't include the allObjects bag.
reset() - Method in class sim.display.Display2D
Resets the Display2D so it reschedules itself.
reset(SimState) - Method in class sim.display.GUIState
Empties out the schedule and resets it to a pristine state BEFORE_SIMULATION.
reset() - Method in class sim.display3d.Display3D
Resets the Display3D so it reschedules itself.
reset() - Method in class sim.engine.Schedule
Empties out the schedule and resets it to a pristine state BEFORE_SIMULATION, with steps = 0.
reset() - Method in class sim.portrayal.grid.FastValueGrid2DPortrayal
 
resetCountdown() - Method in class sim.engine.MultiStep
If we're counting down, then this resets the countdown.
resetQueues() - Method in class sim.display.GUIState
Don't call this unless you know what you're doing.
resetQueues(int) - Method in class sim.engine.Schedule
 
resize(int) - Method in class sim.util.Bag
 
resize(int) - Method in class sim.util.DoubleBag
 
resize(int) - Method in class sim.util.IntBag
 
resizeByteArray(byte[], int) - Method in class sim.util.media.PngEncoder
Increase or decrease the length of a byte array.
retainAll(Collection) - Method in class sim.util.Bag
 
rint() - Method in class sim.field.grid.DoubleGrid2D
 
rint() - Method in class sim.field.grid.DoubleGrid3D
 
run() - Method in class sim.display3d.SelectionBehavior.SetInspectorsRunnable
 

S

SHOW_CHECKBOX - Static variable in class sim.util.gui.PropertyField
 
SHOW_TEXTFIELD - Static variable in class sim.util.gui.PropertyField
 
SHOW_VIEWBUTTON - Static variable in class sim.util.gui.PropertyField
 
Schedule - class sim.engine.Schedule.
Schedule defines a scheduling queue in which events can be scheduled to occur after some number of "ticks" of a clock which the schedule maintains.
Schedule(int) - Constructor for class sim.engine.Schedule
 
Schedule() - Constructor for class sim.engine.Schedule
Creates a Schedule with a single order
SelectionBehavior - class sim.display3d.SelectionBehavior.
 
SelectionBehavior(Canvas3D, BranchGroup, Bounds, GUIState) - Constructor for class sim.display3d.SelectionBehavior
Constructor for SelectionBehavior.
SelectionBehavior.SetInspectorsRunnable - class sim.display3d.SelectionBehavior.SetInspectorsRunnable.
 
SelectionBehavior.SetInspectorsRunnable(Controller, Bag, Bag) - Constructor for class sim.display3d.SelectionBehavior.SetInspectorsRunnable
 
Sequence - class sim.engine.Sequence.
Sequence is a Steppable which, on being stepped, in turn stepps several other Steppable objects in turn.
Sequence(Steppable[]) - Constructor for class sim.engine.Sequence
Assumes all the steps are filled.
SimApplet - class sim.display.SimApplet.
A simple class for creating Applets out of your simulations.
SimApplet() - Constructor for class sim.display.SimApplet
 
SimState - class sim.engine.SimState.
SimState represents the simulation proper.
SimState(MersenneTwisterFast, Schedule) - Constructor for class sim.engine.SimState
 
SimpleColorInterpolator - class sim.portrayal3d.SimpleColorInterpolator.
 
SimpleColorInterpolator() - Constructor for class sim.portrayal3d.SimpleColorInterpolator
 
SimpleColorInterpolator(Color[]) - Constructor for class sim.portrayal3d.SimpleColorInterpolator
 
SimpleEdgePortrayal2D - class sim.portrayal.network.SimpleEdgePortrayal2D.
 
SimpleEdgePortrayal2D() - Constructor for class sim.portrayal.network.SimpleEdgePortrayal2D
Draws a single-color, undirected black line with no label.
SimpleEdgePortrayal2D(Paint, Paint, Paint) - Constructor for class sim.portrayal.network.SimpleEdgePortrayal2D
If fromPaint == toPaint, one single color line will be drawn, and if labelPaint is null, no label is drawn.
SimpleEdgePortrayal2D(Paint, Paint, Paint, Font) - Constructor for class sim.portrayal.network.SimpleEdgePortrayal2D
If fromPaint == toPaint, one single color line will be drawn, and if labelPaint is null, no label is drawn.
SimpleInspector - class sim.portrayal.SimpleInspector.
A simple inspector class that looks at the "getX" and "setX" method of the object to be investigates and creates a user-friendly graphical interface with read only and read/write components of the object.
SimpleInspector(Object, GUIState) - Constructor for class sim.portrayal.SimpleInspector
 
SimpleInspector(Object, GUIState, String) - Constructor for class sim.portrayal.SimpleInspector
 
SimplePortrayal2D - class sim.portrayal.SimplePortrayal2D.
A useful abstract superclass for objects.
SimplePortrayal2D() - Constructor for class sim.portrayal.SimplePortrayal2D
 
SimplePortrayal3D - class sim.portrayal3d.SimplePortrayal3D.
 
SimplePortrayal3D() - Constructor for class sim.portrayal3d.SimplePortrayal3D
 
SimpleProperties - class sim.util.SimpleProperties.
A very simple class for getting and setting object properties.
SimpleProperties(Object) - Constructor for class sim.util.SimpleProperties
Gathers all properties for the object, including ones defined in superclasses.
SimpleProperties(Object, boolean, boolean) - Constructor for class sim.util.SimpleProperties
Gathers all properties for the object, possibly including ones defined in superclasses.
SparseField - class sim.field.SparseField.
While it has no abstract fields, SparseField is explicitly an abstract superclass of various sparse field objects.
SparseField() - Constructor for class sim.field.SparseField
 
SparseField.LocationAndIndex - class sim.field.SparseField.LocationAndIndex.
Objects stored in SparseField's locationAndIndexHash table.
SparseField.LocationAndIndex(Object, int) - Constructor for class sim.field.SparseField.LocationAndIndex
 
SparseFieldPortrayal3D - class sim.portrayal3d.SparseFieldPortrayal3D.
Generic functionality for a field portrayal in Java3D mode: It handles the creation and update of the part of the scene it is responsible for, including dynamic addition/deletion of objects.
SparseFieldPortrayal3D(SparseField, double, double) - Constructor for class sim.portrayal3d.SparseFieldPortrayal3D
 
SparseFieldPortrayal3D(SparseField, double, double, double, double) - Constructor for class sim.portrayal3d.SparseFieldPortrayal3D
 
SparseFieldPortrayal3D(SparseField, double, double, double, double, double, double) - Constructor for class sim.portrayal3d.SparseFieldPortrayal3D
 
SparseFieldPortrayal3D(SparseField, Transform3D) - Constructor for class sim.portrayal3d.SparseFieldPortrayal3D
 
SparseGrid2D - class sim.field.grid.SparseGrid2D.
A storage facility for sparse objects in discrete 2D space, using HashMaps.
SparseGrid2D(int, int) - Constructor for class sim.field.grid.SparseGrid2D
 
SparseGrid2DPortrayal - class sim.portrayal.grid.SparseGrid2DPortrayal.
Can be used to draw both continuous and descrete sparse fields
SparseGrid2DPortrayal() - Constructor for class sim.portrayal.grid.SparseGrid2DPortrayal
 
SparseGrid2DPortrayal(DrawPolicy) - Constructor for class sim.portrayal.grid.SparseGrid2DPortrayal
 
SparseGrid3D - class sim.field.grid.SparseGrid3D.
A storage facility for sparse objects in discrete 3D space, using HashMaps.
SparseGrid3D(int, int, int) - Constructor for class sim.field.grid.SparseGrid3D
 
SparseGrid3DPortrayal - class sim.portrayal3d.grid.SparseGrid3DPortrayal.
portrayal 3D for SparseFields.
SparseGrid3DPortrayal(SparseGrid2D, double, double) - Constructor for class sim.portrayal3d.grid.SparseGrid3DPortrayal
 
SparseGrid3DPortrayal(SparseGrid3D, double, double, double) - Constructor for class sim.portrayal3d.grid.SparseGrid3DPortrayal
 
SparseGrid3DPortrayal(SparseGrid2D, Transform3D) - Constructor for class sim.portrayal3d.grid.SparseGrid3DPortrayal
 
SparseGrid3DPortrayal(SparseGrid3D, Transform3D) - Constructor for class sim.portrayal3d.grid.SparseGrid3DPortrayal
 
SpatialNetwork2D - class sim.portrayal.network.SpatialNetwork2D.
A wrapper used by Network2DPortrayal to hold a NetworkField and EITHER a Continuous2D OR a SparseGrid2D.
SpatialNetwork2D(Continuous2D, NetworkField) - Constructor for class sim.portrayal.network.SpatialNetwork2D
 
SpatialNetwork2D(SparseGrid2D, NetworkField) - Constructor for class sim.portrayal.network.SpatialNetwork2D
 
SpherePortrayal3D - class sim.portrayal3d.simple.SpherePortrayal3D.
 
SpherePortrayal3D(Color3f) - Constructor for class sim.portrayal3d.simple.SpherePortrayal3D
 
SpherePortrayal3D(Color3f, float) - Constructor for class sim.portrayal3d.simple.SpherePortrayal3D
 
Steppable - interface sim.engine.Steppable.
Something that can be stepped
Stoppable - interface sim.engine.Stoppable.
Stoppable objects can be prevented from being stepped any further by calling their stop() method.
schedule - Variable in class sim.engine.SimState
SimState's schedule
scheduleAtExtreme(Steppable, boolean) - Method in class sim.display.GUIState
Schedules an item to occur when the user starts or stops the simulator, or when it stops on its own accord.
scheduleComplete() - Method in class sim.engine.Schedule
Returns true if the schedule has nothing left to do.
scheduleImmediate(boolean, Steppable) - Method in class sim.display.GUIState
Schedules an item to occur (in no particular order) immediately before or immediately after the schedule is stepped on the next time step (not including blank steps).
scheduleImmediateRepeat(boolean, Steppable) - Method in class sim.display.GUIState
Schedules an item to occur (in no particular order) immediately before or immediately after all future steps the Schedule takes (not including blank steps).
scheduleOnce(Steppable) - Method in class sim.engine.Schedule
Schedules the event to occur at the next clock tick, 0 ordering.
scheduleOnce(long, Steppable) - Method in class sim.engine.Schedule
If the current time is less than the time requested, 0 ordering, and the event is valid, schedules the event to occur at the requested time and returns TRUE.
scheduleOnce(long, int, Steppable) - Method in class sim.engine.Schedule
If the current time is less than the time requested, and the event is valid, schedules the event to occur at the requested time, placed in the 'first' queue, and returns TRUE.
scheduleRepeating(Steppable) - Method in class sim.engine.Schedule
If the event is valid, and the current time is valid, schedules the event to occur once every clock tick starting at the next clock tick, 0 ordering, and returns TRUE, else returns FALSE.
scheduleRepeating(long, Steppable) - Method in class sim.engine.Schedule
If the event is valid, and the current time is less than time, schedules the event to occur once every clock tick starting at time, 0 ordering, and returns TRUE, else returns FALSE.
scheduleRepeating(Steppable, long) - Method in class sim.engine.Schedule
If the event is valid, and the current time is valid, schedules the event to occur once every interval's worth of clock ticks starting at the next clock tick, 0 ordering, and returns TRUE, else returns FALSE.
scheduleRepeating(long, Steppable, long) - Method in class sim.engine.Schedule
If the event is valid, and the current time is less than time, schedules the event to occur once every interval's worth of clock ticks starting at time, 0 ordering, and returns TRUE, else returns FALSE.
scheduleRepeating(long, int, Steppable, long) - Method in class sim.engine.Schedule
If the event is valid, and the current time is less than time, schedules the event to occur once every interval's worth of clock ticks starting at time, with the given ordering, and returns TRUE, else returns FALSE.
secondPoint - Variable in class sim.portrayal.network.EdgeDrawInfo2D
A pre-scaled point to draw to.
set(int, int, double) - Method in class sim.field.grid.DoubleGrid2D
 
set(int, int, int, double) - Method in class sim.field.grid.DoubleGrid3D
 
set(int, int, int) - Method in class sim.field.grid.IntGrid2D
 
set(int, int, int, int) - Method in class sim.field.grid.IntGrid3D
 
set(int, int, Object) - Method in class sim.field.grid.ObjectGrid2D
 
set(int, int, int, Object) - Method in class sim.field.grid.ObjectGrid3D
 
set(int, Object) - Method in class sim.util.Bag
 
set(int, double) - Method in class sim.util.DoubleBag
 
set(int, Object) - Method in class sim.util.DoubleBag
 
set(int, Object) - Method in interface sim.util.Indexed
Throws an IndexOutOfBoundsException if index is inappropriate, and IllegalArgumentException if the value is inappropriate
set(int, int) - Method in class sim.util.IntBag
 
set(int, Object) - Method in class sim.util.IntBag
 
setBackdrop(Paint) - Method in class sim.display.Display2D
Specify the backdrop color or other paint.
setBuffering(int) - Method in class sim.portrayal.grid.FastValueGrid2DPortrayal
 
setClipping(boolean) - Method in class sim.display.Display2D
Sets the Display2D to clip or to not clip to the user-specified height and width when drawing
setColorTable(Color[]) - Method in class sim.portrayal.grid.ValueGrid2DPortrayal
Specifies that if a value (cast into an int) in the IntGrid2D or DoubleGrid2D falls in the range 0 ...
setColorTable(Color[]) - Method in class sim.portrayal3d.SimpleColorInterpolator
Specifies that if a value (cast into an int) in the IntGrid2D or DoubleGrid2D falls in the range 0 ...
setCompressionLevel(int) - Method in class sim.util.media.PngEncoder
Set the compression level to use
setData(GridCellInfo, float[], float[], int) - Method in class sim.portrayal3d.grid.fastgridcell.GridCellQuadPortrayal
 
setData(GridCellInfo, float[], float[], int) - Method in class sim.portrayal3d.grid.fastgridcell.MeshCellPortrayal
 
setData(GridCellInfo, float[], float[], int) - Method in class sim.portrayal3d.grid.fastgridcell.NoZGridCellPortrayal
 
setData(GridCellInfo, float[], float[], int) - Method in class sim.portrayal3d.grid.fastgridcell.TileGridCellPortrayal
 
setEditedColor(Color) - Method in class sim.util.gui.NumberTextField
 
setEditedColor(Color) - Method in class sim.util.gui.PropertyField
 
setEnabled(boolean) - Method in class sim.util.gui.NumberTextField
 
setEncodeAlpha(boolean) - Method in class sim.util.media.PngEncoder
Set the alpha encoding on or off.
setField(Object) - Method in class sim.portrayal.FieldPortrayal
Attaches the field portrayal to the given field.
setField(Object) - Method in class sim.portrayal.continuous.Continuous2DPortrayal
 
setField(Object) - Method in class sim.portrayal.grid.ObjectGrid2DPortrayal
 
setField(Object) - Method in class sim.portrayal.grid.SparseGrid2DPortrayal
 
setField(Object) - Method in class sim.portrayal.grid.ValueGrid2DPortrayal
 
setField(Object) - Method in class sim.portrayal.network.Network2DPortrayal
 
setField(Object) - Method in class sim.portrayal3d.continuous.Continuous3DPortrayal
 
setField(Object) - Method in class sim.portrayal3d.grid.SparseGrid3DPortrayal
 
setField(Object) - Method in class sim.portrayal3d.grid.ValueGrid2D3DPortrayal
 
setFilter(int) - Method in class sim.util.media.PngEncoder
Set the filter to use
setImage(Image) - Method in class sim.util.media.PngEncoder
Set the image to be encoded
setInspectors(Bag, Bag) - Method in class sim.display.Console
Adds new inspectors, given the provided inspectors, their portrayals, and appropriate names for them.
setInspectors(Bag, Bag) - Method in interface sim.display.Controller
Replaces current inspectors with the ones provided.
setInterval(long) - Method in class sim.display.Display2D
Sets how many ticks are skipped before the display updates itself.
setInterval(long) - Method in class sim.display3d.Display3D
 
setLevels(double, double, Color, Color) - Method in class sim.portrayal.grid.ValueGrid2DPortrayal
Sets the color levels for the ValueGrid2DPortrayal values for use by the default getColor(...) method.
setLevels(double, double, Color, Color) - Method in class sim.portrayal3d.SimpleColorInterpolator
Sets the color levels for the ValueGrid2DPortrayal values for use by the default getColor(...) method.
setObjectLocation(Object, Object) - Method in class sim.field.SparseField
Changes the location of an object, or adds if it doesn't exist yet.
setObjectLocation(Object, Double2D) - Method in class sim.field.continuous.Continuous2D
 
setObjectLocation(Object, Double3D) - Method in class sim.field.continuous.Continuous3D
 
setObjectLocation(Object, int, int) - Method in class sim.field.grid.SparseGrid2D
 
setObjectLocation(Object, Int2D) - Method in class sim.field.grid.SparseGrid2D
 
setObjectLocation(Object, int, int, int) - Method in class sim.field.grid.SparseGrid3D
 
setObjectLocation(Object, Int3D) - Method in class sim.field.grid.SparseGrid3D
 
setOrbitBehaviorEnabled(boolean) - Method in class sim.display3d.Display3D
Oribit behavior is moving the point of view around the scene.
setParentPortrayal(FieldPortrayal3D) - Method in class sim.portrayal3d.FieldPortrayal3D
 
setParentPortrayal(FieldPortrayal3D) - Method in interface sim.portrayal3d.Portrayal3D
A non field portrayal3D need to enclose its parent FieldPortrayal into the PickInfo.
setParentPortrayal(FieldPortrayal3D) - Method in class sim.portrayal3d.SimplePortrayal3D
 
setParentPortrayal(FieldPortrayal3D) - Method in class sim.portrayal3d.simple.DirectionalLightPortrayal3D
 
setPickIntersection(PickIntersection) - Method in class sim.portrayal3d.simple.DirectionalLightPortrayal3D
 
setPickableFlags(Shape3D) - Static method in class sim.portrayal3d.SimplePortrayal3D
 
setPickableFlags(Geometry) - Static method in class sim.portrayal3d.SimplePortrayal3D
 
setPlaySleep(long) - Method in class sim.display.Console
Sets (in milliseconds) how long we should sleep between each step in the play thread.
setPortrayalForAll(Portrayal) - Method in class sim.portrayal.FieldPortrayal
Set the portrayal to null to remove it.
setPortrayalForClass(Class, Portrayal) - Method in class sim.portrayal.FieldPortrayal
Sets a portrayal for a class -- objects must be of EXACTLY this class (not subclasses) to respond to this.
setPortrayalForNull(Portrayal) - Method in class sim.portrayal.FieldPortrayal
Set the portrayal to null to remove it.
setPortrayalForObject(Object, Portrayal) - Method in class sim.portrayal.FieldPortrayal
Sets a portrayal for a class -- objects must be equal(...) to the provided object here to respond to this.
setPortrayalForRemainder(Portrayal) - Method in class sim.portrayal.FieldPortrayal
Set the portrayal to null to remove it.
setRandom(MersenneTwisterFast) - Method in class sim.engine.SimState
 
setScale(double) - Method in class sim.display.Display2D
Sets the scale (the zoom value) of the Display2D
setSeed(long) - Method in class ec.util.MersenneTwister
Initalize the pseudo random number generator.
setSeed(int[]) - Method in class ec.util.MersenneTwister
An alternative, more complete, method of seeding the pseudo random number generator.
setSelectBehaviorEnabled(boolean) - Method in class sim.display3d.Display3D
 
setSelected(LocationWrapper, boolean) - Method in class sim.portrayal.FieldPortrayal
 
setSelected(LocationWrapper, boolean) - Method in interface sim.portrayal.Portrayal
Change the portrayal state to reflect the fact that you've been selected or not selected.
setSelected(LocationWrapper, boolean) - Method in class sim.portrayal.SimplePortrayal2D
 
setSelected(LocationWrapper, boolean) - Method in class sim.portrayal3d.SimplePortrayal3D
 
setSelected(LocationWrapper, boolean) - Method in class sim.portrayal3d.grid.fastgridcell.GridCellQuadPortrayal
 
setSelected(LocationWrapper, boolean) - Method in class sim.portrayal3d.simple.DirectionalLightPortrayal3D
 
setSpinBehaviorEnabled(boolean) - Method in class sim.display3d.Display3D
 
setStoppable(Stoppable) - Method in class sim.engine.WeakStep
 
setThreadPriority(int) - Method in class sim.display.Console
Set when the simulation should end.
setTicksPerSecond(double) - Method in class sim.display.Console
Sets the frame rate.
setTime(long) - Method in class sim.display.Console
Sets the time.
setTo(double) - Method in class sim.field.grid.DoubleGrid2D
 
setTo(DoubleGrid2D) - Method in class sim.field.grid.DoubleGrid2D
 
setTo(double) - Method in class sim.field.grid.DoubleGrid3D
 
setTo(DoubleGrid3D) - Method in class sim.field.grid.DoubleGrid3D
 
setTo(int) - Method in class sim.field.grid.IntGrid2D
 
setTo(IntGrid2D) - Method in class sim.field.grid.IntGrid2D
 
setTo(int) - Method in class sim.field.grid.IntGrid3D
 
setTo(IntGrid3D) - Method in class sim.field.grid.IntGrid3D
 
setTo(Object) - Method in class sim.field.grid.ObjectGrid2D
 
setTo(ObjectGrid2D) - Method in class sim.field.grid.ObjectGrid2D
 
setTo(Object) - Method in class sim.field.grid.ObjectGrid3D
 
setTo(ObjectGrid3D) - Method in class sim.field.grid.ObjectGrid3D
 
setToolTipText(String) - Method in class sim.util.gui.NumberTextField
 
setToolTipText(String) - Method in class sim.util.gui.PropertyField
 
setValue(int, Object) - Method in class sim.util.Properties
Sets the current value of the property.
setValue(int, String) - Method in class sim.util.Properties
Sets the current value of the property to the value parsed from the given string.
setValue(double) - Method in class sim.util.gui.NumberTextField
Sets the value without filtering first.
setValue(String) - Method in class sim.util.gui.PropertyField
Sets the value, filtering it through newValue(val) first.
setValues(String, double, double, double) - Method in class sim.util.gui.NumberTextField
 
setValues(String, String, boolean, int) - Method in class sim.util.gui.PropertyField
 
setWhenShouldEnd(long) - Method in class sim.display.Console
Set when the simulation should end.
setWhenShouldPause(long) - Method in class sim.display.Console
Sets when the simulation should pause.
setWritingParams(Rectangle2D, boolean) - Method in class sim.display3d.CapturingCanvas3D
sets the capturing regime and area
setupApplet(Class) - Method in class sim.display.SimApplet
 
setupHints(boolean, boolean, boolean, boolean) - Method in class sim.display.Display2D.InnerDisplay2D
The default method for setting up the given hints.
sim.display - package sim.display
 
sim.display3d - package sim.display3d
 
sim.engine - package sim.engine
 
sim.field - package sim.field
 
sim.field.continuous - package sim.field.continuous
 
sim.field.grid - package sim.field.grid
 
sim.field.network - package sim.field.network
 
sim.portrayal - package sim.portrayal
 
sim.portrayal.continuous - package sim.portrayal.continuous
 
sim.portrayal.grid - package sim.portrayal.grid
 
sim.portrayal.network - package sim.portrayal.network
 
sim.portrayal3d - package sim.portrayal3d
 
sim.portrayal3d.continuous - package sim.portrayal3d.continuous
 
sim.portrayal3d.grid - package sim.portrayal3d.grid
 
sim.portrayal3d.grid.fastgridcell - package sim.portrayal3d.grid.fastgridcell
 
sim.portrayal3d.simple - package sim.portrayal3d.simple
 
sim.util - package sim.util
 
sim.util.gui - package sim.util.gui
 
sim.util.media - package sim.util.media
 
simulation - Variable in class sim.display.Console
Our simulation
size - Static variable in class sim.portrayal3d.simple.Arrow
 
size() - Method in class sim.util.Bag
 
size() - Method in class sim.util.DoubleBag
 
size() - Method in interface sim.util.Indexed
 
size() - Method in class sim.util.IntBag
 
start - Variable in class sim.display.GUIState
 
start() - Method in class sim.display.GUIState
Called immediately prior to starting the simulation, or in-between simulation runs.
start() - Method in class sim.engine.SimState
Called immediately prior to starting the simulation, or in-between simulation runs.
start(BufferedImage) - Method in class sim.util.gui.MovieMaker
 
startMovie() - Method in class sim.display.Display2D
Starts a Quicktime movie on the given Display2D.
startMovie() - Method in class sim.display3d.Display3D
 
startSize - Variable in class sim.display.GUIState
 
state - Variable in class sim.display.GUIState
The underlying SimState
state - Variable in class sim.portrayal.FieldPortrayal.CustomInspector
 
state - Variable in class sim.portrayal.SimpleInspector
 
step(SimState) - Method in class sim.display.Display2D
Steps the Display2D in the GUIState schedule.
step() - Method in class sim.display.GUIState
Returns FALSE if nothing was stepped -- the schedule is exhausted or time has run out.
step(SimState) - Method in class sim.display3d.Display3D
 
step(SimState) - Method in class sim.engine.MultiStep
 
step(SimState) - Method in class sim.engine.ParallelSequence
 
step(SimState) - Method in class sim.engine.RandomSequence
 
step(SimState) - Method in class sim.engine.Schedule
Steps the schedule, gathering and ordering all the items to step on the next time step (skipping blank time steps), and then stepping all of them in the decided order.
step(SimState) - Method in class sim.engine.Sequence
 
step(SimState) - Method in interface sim.engine.Steppable
 
step(SimState) - Method in class sim.engine.WeakStep
 
steps - Variable in class sim.engine.Schedule
 
steps - Variable in class sim.engine.Sequence
 
stop() - Method in interface sim.engine.Stoppable
 
stop() - Method in class sim.util.gui.MovieMaker
 
stop() - Method in class sim.util.media.MovieEncoder
Stops the writer and finishes uprocessor.
stopMovie() - Method in class sim.display.Display2D
Stops a Quicktime movie and cleans up, flushing the remaining frames out to disk.
stopMovie() - Method in class sim.display3d.CapturingCanvas3D
 
stopMovie() - Method in class sim.display3d.Display3D
 
stx(double) - Method in class sim.field.continuous.Continuous2D
Simple [and fast] toroidal x.
stx(double) - Method in class sim.field.continuous.Continuous3D
Simple [and fast] toroidal x.
stx(int) - Method in class sim.field.grid.AbstractGrid2D
 
stx(int) - Method in class sim.field.grid.AbstractGrid3D
 
stx(int) - Method in interface sim.field.grid.Grid2D
Simple [and fast] toroidal x.
stx(int) - Method in interface sim.field.grid.Grid3D
Simple [and fast] toroidal x.
stx(int) - Method in class sim.field.grid.SparseGrid2D
 
stx(int) - Method in class sim.field.grid.SparseGrid3D
 
sty(double) - Method in class sim.field.continuous.Continuous2D
Simple [and fast] toroidal y.
sty(double) - Method in class sim.field.continuous.Continuous3D
Simple [and fast] toroidal y.
sty(int) - Method in class sim.field.grid.AbstractGrid2D
 
sty(int) - Method in class sim.field.grid.AbstractGrid3D
 
sty(int) - Method in interface sim.field.grid.Grid2D
Simple [and fast] toroidal y.
sty(int) - Method in interface sim.field.grid.Grid3D
Simple [and fast] toroidal y.
sty(int) - Method in class sim.field.grid.SparseGrid2D
 
sty(int) - Method in class sim.field.grid.SparseGrid3D
 
stz(double) - Method in class sim.field.continuous.Continuous3D
Simple [and fast] toroidal z.
stz(int) - Method in class sim.field.grid.AbstractGrid3D
 
stz(int) - Method in interface sim.field.grid.Grid3D
Simple [and fast] toroidal z.
stz(int) - Method in class sim.field.grid.SparseGrid3D
 
substeps - Variable in class sim.engine.Schedule
 

T

TileGridCellPortrayal - class sim.portrayal3d.grid.fastgridcell.TileGridCellPortrayal.
 
TileGridCellPortrayal(int, ColorCoding) - Constructor for class sim.portrayal3d.grid.fastgridcell.TileGridCellPortrayal
 
takeSnapshot() - Method in class sim.display.Display2D
Takes a snapshot of the Display2D's currently displayed simulation.
takeSnapshot() - Method in class sim.display3d.Display3D
Ought only be done from the main event loop
throwIndexOutOfBoundsException(int) - Method in class sim.util.Bag
 
throwIndexOutOfBoundsException(int) - Method in class sim.util.DoubleBag
 
throwIndexOutOfBoundsException(int) - Method in class sim.util.IntBag
 
time - Variable in class sim.engine.Schedule
 
time() - Method in class sim.engine.Schedule
 
tmpColor - Variable in class sim.portrayal3d.grid.fastgridcell.MeshCellPortrayal
 
tmpColor - Variable in class sim.portrayal3d.grid.fastgridcell.TileGridCellPortrayal
 
tmpCoords - Variable in class sim.portrayal3d.grid.fastgridcell.MeshCellPortrayal
 
tmpCoords - Variable in class sim.portrayal3d.grid.fastgridcell.TileGridCellPortrayal
 
tmpLocalT - Variable in class sim.portrayal3d.SparseFieldPortrayal3D
tmp Transform3D it is reused, since the TGs are copying it internally
tmpLocalT - Variable in class sim.portrayal3d.grid.ValueGrid2D3DPortrayal
tmp Transform3D it is reused, since the TGs are copying it internally
tmpVect - Variable in class sim.portrayal3d.SparseFieldPortrayal3D
tmp Vector3d
tmpVect - Variable in class sim.portrayal3d.grid.ValueGrid2D3DPortrayal
tmp Vector3d
to() - Method in class sim.field.network.Edge
Returns the "to" object.
toArray() - Method in class sim.util.Bag
 
toArray(Object[]) - Method in class sim.util.Bag
 
toArray() - Method in class sim.util.DoubleBag
 
toArray() - Method in class sim.util.IntBag
 
toCoordinates() - Method in class sim.util.Double2D
 
toCoordinates() - Method in class sim.util.Double3D
 
toCoordinates() - Method in class sim.util.Int2D
 
toCoordinates() - Method in class sim.util.Int3D
 
toHTML(String) - Static method in class sim.util.WordWrap
A useful auxillary method: once you've word-wrapped your text, you can use this to convert it into 'HTML' style, where < is converted into &lt;, & is converted into &amp;, and \n or \r are converted into <br>.
toPaint - Variable in class sim.portrayal.network.SimpleEdgePortrayal2D
 
toReals(long) - Method in class sim.engine.Schedule
Converts the long tick value into a reals "time" value (as a double) -- this is NOT a cast.
toString() - Method in class sim.portrayal.DrawInfo2D
 
toString() - Method in class sim.portrayal.HexaDrawInfo2D
 
toString() - Method in class sim.portrayal.network.EdgeDrawInfo2D
 
toString() - Method in class sim.util.Double2D
 
toString() - Method in class sim.util.Double3D
 
toString() - Method in class sim.util.Int2D
 
toString() - Method in class sim.util.Int3D
 
toggleShowsTime() - Method in class sim.display.Console
Shows or hides the time and frame rate.
top() - Method in class sim.util.Bag
Returns null if the Bag is empty, else returns the topmost object.
top() - Method in class sim.util.DoubleBag
Returns 0 if the DoubleBag is empty, else returns the topmost double.
top() - Method in class sim.util.IntBag
Returns 0 if the IntBag is empty, else returns the topmost int.
truncate() - Method in class sim.field.grid.DoubleGrid2D
round towards zero
truncate() - Method in class sim.field.grid.DoubleGrid3D
round towards zero
tx(double) - Method in class sim.field.continuous.Continuous2D
Toroidal x
tx(double) - Method in class sim.field.continuous.Continuous3D
Toroidal x
tx(int) - Method in class sim.field.grid.AbstractGrid2D
 
tx(int) - Method in class sim.field.grid.AbstractGrid3D
 
tx(int) - Method in interface sim.field.grid.Grid2D
Toroidal x.
tx(int) - Method in interface sim.field.grid.Grid3D
Toroidal x.
tx(int) - Method in class sim.field.grid.SparseGrid2D
 
tx(int) - Method in class sim.field.grid.SparseGrid3D
 
ty(double) - Method in class sim.field.continuous.Continuous2D
Toroidal y
ty(double) - Method in class sim.field.continuous.Continuous3D
Toroidal y
ty(int) - Method in class sim.field.grid.AbstractGrid2D
 
ty(int) - Method in class sim.field.grid.AbstractGrid3D
 
ty(int) - Method in interface sim.field.grid.Grid2D
Toroidal y.
ty(int) - Method in interface sim.field.grid.Grid3D
Toroidal y.
ty(int) - Method in class sim.field.grid.SparseGrid2D
 
ty(int) - Method in class sim.field.grid.SparseGrid3D
 
typeToName(Class) - Method in class sim.util.Properties
 
tz(double) - Method in class sim.field.continuous.Continuous3D
Toroidal y
tz(int) - Method in class sim.field.grid.AbstractGrid3D
 
tz(int) - Method in interface sim.field.grid.Grid3D
Toroidal z.
tz(int) - Method in class sim.field.grid.SparseGrid3D
 

U

USE_BUFFER - Static variable in class sim.portrayal.grid.FastValueGrid2DPortrayal
 
ulx(int, int) - Method in class sim.field.grid.AbstractGrid2D
 
ulx(int, int) - Method in interface sim.field.grid.Grid2D
Hex upleft x.
ulx(int, int) - Method in class sim.field.grid.SparseGrid2D
 
uly(int, int) - Method in class sim.field.grid.AbstractGrid2D
 
uly(int, int) - Method in interface sim.field.grid.Grid2D
Hex upleft y.
uly(int, int) - Method in class sim.field.grid.SparseGrid2D
 
unbufferedHints - Variable in class sim.display.Display2D.InnerDisplay2D
Hints used to draw objects to the screen or to a buffer
unregisterAllFrames() - Method in class sim.display.Console
Simulations can call this to clear out the "Display list" of the console
unregisterAllFrames() - Method in interface sim.display.Controller
Simulations can call this to clear out the "Display list" of the Controller.
unregisterFrame(JFrame) - Method in class sim.display.Console
Simulations can call this to remove a frame from the "Display list" of the console
unregisterFrame(JFrame) - Method in interface sim.display.Controller
Simulations can call this to remove a frame from the "Display list" of the Controller.
upButton - Variable in class sim.util.gui.NumberTextField
 
updateInspector() - Method in class sim.portrayal.FieldPortrayal.CustomInspector
 
updateInspector() - Method in class sim.portrayal.Inspector
 
updateInspector() - Method in class sim.portrayal.SimpleInspector
 
updateScene(int, int) - Method in class sim.display3d.SelectionBehavior
 
upperBound(double) - Method in class sim.field.grid.DoubleGrid2D
 
upperBound(double) - Method in class sim.field.grid.DoubleGrid3D
 
upperBound(int) - Method in class sim.field.grid.IntGrid2D
 
upperBound(int) - Method in class sim.field.grid.IntGrid3D
 
upx(int, int) - Method in class sim.field.grid.AbstractGrid2D
 
upx(int, int) - Method in interface sim.field.grid.Grid2D
Hex up x.
upx(int, int) - Method in class sim.field.grid.SparseGrid2D
 
upy(int, int) - Method in class sim.field.grid.AbstractGrid2D
 
upy(int, int) - Method in interface sim.field.grid.Grid2D
Hex up y.
upy(int, int) - Method in class sim.field.grid.SparseGrid2D
 
urx(int, int) - Method in class sim.field.grid.AbstractGrid2D
 
urx(int, int) - Method in interface sim.field.grid.Grid2D
Hex upright x.
urx(int, int) - Method in class sim.field.grid.SparseGrid2D
 
ury(int, int) - Method in class sim.field.grid.AbstractGrid2D
 
ury(int, int) - Method in interface sim.field.grid.Grid2D
Hex upright y.
ury(int, int) - Method in class sim.field.grid.SparseGrid2D
 
usageGroup - Variable in class sim.display.Display2D.OptionPane
 
useBuffer - Variable in class sim.display.Display2D.OptionPane
 
useDefault - Variable in class sim.display.Display2D.OptionPane
 
useNoBuffer - Variable in class sim.display.Display2D.OptionPane
 

V

ValueGrid2D3DPortrayal - class sim.portrayal3d.grid.ValueGrid2D3DPortrayal.
 
ValueGrid2D3DPortrayal(Grid2D, double, double) - Constructor for class sim.portrayal3d.grid.ValueGrid2D3DPortrayal
 
ValueGrid2D3DPortrayal(Grid2D, Transform3D) - Constructor for class sim.portrayal3d.grid.ValueGrid2D3DPortrayal
 
ValueGrid2DPortrayal - class sim.portrayal.grid.ValueGrid2DPortrayal.
This class is capable of portraying the DoubleGrid2D and IntGrid2D fields (and only those two fields -- or subclasses).
ValueGrid2DPortrayal() - Constructor for class sim.portrayal.grid.ValueGrid2DPortrayal
 
ValueGrid2DPortrayal(String) - Constructor for class sim.portrayal.grid.ValueGrid2DPortrayal
 
val - Variable in class sim.util.MutableDouble
 
valField - Variable in class sim.util.gui.NumberTextField
 
valField - Variable in class sim.util.gui.PropertyField
 
validSimState(SimState) - Method in class sim.display.GUIState
This method should be set to return TRUE if state can be validly used -- mostly likely all you need to check is that it's the right class for this simulation.
value(int, int, int) - Method in class sim.portrayal3d.grid.GridCellInfo.DoubleGrid2DW
 
value(int, int, int) - Method in class sim.portrayal3d.grid.GridCellInfo.DoubleGrid3DW
 
value(int, int, int) - Method in interface sim.portrayal3d.grid.GridCellInfo.Grid
 
value(int, int, int) - Method in class sim.portrayal3d.grid.GridCellInfo.IntGrid2DW
 
value(int, int, int) - Method in class sim.portrayal3d.grid.GridCellInfo.IntGrid3DW
 
value() - Method in class sim.portrayal3d.grid.GridCellInfo
 
valueName - Variable in class sim.portrayal.grid.ValueGrid2DPortrayal
 
valueName - Variable in class sim.portrayal3d.grid.ValueGrid2D3DPortrayal
 
viewButton - Variable in class sim.util.gui.PropertyField
 
viewButtonListener - Variable in class sim.util.gui.PropertyField
 
viewProperty() - Method in class sim.util.gui.PropertyField
Override this to be informed when a property is to be viewed in its own inspector because the user pressed the "view" button.

W

WeakStep - class sim.engine.WeakStep.
WeakStep is a wrapper for steppable objects in the situation where we only want the schedule to tenuously hold onto the steppable object -- that is, if everyone else has forgotten about the object, the schedule should as well.
WeakStep(Steppable) - Constructor for class sim.engine.WeakStep
 
WireFrameBoxPortrayal3D - class sim.portrayal3d.simple.WireFrameBoxPortrayal3D.
WireFrame box, centered in the origin.
WireFrameBoxPortrayal3D(double, double, double, double) - Constructor for class sim.portrayal3d.simple.WireFrameBoxPortrayal3D
 
WireFrameBoxPortrayal3D(double, double, double) - Constructor for class sim.portrayal3d.simple.WireFrameBoxPortrayal3D
 
WordWrap - class sim.util.WordWrap.
WordWrap is a simple word-wrapping class which provides word-wrap either to columns of raw text; or to some number of pixels (given a font).
WordWrap() - Constructor for class sim.util.WordWrap
 
weakStep - Variable in class sim.engine.WeakStep
 
weakStop - Variable in class sim.engine.WeakStep
 
width - Variable in class sim.display.Display2D.InnerDisplay2D
The width of the display when the scale is 1.0
width - Variable in class sim.field.continuous.Continuous2D
 
width - Variable in class sim.field.continuous.Continuous3D
 
width - Variable in class sim.field.grid.AbstractGrid2D
 
width - Variable in class sim.field.grid.AbstractGrid3D
 
width - Variable in class sim.field.grid.SparseGrid2D
 
width - Variable in class sim.field.grid.SparseGrid3D
 
width - Variable in class sim.util.media.PngEncoder
 
wrap(String, int) - Static method in class sim.util.WordWrap
Wraps a string to a given number of columns.
wrap(String, int, FontMetrics) - Static method in class sim.util.WordWrap
Wraps a string to a given number of pixels in width, given a font whose metrics are provided as well.
wrapper - Variable in class sim.portrayal.FieldPortrayal.CustomInspector
 
writeBuffer_ - Variable in class sim.display3d.CapturingCanvas3D
 
writeByte(int, int) - Method in class sim.util.media.PngEncoder
Write a single byte into the pngBytes array at a given position.
writeBytes(byte[], int) - Method in class sim.util.media.PngEncoder
Write an array of bytes into the pngBytes array.
writeBytes(byte[], int, int) - Method in class sim.util.media.PngEncoder
Write an array of bytes into the pngBytes array, specifying number of bytes to write.
writeEnd() - Method in class sim.util.media.PngEncoder
Write a PNG "IEND" chunk into the pngBytes array.
writeHeader() - Method in class sim.util.media.PngEncoder
Write a PNG "IHDR" chunk into the pngBytes array.
writeImageData() - Method in class sim.util.media.PngEncoder
Write the image data into the pngBytes array.
writeInt2(int, int) - Method in class sim.util.media.PngEncoder
Write a two-byte integer into the pngBytes array at a given position.
writeInt4(int, int) - Method in class sim.util.media.PngEncoder
Write a four-byte integer into the pngBytes array at a given position.
writeString(String, int) - Method in class sim.util.media.PngEncoder
Write a string into the pngBytes array at a given position.
writeToCheckpoint(OutputStream) - Method in class sim.engine.SimState
Serializes out the SimState, and the entire simulation state (not including the graphical interfaces) to the provided stream.
writeToCheckpoint(File) - Method in class sim.engine.SimState
Writes the state to a checkpoint and returns the state.

X

x - Variable in class sim.portrayal3d.grid.GridCellInfo
 
x - Variable in class sim.util.Double2D
 
x - Variable in class sim.util.Double3D
 
x - Variable in class sim.util.Int2D
 
x - Variable in class sim.util.Int3D
 
xPoints - Variable in class sim.portrayal.HexaDrawInfo2D
 

Y

y - Variable in class sim.portrayal3d.grid.GridCellInfo
 
y - Variable in class sim.util.Double2D
 
y - Variable in class sim.util.Double3D
 
y - Variable in class sim.util.Int2D
 
y - Variable in class sim.util.Int3D
 
yPoints - Variable in class sim.portrayal.HexaDrawInfo2D
 

Z

z - Variable in class sim.portrayal3d.grid.GridCellInfo
 
z - Variable in class sim.util.Double3D
 
z - Variable in class sim.util.Int3D
 

_

_scheduleComplete() - Method in class sim.engine.Schedule
 

A B C D E F G H I K L M N O P Q R S T U V W X Y Z _