A B C D E F G H I 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
 
ALIGN_CENTER - Static variable in class sim.portrayal.simple.LabelledPortrayal2D
 
ALIGN_LEFT - Static variable in class sim.portrayal.simple.LabelledPortrayal2D
 
ALIGN_RIGHT - Static variable in class sim.portrayal.simple.LabelledPortrayal2D
 
AbstractGrid2D - class sim.field.grid.AbstractGrid2D.
A concrete implementation of the Grid2D methods; used by several subclasses.
AbstractGrid2D() - Constructor for class sim.field.grid.AbstractGrid2D
 
AbstractGrid3D - class sim.field.grid.AbstractGrid3D.
A concrete implementation of the Grid3D methods; used by several subclasses.
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.
Draws coordinate system axes 1 unit long each, centered at the origin, and labelled "O", "X", "Y", and "Z".
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 an image to the movie stream.
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
 
align - Variable in class sim.portrayal.simple.LabelledPortrayal2D
One of ALIGN_CENTER, ALIGN_LEFT, or ALIGN_RIGHT
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
 
appearance - Variable in class sim.portrayal3d.simple.CircledPortrayal3D
 
appearance - Variable in class sim.portrayal3d.simple.ConePortrayal3D
 
appearance - Variable in class sim.portrayal3d.simple.CubePortrayal3D
 
appearance - Variable in class sim.portrayal3d.simple.CylinderPortrayal3D
 
appearance - Variable in class sim.portrayal3d.simple.Shape3DPortrayal3D
 
appearance - Variable in class sim.portrayal3d.simple.SpherePortrayal3D
 
appearance - Variable in class sim.portrayal3d.simple.WireFrameBoxPortrayal3D
 
appearanceForColor(Color) - Static method in class sim.portrayal3d.SimplePortrayal3D
Creates an Appearance equivalent to a flat opaque surface of the provided color, needing no lighting.
appearanceForImage(Image, boolean) - Static method in class sim.portrayal3d.SimplePortrayal3D
Creates an Appearance using the provided image.
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
Attaches a portrayal to the Display3D, along with the provided human-readable name for the portrayal.
autoSpinTransformGroup - Variable in class sim.display3d.Display3D
The TransformGroup which used to spin the underlying model.
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
Call this to get a prettier print-name for an object -- converting arrays to a nicer format, for example.
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.util.gui.SimpleColorMap
 
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
 
CircledPortrayal2D - class sim.portrayal.simple.CircledPortrayal2D.
A wrapper for other Portrayal2Ds which also draws a big circle around them -- useful for distinguishing one object from other similar-looking objects.
CircledPortrayal2D(SimplePortrayal2D, int, double, Paint, boolean) - Constructor for class sim.portrayal.simple.CircledPortrayal2D
If child is null, then the underlying model object is presumed to be a Portrayal2D and will be used.
CircledPortrayal2D(SimplePortrayal2D) - Constructor for class sim.portrayal.simple.CircledPortrayal2D
Draw a circle of radius or = 1.0, dr = 0, in blue.
CircledPortrayal2D(SimplePortrayal2D, Paint, boolean) - Constructor for class sim.portrayal.simple.CircledPortrayal2D
Draw a circle of radius or = 1.0, dr = 0.
CircledPortrayal3D - class sim.portrayal3d.simple.CircledPortrayal3D.
A wrapper for other Portrayal3Ds which also draws a big translucent sphere around them -- useful for distinguishing one object from other similar-looking objects.
CircledPortrayal3D(SimplePortrayal3D) - Constructor for class sim.portrayal3d.simple.CircledPortrayal3D
 
CircledPortrayal3D(SimplePortrayal3D, float) - Constructor for class sim.portrayal3d.simple.CircledPortrayal3D
 
CircledPortrayal3D(SimplePortrayal3D, float, boolean) - Constructor for class sim.portrayal3d.simple.CircledPortrayal3D
 
CircledPortrayal3D(SimplePortrayal3D, Color) - Constructor for class sim.portrayal3d.simple.CircledPortrayal3D
 
CircledPortrayal3D(SimplePortrayal3D, Color, float, boolean) - Constructor for class sim.portrayal3d.simple.CircledPortrayal3D
 
CircledPortrayal3D(SimplePortrayal3D, Appearance, float, boolean) - Constructor for class sim.portrayal3d.simple.CircledPortrayal3D
 
CollectionProperties - class sim.util.CollectionProperties.
A simple class for examining the slots of Maps, Collections, Indexed, and arrays as if the slots were Java Bean Properties.
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 only.
ColorMap - interface sim.util.gui.ColorMap.
ColorMap is a interface for mapping numerical values to colors.
ConePortrayal3D - class sim.portrayal3d.simple.ConePortrayal3D.
Portrays objects as a cone of the specified color or appearance (flat opaque white by default) which fills the region from (-0.5*scale,-0.5*scale,-0.5*scale) to (0.5*scale,0.5*scale,0.5*scale).
ConePortrayal3D() - Constructor for class sim.portrayal3d.simple.ConePortrayal3D
Constructs a ConePortrayal3D with a default (flat opaque white) appearance and a scale of 1.0.
ConePortrayal3D(float) - Constructor for class sim.portrayal3d.simple.ConePortrayal3D
Constructs a ConePortrayal3D with a default (flat opaque white) appearance and the given scale.
ConePortrayal3D(Color) - Constructor for class sim.portrayal3d.simple.ConePortrayal3D
Constructs a ConePortrayal3D with a flat opaque appearance of the given color and a scale of 1.0.
ConePortrayal3D(Color, float) - Constructor for class sim.portrayal3d.simple.ConePortrayal3D
Constructs a ConePortrayal3D with a flat opaque appearance of the given color and the given scale.
ConePortrayal3D(Image) - Constructor for class sim.portrayal3d.simple.ConePortrayal3D
Constructs a ConePortrayal3D with the given (opaque) image and a scale of 1.0.
ConePortrayal3D(Image, float) - Constructor for class sim.portrayal3d.simple.ConePortrayal3D
Constructs a ConePortrayal3D with the given (opaque) image and scale.
ConePortrayal3D(Appearance, boolean, boolean, float) - Constructor for class sim.portrayal3d.simple.ConePortrayal3D
Constructs a ConePortrayal3D with the given appearance and scale, plus whether or not to generate normals or texture coordinates.
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
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
ContinuousPortrayal2D - class sim.portrayal.continuous.ContinuousPortrayal2D.
Portrays Continuous2D fields.
ContinuousPortrayal2D() - Constructor for class sim.portrayal.continuous.ContinuousPortrayal2D
 
ContinuousPortrayal3D - class sim.portrayal3d.continuous.ContinuousPortrayal3D.
Portrays both Continuous2D and Continuous3D fields.
ContinuousPortrayal3D() - Constructor for class sim.portrayal3d.continuous.ContinuousPortrayal3D
 
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.
Portrays objects as a cube of the specified color or appearance (flat opaque white by default) which fills the region from (-0.5*scale,-0.5*scale,-0.5*scale) to (0.5*scale,0.5*scale,0.5*scale).
CubePortrayal3D() - Constructor for class sim.portrayal3d.simple.CubePortrayal3D
Constructs a CubePortrayal3D with a default (flat opaque white) appearance and a scale of 1.0.
CubePortrayal3D(float) - Constructor for class sim.portrayal3d.simple.CubePortrayal3D
Constructs a CubePortrayal3D with a default (flat opaque white) appearance and the given scale.
CubePortrayal3D(Color) - Constructor for class sim.portrayal3d.simple.CubePortrayal3D
Constructs a CubePortrayal3D with a flat opaque appearance of the given color and a scale of 1.0.
CubePortrayal3D(Color, float) - Constructor for class sim.portrayal3d.simple.CubePortrayal3D
Constructs a CubePortrayal3D with a flat opaque appearance of the given color and the given scale.
CubePortrayal3D(Image) - Constructor for class sim.portrayal3d.simple.CubePortrayal3D
Constructs a CubePortrayal3D with the given (opaque) image and a scale of 1.0.
CubePortrayal3D(Image, float) - Constructor for class sim.portrayal3d.simple.CubePortrayal3D
Constructs a CubePortrayal3D with the given (opaque) image and scale.
CubePortrayal3D(Appearance, boolean, boolean, float) - Constructor for class sim.portrayal3d.simple.CubePortrayal3D
Constructs a CubePortrayal3D with the given appearance and scale, plus whether or not to generate normals or texture coordinates.
CylinderPortrayal3D - class sim.portrayal3d.simple.CylinderPortrayal3D.
Portrays objects as a cylinder of the specified color or appearance (flat opaque white by default) which fills the region from (-0.5*scale,-0.5*scale,-0.5*scale) to (0.5*scale,0.5*scale,0.5*scale).
CylinderPortrayal3D() - Constructor for class sim.portrayal3d.simple.CylinderPortrayal3D
Constructs a CylinderPortrayal3D with a default (flat opaque white) appearance and a scale of 1.0.
CylinderPortrayal3D(float) - Constructor for class sim.portrayal3d.simple.CylinderPortrayal3D
Constructs a CylinderPortrayal3D with a default (flat opaque white) appearance and the given scale.
CylinderPortrayal3D(Color) - Constructor for class sim.portrayal3d.simple.CylinderPortrayal3D
Constructs a CylinderPortrayal3D with a flat opaque appearance of the given color and a scale of 1.0.
CylinderPortrayal3D(Color, float) - Constructor for class sim.portrayal3d.simple.CylinderPortrayal3D
Constructs a CylinderPortrayal3D with a flat opaque appearance of the given color and the given scale.
CylinderPortrayal3D(Image) - Constructor for class sim.portrayal3d.simple.CylinderPortrayal3D
Constructs a CylinderPortrayal3D with the given (opaque) image and a scale of 1.0.
CylinderPortrayal3D(Image, float) - Constructor for class sim.portrayal3d.simple.CylinderPortrayal3D
Constructs a CylinderPortrayal3D with the given (opaque) image and scale.
CylinderPortrayal3D(Appearance, boolean, boolean, float) - Constructor for class sim.portrayal3d.simple.CylinderPortrayal3D
Constructs a CylinderPortrayal3D with the given appearance and scale, plus whether or not to generate normals or texture coordinates.
canvas - Variable in class sim.display3d.Display3D
The Java3D canvas holding the universe.
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
 
child - Variable in class sim.portrayal.simple.CircledPortrayal2D
 
child - Variable in class sim.portrayal.simple.LabelledPortrayal2D
 
child - Variable in class sim.portrayal.simple.OrientedPortrayal2D
 
child - Variable in class sim.portrayal3d.simple.CircledPortrayal3D
 
child - Variable in class sim.portrayal3d.simple.LabelledPortrayal3D
 
child - Variable in class sim.portrayal3d.simple.TransformedPortrayal3D
 
classNames - Static variable in class sim.display.Console
List of fully qualified classnames to include in the Console's "New Simulation" combo box
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.field.network.NetworkField
Removes all nodes, deleting all edges from the Field as well.
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
 
clearBackdrop() - Method in class sim.display3d.Display3D
Clears any backdrop presently being used in the scene
clearColor - Variable in class sim.util.gui.SimpleColorMap
 
clearPickableFlags(Node) - Static method in class sim.portrayal3d.SimplePortrayal3D
Utility method which makes the given Node unpickable.
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
 
color - Variable in class sim.portrayal3d.simple.LabelledPortrayal3D
 
colorDispenser - Variable in class sim.portrayal3d.grid.quad.QuadPortrayal
Our color map for values
colors - Variable in class sim.util.gui.SimpleColorMap
User-provided color table
completedWrapper(LocationWrapper, PickIntersection) - Method in class sim.portrayal3d.FieldPortrayal3D
Given the provided PickIntersection, fill in w the location of the picked object, and return it.
completedWrapper(LocationWrapper, PickIntersection) - Method in class sim.portrayal3d.continuous.ContinuousPortrayal3D
 
completedWrapper(LocationWrapper, PickIntersection) - Method in class sim.portrayal3d.grid.SparseGridPortrayal3D
 
completedWrapper(LocationWrapper, PickIntersection) - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
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.FieldPortrayal3D
Returns a tree structure of the form InternalTransform[model info].
createModel() - Method in class sim.portrayal3d.SparseFieldPortrayal3D
 
createModel() - Method in class sim.portrayal3d.grid.SparseGrid2DPortrayal3D
 
createModel() - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
Format is:
createSceneGraph() - Method in class sim.display3d.Display3D
Recreates the entire scene graph, including the universe, root, and canvas3d.
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.FastValueGridPortrayal2D
 
DEFAULT_APPEARANCE - Static variable in class sim.portrayal3d.SimplePortrayal3D
Flat white opaque.
DEFAULT_CIRCLED_APPEARANCE - Static variable in class sim.portrayal3d.simple.CircledPortrayal3D
 
DEFAULT_DR - Static variable in class sim.portrayal.simple.CircledPortrayal2D
 
DEFAULT_DR - Static variable in class sim.portrayal.simple.OrientedPortrayal2D
 
DEFAULT_DX - Static variable in class sim.portrayal.simple.LabelledPortrayal2D
 
DEFAULT_DY - Static variable in class sim.portrayal.simple.LabelledPortrayal2D
 
DEFAULT_GUTTER - Static variable in class sim.display.Console
When the Console is laid out to the right of some window, the space allocated between it and the window
DEFAULT_HEIGHT - Static variable in class sim.display.Console
Default height of the Console.
DEFAULT_LABEL_OFFSET - Static variable in class sim.portrayal3d.simple.LabelledPortrayal3D
 
DEFAULT_OR - Static variable in class sim.portrayal.simple.CircledPortrayal2D
 
DEFAULT_OR - Static variable in class sim.portrayal.simple.OrientedPortrayal2D
 
DEFAULT_OX - Static variable in class sim.portrayal.simple.LabelledPortrayal2D
 
DEFAULT_OY - Static variable in class sim.portrayal.simple.LabelledPortrayal2D
 
DEFAULT_WIDTH - Static variable in class sim.display.Console
Default width of the Console.
DONE - Static variable in interface sim.portrayal.grid.DrawPolicy
 
DONT_USE_BUFFER - Static variable in class sim.portrayal.grid.FastValueGridPortrayal2D
 
DRAW_ALL - Static variable in interface sim.portrayal.grid.DrawPolicy
 
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 holds, displays, and manipulates 3D Portrayal objects, allowing the user to scale them, rotate them, translate them, magnify them, change how often they're updated, take snapshots, and generate Quicktime movies.
Display3D(double, double, GUIState, long) - Constructor for class sim.display3d.Display3D
Creates a Display3D 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).
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 is more or less the same class as javax.vecmath.Point3d, but it is immutable: once the x and y and z values are set, they cannot be changed (they're final).
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.
DoubleDimension2D - class sim.util.DoubleDimension2D.
One real oddity of Java 1.3.1 and 1.4.1 is the lack of a concrete subclass of Dimension2D which uses doubles or floats; the only one provided (java.awt.Dimension) uses ints! This is particularly weird given that Java has Rectangle2D.Double, Rectangle2D.Float, and Rectangle (int), plus Point2D.Double, Point2D.Float, and Point (int), etc.
DoubleDimension2D(double, double) - Constructor for class sim.util.DoubleDimension2D
 
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
 
defaultValue() - Method in interface sim.util.gui.ColorMap
Returns some level which is valid (that is, validLevel(defaultValue()) should always return true).
defaultValue() - Method in class sim.util.gui.SimpleColorMap
 
detatchAll() - Method in class sim.display.Display2D
Detatches all portrayals from the Display2D.
detatchAll() - Method in class sim.display3d.Display3D
Detatches all portrayals from the 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
 
displayState - Variable in class sim.util.gui.PropertyField
 
divisions - Variable in class sim.portrayal3d.simple.SpherePortrayal3D
 
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
 
dr - Variable in class sim.portrayal.simple.CircledPortrayal2D
The post-scaling radius offset
dr - Variable in class sim.portrayal.simple.OrientedPortrayal2D
The post-scaling length offset
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.FastValueGridPortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.simple.CircledPortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.simple.HexagonalPortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.simple.ImagePortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.simple.OvalPortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.simple.RectanglePortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.simple.ValuePortrayal2D
 
drawFrame - Variable in class sim.portrayal.simple.HexagonalPortrayal2D
 
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
 
dx - Variable in class sim.portrayal.simple.LabelledPortrayal2D
The post-scaling offset from the object's origin.
dy - Variable in class sim.portrayal.simple.LabelledPortrayal2D
The post-scaling offset from the object's origin.

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
 
emptyBorder - 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
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.
ensureRepaintHeader() - Method in class sim.display3d.Display3D
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
 
exists(Object) - Method in class sim.field.SparseField
Returns true if the object is in the field.
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
 
FastValueGridPortrayal2D - class sim.portrayal.grid.FastValueGridPortrayal2D.
This class works like a ValueGridPortrayal2D, 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.
FastValueGridPortrayal2D(String, boolean) - Constructor for class sim.portrayal.grid.FastValueGridPortrayal2D
If assumeImmutableGrid is true, we presume that the grid doesn't change.
FastValueGridPortrayal2D(String) - Constructor for class sim.portrayal.grid.FastValueGridPortrayal2D
 
FastValueGridPortrayal2D(boolean) - Constructor for class sim.portrayal.grid.FastValueGridPortrayal2D
If assumeImmutableGrid is true, we presume that the grid doesn't change.
FastValueGridPortrayal2D() - Constructor for class sim.portrayal.grid.FastValueGridPortrayal2D
 
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() - Constructor for class sim.portrayal3d.FieldPortrayal3D
 
FieldPortrayal3D(Transform3D) - Constructor for class sim.portrayal3d.FieldPortrayal3D
 
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.ContinuousPortrayal2D
 
field - Variable in class sim.portrayal.grid.ObjectGridPortrayal2D
 
field - Variable in class sim.portrayal.grid.SparseGridPortrayal2D
 
field - Variable in class sim.portrayal.grid.ValueGridPortrayal2D
 
field - Variable in class sim.portrayal.network.NetworkPortrayal2D
 
field - Variable in class sim.portrayal.network.SpatialNetwork2D
 
field - Variable in class sim.portrayal3d.FieldPortrayal3D
 
field - Variable in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
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
Quits the 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
 
font - Variable in class sim.portrayal.simple.LabelledPortrayal2D
The font of the text.
font - Variable in class sim.portrayal3d.simple.LabelledPortrayal3D
 
foo - Static 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.
 
generalPath - Variable in class sim.portrayal.simple.HexagonalPortrayal2D
 
generateNormals - Variable in class sim.portrayal3d.simple.ConePortrayal3D
 
generateNormals - Variable in class sim.portrayal3d.simple.CubePortrayal3D
 
generateNormals - Variable in class sim.portrayal3d.simple.CylinderPortrayal3D
 
generateNormals - Variable in class sim.portrayal3d.simple.SpherePortrayal3D
 
generateTextureCoordinates - Variable in class sim.portrayal3d.simple.ConePortrayal3D
 
generateTextureCoordinates - Variable in class sim.portrayal3d.simple.CubePortrayal3D
 
generateTextureCoordinates - Variable in class sim.portrayal3d.simple.CylinderPortrayal3D
 
generateTextureCoordinates - Variable in class sim.portrayal3d.simple.SpherePortrayal3D
 
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.FastValueGridPortrayal2D
 
getCellForIntersection(PickIntersection, Grid2D) - Method in class sim.portrayal3d.grid.quad.MeshPortrayal
 
getCellForIntersection(PickIntersection, Grid2D) - Method in class sim.portrayal3d.grid.quad.QuadPortrayal
 
getChild(Object) - Method in class sim.portrayal.simple.CircledPortrayal2D
 
getChild(Object) - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
getChild(Object) - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
getChild(Object) - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
getChild(Object) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
getChild(Object) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
 
getColor(double) - Method in interface sim.util.gui.ColorMap
Returns a color for the given level
getColor(double) - Method in class sim.util.gui.SimpleColorMap
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
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.ContinuousPortrayal2D
 
getDefaultPortrayal() - Method in class sim.portrayal.grid.ObjectGridPortrayal2D
 
getDefaultPortrayal() - Method in class sim.portrayal.grid.SparseGridPortrayal2D
 
getDefaultPortrayal() - Method in class sim.portrayal.grid.ValueGridPortrayal2D
 
getDefaultPortrayal() - Method in class sim.portrayal.network.NetworkPortrayal2D
 
getDefaultPortrayal() - Method in class sim.portrayal3d.FieldPortrayal3D
 
getDefaultPortrayal() - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
getDefaultTransform() - Method in class sim.portrayal3d.FieldPortrayal3D
Returns the default internal transform suggested for this FieldPortrayal3D.
getDefaultTransform() - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
Returns the default internal transform suggested for this TransformedPortrayal3D.
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.ContinuousPortrayal2D
 
getField() - Method in class sim.portrayal.grid.ObjectGridPortrayal2D
 
getField() - Method in class sim.portrayal.grid.SparseGridPortrayal2D
 
getField() - Method in class sim.portrayal.grid.ValueGridPortrayal2D
 
getField() - Method in class sim.portrayal.network.NetworkPortrayal2D
 
getField() - Method in class sim.portrayal3d.FieldPortrayal3D
 
getField() - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
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
 
getHeight() - Method in class sim.util.DoubleDimension2D
 
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.portrayal.simple.CircledPortrayal2D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.simple.ValuePortrayal2D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal3d.SimplePortrayal3D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal3d.grid.quad.QuadPortrayal
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
 
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
Gets how many ticks are skipped before the display updates itself.
getLabel(Object, DrawInfo2D) - Method in class sim.portrayal.simple.LabelledPortrayal2D
Returns a name appropriate for the object.
getLabel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
Returns a name appropriate for the object.
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, Vector3d) - Method in class sim.portrayal3d.SparseFieldPortrayal3D
Converts a given location (perhaps a Double3D, Double2D, Int3D, or Int2D) into a Vector3d, placing it in the given Vector3d, and returning that Vector3d.
getLocationOfObjectAsVector3d(Object, Vector3d) - Method in class sim.portrayal3d.continuous.ContinuousPortrayal3D
 
getLocationOfObjectAsVector3d(Object, Vector3d) - Method in class sim.portrayal3d.grid.SparseGridPortrayal3D
 
getMap() - Method in class sim.portrayal.grid.ValueGridPortrayal2D
 
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)
getMinimumSize() - Method in class sim.util.gui.PropertyField
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.FieldPortrayal3D
Produces the requested model.
getModel(Object, TransformGroup) - Method in interface sim.portrayal3d.Portrayal3D
Provides a TransformGroup which defines the node(s) to place in the scenegraph.
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.SimplePortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.Axes
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.ConePortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.CubePortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.CylinderPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.ImagePortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.LightPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.Shape3DPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.SharedGroupPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.SpherePortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
 
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.portrayal.simple.CircledPortrayal2D
 
getName(LocationWrapper) - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
getName(LocationWrapper) - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
getName(LocationWrapper) - Method in class sim.portrayal.simple.ValuePortrayal2D
 
getName(LocationWrapper) - Method in class sim.portrayal3d.SimplePortrayal3D
 
getName(LocationWrapper) - Method in class sim.portrayal3d.grid.quad.QuadPortrayal
 
getName(LocationWrapper) - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
getName(LocationWrapper) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
getName(LocationWrapper) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
 
getName(int) - Method in class sim.util.CollectionProperties
 
getName(int) - Method in class sim.util.Properties
Returns the name of the property at the given index.
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
getObjectIndex(Object) - Method in class sim.field.SparseField
Returns the index of the object in the allObjects Bag, if the object exists, else returns -1.
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.
getOnlyCircleWhenSelected() - Method in class sim.portrayal.simple.CircledPortrayal2D
 
getOnlyCircleWhenSelected() - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
getOnlyLabelWhenSelected() - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
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
 
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)
getPreferredSize() - Method in class sim.util.gui.PropertyField
 
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.
getRGB(double) - Method in interface sim.util.gui.ColorMap
Returns the RGB values, plus alpha, for a color for the given level.
getRGB(double) - Method in class sim.util.gui.SimpleColorMap
 
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
getScale() - Method in class sim.display3d.Display3D
Returns the value of the scale (magnification).
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
 
getSelectedObjects(Bag) - Method in class sim.portrayal.FieldPortrayal2D
Adds to the Bag LocationWrappers of all selected objects.
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.
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.
getTransform() - Method in class sim.display3d.Display3D
Sets the Display3D's global model transform.
getTransform() - Method in class sim.portrayal3d.FieldPortrayal3D
Returns a copy of the current internal transform for the FieldPortrayal3D.
getTransform() - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
Returns a copy of the current internal transform for the TransformedPortrayal3D.
getType(int) - Method in class sim.util.CollectionProperties
 
getType(int) - Method in class sim.util.Properties
Returns the Class (or for primitive objects, the primitive TYPE) of the property at the given index.
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() - Method in class sim.portrayal.simple.ValuePortrayal2D.DoubleFilter
 
getValue() - Method in class sim.portrayal.simple.ValuePortrayal2D.IntFilter
 
getValue() - Method in class sim.portrayal3d.grid.quad.QuadPortrayal.DoubleFilter
 
getValue() - Method in class sim.portrayal3d.grid.quad.QuadPortrayal.IntFilter
 
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
Returns the value of the property at the given index.
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.ValueGridPortrayal2D
 
getValueName() - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
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
 
getWidth() - Method in class sim.util.DoubleDimension2D
 
getWrapper(Object) - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
 
getWrapper(Int2D) - Method in class sim.portrayal.grid.ObjectGridPortrayal2D
 
getWrapper(Object) - Method in class sim.portrayal.grid.SparseGridPortrayal2D
 
getWrapper(double, int, int) - Method in class sim.portrayal.grid.ValueGridPortrayal2D
 
getWrapper(Edge) - Method in class sim.portrayal.network.NetworkPortrayal2D
 
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
 
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
 
getZ() - Method in class sim.util.Double3D
 
getZ() - Method in class sim.util.Int3D
 
globalModelTransformGroup - Variable in class sim.display3d.Display3D
The TransformGroup which holds the switch holding the portrayal's scene graph models.
grid - Variable in class sim.portrayal.network.SpatialNetwork2D
 

H

HEXAGONAL_RATIO - Static variable in class sim.portrayal.grid.HexaObjectGridPortrayal2D
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.HexaSparseGridPortrayal2D
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
 
HexaObjectGridPortrayal2D - class sim.portrayal.grid.HexaObjectGridPortrayal2D.
Portrayal for hexagonal grids (each cell has six equally-distanced neighbors) containing objects.
HexaObjectGridPortrayal2D() - Constructor for class sim.portrayal.grid.HexaObjectGridPortrayal2D
 
HexaSparseGridPortrayal2D - class sim.portrayal.grid.HexaSparseGridPortrayal2D.
Portrayal for hexagonal grids (each cell has six equally-distanced neighbors).
HexaSparseGridPortrayal2D() - Constructor for class sim.portrayal.grid.HexaSparseGridPortrayal2D
 
HexaSparseGridPortrayal2D(DrawPolicy) - Constructor for class sim.portrayal.grid.HexaSparseGridPortrayal2D
 
HexaValueGridPortrayal2D - class sim.portrayal.grid.HexaValueGridPortrayal2D.
Portrayal for hexagonal grids (each cell has six equally-distanced neighbors) with double-precision real values.
HexaValueGridPortrayal2D() - Constructor for class sim.portrayal.grid.HexaValueGridPortrayal2D
 
HexaValueGridPortrayal2D(String) - Constructor for class sim.portrayal.grid.HexaValueGridPortrayal2D
 
HexagonalPortrayal2D - class sim.portrayal.simple.HexagonalPortrayal2D.
A simple portrayal for 2D visualization of hexagons.
HexagonalPortrayal2D() - Constructor for class sim.portrayal.simple.HexagonalPortrayal2D
 
HexagonalPortrayal2D(Paint) - Constructor for class sim.portrayal.simple.HexagonalPortrayal2D
 
HexagonalPortrayal2D(boolean) - Constructor for class sim.portrayal.simple.HexagonalPortrayal2D
 
HexagonalPortrayal2D(Paint, boolean) - Constructor for class sim.portrayal.simple.HexagonalPortrayal2D
 
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.DoubleDimension2D
 
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
 
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.simple.CircledPortrayal2D
 
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.simple.HexagonalPortrayal2D
If drawing area intersects selected area, add last portrayed object to the bag
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.simple.OvalPortrayal2D
If drawing area intersects selected area, add last portrayed object to the bag
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.simple.RectanglePortrayal2D
If drawing area intersects selected area, add last portrayed object to the bag
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.ContinuousPortrayal2D
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.grid.HexaObjectGridPortrayal2D
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.grid.HexaSparseGridPortrayal2D
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.grid.HexaValueGridPortrayal2D
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.grid.ObjectGridPortrayal2D
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.grid.SparseGridPortrayal2D
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.grid.ValueGridPortrayal2D
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.network.NetworkPortrayal2D
 

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
 
ImagePortrayal2D - class sim.portrayal.simple.ImagePortrayal2D.
A simple portrayal for 2D visualization of images.
ImagePortrayal2D(Image) - Constructor for class sim.portrayal.simple.ImagePortrayal2D
 
ImagePortrayal2D(Image, double) - Constructor for class sim.portrayal.simple.ImagePortrayal2D
 
ImagePortrayal3D - class sim.portrayal3d.simple.ImagePortrayal3D.
Portrays objects as a thin flat rectangle displaying a provided Image.
ImagePortrayal3D(Image) - Constructor for class sim.portrayal3d.simple.ImagePortrayal3D
Constructs a (semi-)transparent, oriented ImagePortrayal3D
ImagePortrayal3D(Image, boolean, boolean) - Constructor for class sim.portrayal3d.simple.ImagePortrayal3D
Constructs an ImagePortrayal3D
Indexed - interface sim.util.Indexed.
A simple interface (simpler than List) for accessing random-access objects without changing their size.
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 stores three values (x, y, and z) but it is immutable: once the x and y and z values are set, they cannot be changed (they're final).
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.display.Console
Returns icons for a given filename, such as "NotPlaying.png".
iconFor(String) - Static method in class sim.util.gui.NumberTextField
 
image - Variable in class sim.portrayal.simple.ImagePortrayal2D
 
image - Variable in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
image - Variable in class sim.util.media.PngEncoder
 
immutableField - Variable in class sim.portrayal3d.FieldPortrayal3D
 
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
 
insertModelForNewObject(Object, Transform3D) - Method in class sim.portrayal3d.SparseFieldPortrayal3D
This function is called from createModel for each object in the field and from the updateModel part of getModel for the new objects.
insideDisplay - Variable in class sim.display.Display2D
The 2D display inside the scroll view.
interpolation - Variable in class sim.display.Display2D.OptionPane
 
isApplet - Static variable in class sim.display.SimApplet
 
isCircleShowing() - Method in class sim.portrayal.simple.CircledPortrayal2D
 
isCircleShowing() - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
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
Returns true if the property at the given index is a "Composite" object, meaning it's not a primitive type (double, int, etc.) nor a String.
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
 
isImmutableField() - Method in class sim.portrayal3d.FieldPortrayal3D
Returns true if the underlying field is assumed to be unchanging -- thus there's no reason to update once we're created.
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).
isLabelShowing() - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
isLabelShowing() - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
isLineShowing() - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
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
Returns true if the property at the given index is both readable and writable (as opposed to read-only).
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 ...
isReadWrite - Variable in class sim.util.gui.PropertyField
 
isTransparent - Variable in class sim.portrayal.simple.ValuePortrayal2D
 
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.

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.
LabelledPortrayal2D - class sim.portrayal.simple.LabelledPortrayal2D.
A wrapper for other Portrayal2Ds which also draws a textual label.
LabelledPortrayal2D(SimplePortrayal2D, int, int, double, double, Font, int, String, Paint, boolean) - Constructor for class sim.portrayal.simple.LabelledPortrayal2D
If child is null, then the underlying model object is presumed to be a Portrayal2D and will be used.
LabelledPortrayal2D(SimplePortrayal2D, String) - Constructor for class sim.portrayal.simple.LabelledPortrayal2D
Draws 20 pixels down from the [0,0.5] prescaled position of the Portrayal2D, using the SansSerif 10pt font, blue, and left alignment.
LabelledPortrayal2D(SimplePortrayal2D, String, Paint, boolean) - Constructor for class sim.portrayal.simple.LabelledPortrayal2D
Draws 20 pixels down from the [0,1] prescaled position of the Portrayal2D, using the SansSerif 10pt font, and left alignment.
LabelledPortrayal3D - class sim.portrayal3d.simple.LabelledPortrayal3D.
A wrapper for other Portrayal3Ds which also draws a textual label.
LabelledPortrayal3D(SimplePortrayal3D, String) - Constructor for class sim.portrayal3d.simple.LabelledPortrayal3D
 
LabelledPortrayal3D(SimplePortrayal3D, String, Color, boolean) - Constructor for class sim.portrayal3d.simple.LabelledPortrayal3D
 
LabelledPortrayal3D(SimplePortrayal3D, float, float, float, Font, String, Color, float, boolean) - Constructor for class sim.portrayal3d.simple.LabelledPortrayal3D
 
LabelledPortrayal3D(SimplePortrayal3D, Transform3D, Font, String, Color, float, boolean) - Constructor for class sim.portrayal3d.simple.LabelledPortrayal3D
 
LightPortrayal3D - class sim.portrayal3d.simple.LightPortrayal3D.
A simple Portrayal3D which provides ambient, directional, or point light to the scene.
LightPortrayal3D(Color, Double3D) - Constructor for class sim.portrayal3d.simple.LightPortrayal3D
Directional Light
LightPortrayal3D(Color) - Constructor for class sim.portrayal3d.simple.LightPortrayal3D
Ambient Light
LightPortrayal3D(Color, Double3D, float, float, float) - Constructor for class sim.portrayal3d.simple.LightPortrayal3D
Point Light.
LightPortrayal3D(Light) - Constructor for class sim.portrayal3d.simple.LightPortrayal3D
Provide your own Light!
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
 
label - Variable in class sim.portrayal.simple.LabelledPortrayal2D
 
label - Variable in class sim.portrayal3d.simple.LabelledPortrayal3D
 
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
 
level - Variable in class sim.portrayal.simple.ValuePortrayal2D
 
light - Variable in class sim.portrayal3d.simple.LightPortrayal3D
 
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
 
MersenneTwisterFast - class ec.util.MersenneTwisterFast.
MersenneTwister and MersenneTwisterFast
MersenneTwisterFast() - Constructor for class ec.util.MersenneTwisterFast
Constructor using the default seed.
MersenneTwisterFast(long) - Constructor for class ec.util.MersenneTwisterFast
Constructor using a given seed.
MersenneTwisterFast(int[]) - Constructor for class ec.util.MersenneTwisterFast
Constructor using an array.
MeshPortrayal - class sim.portrayal3d.grid.quad.MeshPortrayal.
A QuadPortrayal which relates grid locations with intersections on a mesh (like positions on a Go board, coloring and changing the Z location of the intersections.
MeshPortrayal(ColorMap) - Constructor for class sim.portrayal3d.grid.quad.MeshPortrayal
 
MeshPortrayal(ColorMap, float) - Constructor for class sim.portrayal3d.grid.quad.MeshPortrayal
 
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.
A class which gives a GUI front-end to sim.util.media.MovieEncoder.
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.MersenneTwisterFast
Tests the code.
map - Variable in class sim.portrayal.grid.ValueGridPortrayal2D
 
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.util.gui.SimpleColorMap
 
maxBlue - Variable in class sim.util.gui.SimpleColorMap
 
maxGreen - Variable in class sim.util.gui.SimpleColorMap
 
maxLevel - Variable in class sim.util.gui.SimpleColorMap
 
maxPos - Variable in class sim.util.media.PngEncoder
 
maxRed - Variable in class sim.util.gui.SimpleColorMap
 
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.util.gui.SimpleColorMap
 
minBlue - Variable in class sim.util.gui.SimpleColorMap
 
minColor - Variable in class sim.util.gui.SimpleColorMap
 
minGreen - Variable in class sim.util.gui.SimpleColorMap
 
minLevel - Variable in class sim.util.gui.SimpleColorMap
 
minRed - Variable in class sim.util.gui.SimpleColorMap
 
move(Bag, Dimension2D) - Method in class sim.portrayal.FieldPortrayal2D
Moves the Bag of LocationWrappers by the provided amount.
move(LocationWrapper, Dimension2D) - Method in class sim.portrayal.SimplePortrayal2D
 
movieMaker - Variable in class sim.display.Display2D
Our movie maker, if one is running, else null.
movieMaker - Variable in class sim.display3d.Display3D
The MovieMaker
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.
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
 
NetworkPortrayal2D - class sim.portrayal.network.NetworkPortrayal2D.
Portrays network fields.
NetworkPortrayal2D() - Constructor for class sim.portrayal.network.NetworkPortrayal2D
 
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.ValueGridPortrayal2D
This method is called by the default inspector to filter new values set by the user.
newValue(int, int, double) - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
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 - Variable in class sim.engine.Schedule
 
nextBoolean() - Method in class ec.util.MersenneTwisterFast
 
nextBoolean(float) - Method in class ec.util.MersenneTwisterFast
This generates a coin flip with a probability probability of returning true, else returning false.
nextBoolean(double) - Method in class ec.util.MersenneTwisterFast
This generates a coin flip with a probability probability of returning true, else returning false.
nextByte() - Method in class ec.util.MersenneTwisterFast
 
nextBytes(byte[]) - Method in class ec.util.MersenneTwisterFast
 
nextChar() - Method in class ec.util.MersenneTwisterFast
 
nextDouble() - Method in class ec.util.MersenneTwisterFast
Returns a random double.
nextFloat() - Method in class ec.util.MersenneTwisterFast
 
nextGaussian() - Method in class ec.util.MersenneTwisterFast
 
nextInt() - Method in class ec.util.MersenneTwisterFast
 
nextInt(int) - Method in class ec.util.MersenneTwisterFast
Returns an integer drawn uniformly from 0 to n-1.
nextLong() - Method in class ec.util.MersenneTwisterFast
 
nextLong(long) - Method in class ec.util.MersenneTwisterFast
Returns a long drawn uniformly from 0 to n-1.
nextShort() - Method in class ec.util.MersenneTwisterFast
 
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
Returns the number of properties discovered in the object.
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 wrapper for 2D arrays of 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
 
ObjectGrid3D - class sim.field.grid.ObjectGrid3D.
A wrapper for 3D arrays of 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
 
ObjectGridPortrayal2D - class sim.portrayal.grid.ObjectGridPortrayal2D.
A portrayal for grids containing objects, such as maybe agents or agent bodies.
ObjectGridPortrayal2D() - Constructor for class sim.portrayal.grid.ObjectGridPortrayal2D
 
Oriented2D - interface sim.portrayal.Oriented2D.
An Oriented2D object provides an orientation in radians.
OrientedPortrayal2D - class sim.portrayal.simple.OrientedPortrayal2D.
A wrapper for other Portrayal2Ds which also pointing out along the object's specified orientation angle.
OrientedPortrayal2D(SimplePortrayal2D, int, double, Paint) - Constructor for class sim.portrayal.simple.OrientedPortrayal2D
If child is null, then the underlying model object is presumed to be a Portrayal2D and will be used.
OrientedPortrayal2D(SimplePortrayal2D) - Constructor for class sim.portrayal.simple.OrientedPortrayal2D
Draw a line of length or = 0.5 dr = 0, in red.
OrientedPortrayal2D(SimplePortrayal2D, int, double) - Constructor for class sim.portrayal.simple.OrientedPortrayal2D
Draw a line of the given length in red.
OrientedPortrayal2D(SimplePortrayal2D, Paint) - Constructor for class sim.portrayal.simple.OrientedPortrayal2D
Draw a line of length or = 0.5, dr = 0.
OvalPortrayal2D - class sim.portrayal.simple.OvalPortrayal2D.
A simple portrayal for 2D visualization of ovals.
OvalPortrayal2D() - Constructor for class sim.portrayal.simple.OvalPortrayal2D
 
OvalPortrayal2D(Paint) - Constructor for class sim.portrayal.simple.OvalPortrayal2D
 
OvalPortrayal2D(double) - Constructor for class sim.portrayal.simple.OvalPortrayal2D
 
OvalPortrayal2D(Paint, double) - Constructor for class sim.portrayal.simple.OvalPortrayal2D
 
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
 
offset - Variable in class sim.portrayal3d.simple.LabelledPortrayal3D
 
onlyLabelWhenSelected - Variable in class sim.portrayal.simple.LabelledPortrayal2D
 
optionPane - Variable in class sim.display.Display2D
Our option pane
optionalLabel - Variable in class sim.util.gui.PropertyField
 
or - Variable in class sim.portrayal.simple.CircledPortrayal2D
The pre-scaling radius
or - Variable in class sim.portrayal.simple.OrientedPortrayal2D
The pre-scaling length
orientation2D() - Method in interface sim.portrayal.Oriented2D
 
out - Variable in class sim.field.network.NetworkField.IndexOutIn
 
owner() - Method in class sim.field.network.Edge
Returns the "owner" field.
ox - Variable in class sim.portrayal.simple.LabelledPortrayal2D
The pre-scaling offset from the object's origin.
oy - Variable in class sim.portrayal.simple.LabelledPortrayal2D
The pre-scaling offset from the object's origin.

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 takes a Java Image object and creates a byte string which can be saved as a PNG file.
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.
The top-level definition of Portrayals which portray underlying models using, er, Java3D models.
Properties - class sim.util.Properties.
The abstract superclass of Property inspectors.
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.
paint - Variable in class sim.portrayal.simple.CircledPortrayal2D
The Paint or Color of the circle
paint - Variable in class sim.portrayal.simple.HexagonalPortrayal2D
 
paint - Variable in class sim.portrayal.simple.LabelledPortrayal2D
The Paint or Color of the text
paint - Variable in class sim.portrayal.simple.OrientedPortrayal2D
The Paint or Color of the line
paint - Variable in class sim.portrayal.simple.OvalPortrayal2D
 
paint - Variable in class sim.portrayal.simple.RectanglePortrayal2D
 
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.
paintComponent(Graphics) - Method in class sim.display3d.Display3D
Updates the scene graph
paintToMovie() - Method in class sim.display.Display2D.InnerDisplay2D
Paints a movie, by writing it to the screen buffered, then encoding the buffer to disk.
parent - Variable in class sim.portrayal.simple.ValuePortrayal2D
 
parentPortrayal - Variable in class sim.portrayal3d.SimplePortrayal3D
Used by the SimplePortrayal3D to add its parent to its pickInfo object when the user picks the SimplePortrayal3D.
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.SparseGridPortrayal2D
 
polygonAttributes() - Method in class sim.portrayal3d.FieldPortrayal3D
 
polygonAttributes() - Method in interface sim.portrayal3d.Portrayal3D
Provides a PolygonAttributes which can be modified to change the underlying model's attributes (culling, vertex versus point versus fill).
polygonAttributes() - Method in class sim.portrayal3d.SimplePortrayal3D
 
polygonAttributes() - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
polygonAttributes() - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
polygonAttributes() - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
polygonAttributes() - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
 
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.
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.
priorRow - Variable in class sim.util.media.PngEncoder
 
processStimulus(Enumeration) - Method in class sim.display3d.SelectionBehavior
Disregard all stimuli other than Dbl-Click or greater
properties - Variable in class sim.portrayal.SimpleInspector
 
propertiesProxy() - Method in interface sim.util.Proxiable
Returns the proxy object to query for Properties instead of me.
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

QuadPortrayal - class sim.portrayal3d.grid.quad.QuadPortrayal.
A QuadPortrayal is the abstract superclass of objects which describe how rectangles in a in a ValueGrid2DPortrayal3D are associated with the underlying ValueGrid2D.
QuadPortrayal(ColorMap, float) - Constructor for class sim.portrayal3d.grid.quad.QuadPortrayal
 
QuadPortrayal.DoubleFilter - class sim.portrayal3d.grid.quad.QuadPortrayal.DoubleFilter.
 
QuadPortrayal.DoubleFilter(LocationWrapper) - Constructor for class sim.portrayal3d.grid.quad.QuadPortrayal.DoubleFilter
 
QuadPortrayal.Filter - class sim.portrayal3d.grid.quad.QuadPortrayal.Filter.
 
QuadPortrayal.Filter(LocationWrapper) - Constructor for class sim.portrayal3d.grid.quad.QuadPortrayal.Filter
 
QuadPortrayal.IntFilter - class sim.portrayal3d.grid.quad.QuadPortrayal.IntFilter.
 
QuadPortrayal.IntFilter(LocationWrapper) - Constructor for class sim.portrayal3d.grid.quad.QuadPortrayal.IntFilter
 
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
RectanglePortrayal2D - class sim.portrayal.simple.RectanglePortrayal2D.
A simple portrayal for 2D visualization of rectangles.
RectanglePortrayal2D() - Constructor for class sim.portrayal.simple.RectanglePortrayal2D
 
RectanglePortrayal2D(Paint) - Constructor for class sim.portrayal.simple.RectanglePortrayal2D
 
RectanglePortrayal2D(double) - Constructor for class sim.portrayal.simple.RectanglePortrayal2D
 
RectanglePortrayal2D(Paint, double) - Constructor for class sim.portrayal.simple.RectanglePortrayal2D
 
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.
refresh() - Method in class sim.display.Console
 
refresh() - Method in interface sim.display.Controller
Lazily updates and redraws all the displays and inspectors.
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
Synonym for clear(), here only for backward-compatibility.
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.FastValueGridPortrayal2D
 
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
 
resetTransform() - Method in class sim.display3d.Display3D
Resets the global model transform to its default value (identity).
resetTransform() - Method in class sim.portrayal3d.FieldPortrayal3D
Resets the internal transform to the value of getDefaultTransform()
resetTransform() - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
Resets the internal transform to the value of getDefaultTransform()
resize(int) - Method in class sim.util.Bag
Resizes the internal array to at least the requested size.
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
 
root - Variable in class sim.display3d.Display3D
The root scene graph node in the Java3D universe.
rotateX(double) - Method in class sim.display3d.Display3D
Modifies the global model transform by rotating along the current X axis the provided number of degrees.
rotateX(double) - Method in class sim.portrayal3d.FieldPortrayal3D
Modifies the internal transform by rotating along the current X axis the provided number of degrees.
rotateX(double) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
Modifies the internal transform by rotating along the current X axis the provided number of degrees.
rotateY(double) - Method in class sim.display3d.Display3D
Modifies the global model transform by rotating along the current Y axis the provided number of degrees.
rotateY(double) - Method in class sim.portrayal3d.FieldPortrayal3D
Modifies the internal transform by rotating along the current Y axis the provided number of degrees.
rotateY(double) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
Modifies the internal transform by rotating along the current Y axis the provided number of degrees.
rotateZ(double) - Method in class sim.display3d.Display3D
Modifies the global model transform by rotating along the current Z axis the provided number of degrees.
rotateZ(double) - Method in class sim.portrayal3d.FieldPortrayal3D
Modifies the internal transform by rotating along the current Z axis the provided number of degrees.
rotateZ(double) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
Modifies the internal transform by rotating along the current Z axis the provided number of degrees.
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.
A behavior added to Display3Ds which enables Portrayal3Ds to be selected (via Java3D picking).
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.
Shape3DPortrayal3D - class sim.portrayal3d.simple.Shape3DPortrayal3D.
A simple portrayal for displaying Shape3D objects.
Shape3DPortrayal3D(Shape3D) - Constructor for class sim.portrayal3d.simple.Shape3DPortrayal3D
Constructs a Shape3DPortrayal3D with the given shape and a default (flat opaque white) appearance.
Shape3DPortrayal3D(Shape3D, Color) - Constructor for class sim.portrayal3d.simple.Shape3DPortrayal3D
Constructs a Shape3DPortrayal3D with the given shape and a flat opaque appearance of the given color.
Shape3DPortrayal3D(Shape3D, Image) - Constructor for class sim.portrayal3d.simple.Shape3DPortrayal3D
Constructs a Shape3DPortrayal3D with the given shape and (opaque) image.
Shape3DPortrayal3D(Shape3D, Appearance) - Constructor for class sim.portrayal3d.simple.Shape3DPortrayal3D
Constructs a Shape3DPortrayal3D with the given shape and appearance.
SharedGroupPortrayal3D - class sim.portrayal3d.simple.SharedGroupPortrayal3D.
 
SharedGroupPortrayal3D(SharedGroup) - Constructor for class sim.portrayal3d.simple.SharedGroupPortrayal3D
 
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
 
SimpleColorMap - class sim.util.gui.SimpleColorMap.
Maps numerical levels to colors using either a lookup table, color interpolation, or both.
SimpleColorMap() - Constructor for class sim.util.gui.SimpleColorMap
 
SimpleColorMap(double, double, Color, Color) - Constructor for class sim.util.gui.SimpleColorMap
 
SimpleColorMap(Color[]) - Constructor for class sim.util.gui.SimpleColorMap
 
SimpleColorMap(Color[], double, double, Color, Color) - Constructor for class sim.util.gui.SimpleColorMap
 
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.
The superclass of all 2D Simple Portrayals.
SimplePortrayal2D() - Constructor for class sim.portrayal.SimplePortrayal2D
 
SimplePortrayal3D - class sim.portrayal3d.SimplePortrayal3D.
The superclass of all 2D Simple Portrayals which by default adds nothing to the 3D scene.
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.
An abstract superclass for all FieldPortrayal3Ds which display SparseFields.
SparseFieldPortrayal3D() - 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
 
SparseGrid2DPortrayal3D - class sim.portrayal3d.grid.SparseGrid2DPortrayal3D.
Displays objects in a SparseGrid2D along the XY grid in a special way.
SparseGrid2DPortrayal3D(double) - Constructor for class sim.portrayal3d.grid.SparseGrid2DPortrayal3D
Creates a SparseGrid2DPortrayal3D with the provided scale
SparseGrid2DPortrayal3D() - Constructor for class sim.portrayal3d.grid.SparseGrid2DPortrayal3D
Creates a SparseGrid2DPortrayal3D with scale = 1.0
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
 
SparseGridPortrayal2D - class sim.portrayal.grid.SparseGridPortrayal2D.
Can be used to draw both continuous and descrete sparse fields
SparseGridPortrayal2D() - Constructor for class sim.portrayal.grid.SparseGridPortrayal2D
 
SparseGridPortrayal2D(DrawPolicy) - Constructor for class sim.portrayal.grid.SparseGridPortrayal2D
 
SparseGridPortrayal3D - class sim.portrayal3d.grid.SparseGridPortrayal3D.
Portrays both SparseGrid2D and SparseGrid3D fields.
SparseGridPortrayal3D() - Constructor for class sim.portrayal3d.grid.SparseGridPortrayal3D
 
SpatialNetwork2D - class sim.portrayal.network.SpatialNetwork2D.
A wrapper used by NetworkPortrayal2D 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.
Portrays objects as a sphere of the specified color or appearance (flat opaque white by default) which fills the region from (-0.5*scale,-0.5*scale,-0.5*scale) to (0.5*scale,0.5*scale,0.5*scale).
SpherePortrayal3D() - Constructor for class sim.portrayal3d.simple.SpherePortrayal3D
Constructs a SpherePortrayal3D with a default (flat opaque white) appearance and a scale of 1.0.
SpherePortrayal3D(float) - Constructor for class sim.portrayal3d.simple.SpherePortrayal3D
Constructs a SpherePortrayal3D with a default (flat opaque white) appearance and the given scale.
SpherePortrayal3D(Color) - Constructor for class sim.portrayal3d.simple.SpherePortrayal3D
Constructs a SpherePortrayal3D with a flat opaque appearance of the given color and a scale of 1.0.
SpherePortrayal3D(Color, float) - Constructor for class sim.portrayal3d.simple.SpherePortrayal3D
Constructs a SpherePortrayal3D with a flat opaque appearance of the given color and the given scale.
SpherePortrayal3D(Color, float, int) - Constructor for class sim.portrayal3d.simple.SpherePortrayal3D
Constructs a SpherePortrayal3D with a flat opaque appearance of the given color, scale, and divisions.
SpherePortrayal3D(Image) - Constructor for class sim.portrayal3d.simple.SpherePortrayal3D
Constructs a SpherePortrayal3D with the given (opaque) image and a scale of 1.0.
SpherePortrayal3D(Image, float) - Constructor for class sim.portrayal3d.simple.SpherePortrayal3D
Constructs a SpherePortrayal3D with the given (opaque) image and scale.
SpherePortrayal3D(Image, float, int) - Constructor for class sim.portrayal3d.simple.SpherePortrayal3D
Constructs a SpherePortrayal3D with the given (opaque) image, scale, and divisions.
SpherePortrayal3D(Appearance, boolean, boolean, float, int) - Constructor for class sim.portrayal3d.simple.SpherePortrayal3D
Constructs a SpherePortrayal3D with the given appearance, divisions, and scale, plus whether or not to generate normals or texture coordinates.
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.
scale(double) - Method in class sim.display3d.Display3D
Modifies the global model transform by uniformly scaling it in all directions by the provided amount.
scale(double, double, double) - Method in class sim.display3d.Display3D
Modifies the internal transform by scaling it in a nonuniform fashion.
scale - Variable in class sim.portrayal.simple.OvalPortrayal2D
 
scale - Variable in class sim.portrayal.simple.RectanglePortrayal2D
 
scale(double) - Method in class sim.portrayal3d.FieldPortrayal3D
Modifies the internal transform by uniformly scaling it in all directions by the provided amount.
scale(double, double, double) - Method in class sim.portrayal3d.FieldPortrayal3D
Modifies the internal transform by scaling it in a nonuniform fashion.
scale - Variable in class sim.portrayal3d.simple.CircledPortrayal3D
 
scale - Variable in class sim.portrayal3d.simple.ConePortrayal3D
 
scale - Variable in class sim.portrayal3d.simple.CubePortrayal3D
 
scale - Variable in class sim.portrayal3d.simple.CylinderPortrayal3D
 
scale - Variable in class sim.portrayal3d.simple.LabelledPortrayal3D
 
scale - Variable in class sim.portrayal3d.simple.SpherePortrayal3D
 
scale(double) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
Modifies the internal transform by uniformly scaling it in all directions by the provided amount.
scale(double, double, double) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
Modifies the internal transform by scaling it in a nonuniform fashion.
sceneGraphCreated() - Method in class sim.display3d.Display3D
A hook for people who want to modify the scene graph just after it's been created (when the user pressed the start button usually; or if the user dynamicallly attaches or detaches portrayals) but before the canvas has started rendering.
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, int) - Method in class sim.util.IntBag
 
setBackdrop(Paint) - Method in class sim.display.Display2D
Specify the backdrop color or other paint.
setBackdrop(Appearance) - Method in class sim.display3d.Display3D
Sets a general appearance for a spherical backdrop.
setBackdrop(Color) - Method in class sim.display3d.Display3D
Sets the color for a flat backdrop.
setBackdrop(Image, boolean) - Method in class sim.display3d.Display3D
Sets the image for a backdrop (spherical or flat)
setBuffering(int) - Method in class sim.portrayal.grid.FastValueGridPortrayal2D
 
setCircleShowing(boolean) - Method in class sim.portrayal.simple.CircledPortrayal2D
 
setCircleShowing(boolean) - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
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.util.gui.SimpleColorMap
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(ValueGridCellInfo, float[], float[], int, int, int) - Method in class sim.portrayal3d.grid.quad.MeshPortrayal
 
setData(ValueGridCellInfo, float[], float[], int, int, int) - Method in class sim.portrayal3d.grid.quad.QuadPortrayal
 
setData(ValueGridCellInfo, float[], float[], int, int, int) - Method in class sim.portrayal3d.grid.quad.TilePortrayal
 
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.ContinuousPortrayal2D
 
setField(Object) - Method in class sim.portrayal.grid.ObjectGridPortrayal2D
 
setField(Object) - Method in class sim.portrayal.grid.SparseGridPortrayal2D
 
setField(Object) - Method in class sim.portrayal.grid.ValueGridPortrayal2D
 
setField(Object) - Method in class sim.portrayal.network.NetworkPortrayal2D
 
setField(Object) - Method in class sim.portrayal3d.FieldPortrayal3D
 
setField(Object) - Method in class sim.portrayal3d.continuous.ContinuousPortrayal3D
 
setField(Object) - Method in class sim.portrayal3d.grid.SparseGrid2DPortrayal3D
 
setField(Object) - Method in class sim.portrayal3d.grid.SparseGridPortrayal3D
 
setField(Object) - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
setFilter(int) - Method in class sim.util.media.PngEncoder
Set the filter to use
setImage(Image) - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
Set the appearance to a fully opaque image.
setImage(Image) - Method in class sim.util.media.PngEncoder
Set the image to be encoded
setImmutableField(boolean) - Method in class sim.portrayal3d.FieldPortrayal3D
Specifies that the underlying field is (or is not) to be assumed unchanging -- thus there's no reason to update once we're created.
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
Sets how many ticks are skipped before the display updates itself.
setLabelShowing(boolean) - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
setLabelShowing(boolean) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
setLevels(double, double, Color, Color) - Method in class sim.util.gui.SimpleColorMap
Sets the color levels for the ValueGridPortrayal2D values for use by the default getColor(...) method.
setLineShowing(boolean) - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
setMap(ColorMap) - Method in class sim.portrayal.grid.ValueGridPortrayal2D
 
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
 
setOnlyCircleWhenSelected(boolean) - Method in class sim.portrayal.simple.CircledPortrayal2D
 
setOnlyCircleWhenSelected(boolean) - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
setOnlyLabelWhenSelected(boolean) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
setParent(ValueGridPortrayal2D) - Method in class sim.portrayal.simple.ValuePortrayal2D
 
setParentPortrayal(FieldPortrayal3D) - Method in class sim.portrayal3d.SimplePortrayal3D
Sets the parent portrayal (a FieldPortrayal3D).
setParentPortrayal(FieldPortrayal3D) - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
setParentPortrayal(FieldPortrayal3D) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
setParentPortrayal(FieldPortrayal3D) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
 
setPickableFlags(Shape3D) - Static method in class sim.portrayal3d.SimplePortrayal3D
Utility method which prepares the given Shape3D to be pickable (for selection and inspection).
setPickableFlags(Geometry) - Static method in class sim.portrayal3d.SimplePortrayal3D
Utility method which prepares the given Geometry to be pickable (for selection and inspection).
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
setScale(double) - Method in class sim.display3d.Display3D
Changes the value of the scale (magnification).
setSeed(long) - Method in class ec.util.MersenneTwisterFast
Initalize the pseudo random number generator.
setSeed(int[]) - Method in class ec.util.MersenneTwisterFast
An alternative, more complete, method of seeding the pseudo random number generator.
setSelected(LocationWrapper, boolean) - Method in class sim.portrayal.FieldPortrayal
 
setSelected(Bag, boolean) - Method in class sim.portrayal.FieldPortrayal2D
Selects or deselects all of the provided objects.
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.portrayal.simple.CircledPortrayal2D
 
setSelected(LocationWrapper, boolean) - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
setSelected(LocationWrapper, boolean) - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
setSelected(LocationWrapper, boolean) - Method in class sim.portrayal3d.SimplePortrayal3D
 
setSelected(LocationWrapper, boolean) - Method in class sim.portrayal3d.grid.quad.QuadPortrayal
 
setSelected(LocationWrapper, boolean) - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
setSelected(LocationWrapper, boolean) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
setSelected(LocationWrapper, boolean) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
 
setSize(double, double) - Method in class sim.util.DoubleDimension2D
 
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
 
setTransform(Transform3D) - Method in class sim.display3d.Display3D
Returns a copy of the current global model transform.
setTransform(Transform3D) - Method in class sim.portrayal3d.FieldPortrayal3D
Sets the FieldPortrayal3D's internal Transform.
setTransform(Transform3D) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
Sets the TransformedPortrayal3D's internal Transform.
setTransparency(float) - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
Sets non-image transparency: 1.0f is fully opaque, 0.0f is fully transparent.
setValue(double) - Method in class sim.portrayal.simple.ValuePortrayal2D.DoubleFilter
 
setValue(int) - Method in class sim.portrayal.simple.ValuePortrayal2D.IntFilter
 
setValue(double) - Method in class sim.portrayal3d.grid.quad.QuadPortrayal.DoubleFilter
 
setValue(int) - Method in class sim.portrayal3d.grid.quad.QuadPortrayal.IntFilter
 
setValue(int, Object) - Method in class sim.util.Bag
identical to set(index, element)
setValue(int, Object) - Method in class sim.util.DoubleBag
 
setValue(int, Object) - Method in interface sim.util.Indexed
Throws an IndexOutOfBoundsException if index is inappropriate, and IllegalArgumentException if the value is inappropriate.
setValue(int, Object) - Method in class sim.util.IntBag
 
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.
shape - Variable in class sim.portrayal3d.simple.Shape3DPortrayal3D
 
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.portrayal.simple - package sim.portrayal.simple
 
sim.portrayal3d - package sim.portrayal3d
 
sim.portrayal3d.continuous - package sim.portrayal3d.continuous
 
sim.portrayal3d.grid - package sim.portrayal3d.grid
 
sim.portrayal3d.grid.quad - package sim.portrayal3d.grid.quad
 
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() - 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
Create a dialog box allowing the user to specify where to save the file, and in what format and frame rate, and set up the movie encoding process ready to go, using typicalImage as an example image (for size purposes).
startMovie() - Method in class sim.display.Display2D
Starts a Quicktime movie on the given Display2D.
startMovie() - Method in class sim.display3d.Display3D
Starts a Quicktime movie on the given 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
Steps the Display3D in the GUIState schedule.
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
End the movie stream, finish up writing to disk, and clean up.
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
Stops a Quicktime movie and cleans up, flushing the remaining frames out to disk.
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
 
switcher - Variable in class sim.util.gui.PropertyField
 

T

TilePortrayal - class sim.portrayal3d.grid.quad.TilePortrayal.
A QuadPortrayal which describes locations as the center of a square in a grid (like tiles on the floor, each tile corresponding to a location on the grid).
TilePortrayal(ColorMap) - Constructor for class sim.portrayal3d.grid.quad.TilePortrayal
 
TilePortrayal(ColorMap, float) - Constructor for class sim.portrayal3d.grid.quad.TilePortrayal
 
TransformedPortrayal3D - class sim.portrayal3d.simple.TransformedPortrayal3D.
A wrapper for other Portrayal3Ds which transforms them with an underlying Transform3D: meaning that you can rotate them, translate them, scale them, etc.
TransformedPortrayal3D(SimplePortrayal3D, Transform3D) - Constructor for class sim.portrayal3d.simple.TransformedPortrayal3D
 
TransformedPortrayal3D(SimplePortrayal3D) - Constructor for class sim.portrayal3d.simple.TransformedPortrayal3D
 
takeSnapshot() - Method in class sim.display.Display2D
Takes a snapshot of the Display2D's currently displayed simulation.
takeSnapshot() - Method in class sim.display3d.Display3D
Takes a snapshot of the Display3D's currently displayed simulation.
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.quad.MeshPortrayal
 
tmpColor - Variable in class sim.portrayal3d.grid.quad.TilePortrayal
 
tmpCoords - Variable in class sim.portrayal3d.grid.quad.MeshPortrayal
 
tmpCoords - Variable in class sim.portrayal3d.grid.quad.TilePortrayal
 
tmpLocalT - Variable in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
tmp Transform3D it is reused, since the TGs are copying it internally
tmpVect - Variable in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
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.
transform(Transform3D) - Method in class sim.display3d.Display3D
Changes the global model transform of the FieldPortrayal3D by appending to it the provided transform operation.
transform(Transform3D) - Method in class sim.portrayal3d.FieldPortrayal3D
Changes the internal transform of the FieldPortrayal3D by appending to it the provided transform operation.
transform(Transform3D) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
Changes the internal transform of the TransformedPortrayal3D by appending to it the provided transform operation.
translate(double, double, double) - Method in class sim.display3d.Display3D
Modifies the global model transform by translating in the provided x, y, and z amounts.
translate(double, double, double) - Method in class sim.portrayal3d.FieldPortrayal3D
Modifies the internal transform by translating in the provided x, y, and z amounts.
translate(double, double, double) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
Modifies the internal transform by translating in the provided x, y, and z amounts.
transparency - Variable in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
Non-image transparency: 1.0f is fully opaque, 0.0f is fully transparent.
trb(int, int) - Method in class sim.field.grid.AbstractGrid2D
 
trb(int, int) - Method in interface sim.field.grid.Grid2D
Horizontal edge is on the bottom for triangle.
trb(int, int) - Method in class sim.field.grid.SparseGrid2D
 
trt(int, int) - Method in class sim.field.grid.AbstractGrid2D
 
trt(int, int) - Method in interface sim.field.grid.Grid2D
Horizontal edge is on the top for triangle.
trt(int, int) - Method in class sim.field.grid.SparseGrid2D
 
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.FastValueGridPortrayal2D
 
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
universe - Variable in class sim.display3d.Display3D
The Java3D universe.
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
 
updateModel(TransformGroup) - Method in class sim.portrayal3d.FieldPortrayal3D
Returns a tree structure of the form InternalTransform[model info].
updateModel(TransformGroup) - Method in class sim.portrayal3d.SparseFieldPortrayal3D
 
updateModel(TransformGroup) - Method in class sim.portrayal3d.grid.SparseGrid2DPortrayal3D
 
updateModel(TransformGroup) - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
updateScene(int, int) - Method in class sim.display3d.SelectionBehavior
 
updateSceneGraph(boolean) - Method in class sim.display3d.Display3D
Updates the scene graph to reflect changes in the simulation.
updateSwitch(Switch) - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
updateSwitch(Switch) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
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

ValueGrid2DPortrayal3D - class sim.portrayal3d.grid.ValueGrid2DPortrayal3D.
Displays ValueGrid2Ds values along the XY grid using a surface.
ValueGrid2DPortrayal3D(String, Image) - Constructor for class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
Use a fully opaque image as the appearance.
ValueGrid2DPortrayal3D(String, float) - Constructor for class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
Be somewhat transparent (1.0 is fully opaque, 0.0f is fully transparent).
ValueGrid2DPortrayal3D(String) - Constructor for class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
Be completely opaque
ValueGrid2DPortrayal3D() - Constructor for class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
ValueGridCellInfo - class sim.portrayal3d.grid.ValueGridCellInfo.
Used by ValueGrid2DPortrayal3D to send needed value information to underlying QuadPortrayals.
ValueGridCellInfo(Grid2D) - Constructor for class sim.portrayal3d.grid.ValueGridCellInfo
 
ValueGridCellInfo(Grid3D) - Constructor for class sim.portrayal3d.grid.ValueGridCellInfo
 
ValueGridPortrayal2D - class sim.portrayal.grid.ValueGridPortrayal2D.
This class is capable of portraying the DoubleGrid2D and IntGrid2D fields (and only those two fields -- or subclasses).
ValueGridPortrayal2D() - Constructor for class sim.portrayal.grid.ValueGridPortrayal2D
 
ValueGridPortrayal2D(String) - Constructor for class sim.portrayal.grid.ValueGridPortrayal2D
 
ValuePortrayal2D - class sim.portrayal.simple.ValuePortrayal2D.
The ValuePortrayal2D is the default portrayal for ValueGridPortrayal2Ds.
ValuePortrayal2D(ValueGridPortrayal2D) - Constructor for class sim.portrayal.simple.ValuePortrayal2D
 
ValuePortrayal2D.DoubleFilter - class sim.portrayal.simple.ValuePortrayal2D.DoubleFilter.
 
ValuePortrayal2D.DoubleFilter(LocationWrapper) - Constructor for class sim.portrayal.simple.ValuePortrayal2D.DoubleFilter
 
ValuePortrayal2D.Filter - class sim.portrayal.simple.ValuePortrayal2D.Filter.
 
ValuePortrayal2D.Filter(LocationWrapper) - Constructor for class sim.portrayal.simple.ValuePortrayal2D.Filter
 
ValuePortrayal2D.IntFilter - class sim.portrayal.simple.ValuePortrayal2D.IntFilter.
 
ValuePortrayal2D.IntFilter(LocationWrapper) - Constructor for class sim.portrayal.simple.ValuePortrayal2D.IntFilter
 
val - Variable in class sim.util.MutableDouble
 
valField - Variable in class sim.util.gui.NumberTextField
 
valField - Variable in class sim.util.gui.PropertyField
 
valFieldBorder - Variable in class sim.util.gui.PropertyField
 
validLevel(double) - Method in interface sim.util.gui.ColorMap
Returns true if a level is "valid" (it provides a meaningful color)
validLevel(double) - Method in class sim.util.gui.SimpleColorMap
 
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() - Method in class sim.portrayal3d.grid.ValueGridCellInfo
 
valueName - Variable in class sim.portrayal.grid.ValueGridPortrayal2D
 
valueName - Variable in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
viewButton - Variable in class sim.util.gui.PropertyField
 
viewButtonListener - Variable in class sim.util.gui.PropertyField
 
viewLabel - 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.
A SimplePortrayal3D which draws an arbitrary wireframe box.
WireFrameBoxPortrayal3D() - Constructor for class sim.portrayal3d.simple.WireFrameBoxPortrayal3D
Draws a white wireframe box from (-0.5,-0.5,-0.5) to (0.5,0.5,0.5)
WireFrameBoxPortrayal3D(double, double, double, double, double, double) - Constructor for class sim.portrayal3d.simple.WireFrameBoxPortrayal3D
Draws a white wireframe box from (x,y,z) to (x2,y2,z2)
WireFrameBoxPortrayal3D(double, double, double, double, double, double, Color) - Constructor for class sim.portrayal3d.simple.WireFrameBoxPortrayal3D
Draws a wireframe box from (x,y,z) to (x2,y2,z2) in the specified color.
WireFrameBoxPortrayal3D(double, double, double, double, double, double, Appearance) - Constructor for class sim.portrayal3d.simple.WireFrameBoxPortrayal3D
Draws a wireframe box from (x,y,z) to (x2,y2,z2) in the specified appearance.
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.DoubleDimension2D
 
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
 
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.ValueGridCellInfo
 
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
 
xOffset - Variable in class sim.display.Display2D.InnerDisplay2D
x offset
xOffsetField - Variable in class sim.display.Display2D.OptionPane
 
xPoints - Variable in class sim.portrayal.HexaDrawInfo2D
 

Y

y - Variable in class sim.portrayal3d.grid.ValueGridCellInfo
 
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
 
yOffset - Variable in class sim.display.Display2D.InnerDisplay2D
y offset
yOffsetField - Variable in class sim.display.Display2D.OptionPane
 
yPoints - Variable in class sim.portrayal.HexaDrawInfo2D
 

Z

z - Variable in class sim.portrayal3d.grid.ValueGridCellInfo
 
z - Variable in class sim.util.Double3D
 
z - Variable in class sim.util.Int3D
 
zScale - Variable in class sim.portrayal3d.grid.SparseGrid2DPortrayal3D
 
zScale - Variable in class sim.portrayal3d.grid.quad.QuadPortrayal
How much we move the quad up or down for a given value.

_

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

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