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

A

A - Variable in class sim.util.distribution.EmpiricalWalker
 
a_setup - Variable in class sim.util.distribution.Hyperbolic
 
AbstractContinousDistribution - Class in sim.util.distribution
Abstract base class for all continous distributions.
AbstractContinousDistribution() - Constructor for class sim.util.distribution.AbstractContinousDistribution
Makes this class non instantiable, but still let's others inherit from it.
AbstractDiscreteDistribution - Class in sim.util.distribution
Abstract base class for all discrete distributions.
AbstractDiscreteDistribution() - Constructor for class sim.util.distribution.AbstractDiscreteDistribution
Makes this class non instantiable, but still let's others inherit from it.
AbstractDistribution - Class in sim.util.distribution
Abstract base class for all random distributions.
AbstractDistribution() - Constructor for class sim.util.distribution.AbstractDistribution
Makes this class non instantiable, but still let's others inherit from it.
AbstractGrid2D - Class in sim.field.grid
A concrete implementation of the Grid2D methods; used by several subclasses.
AbstractGrid2D() - Constructor for class sim.field.grid.AbstractGrid2D
 
AbstractGrid3D - Class in sim.field.grid
A concrete implementation of the Grid3D methods; used by several subclasses.
AbstractGrid3D() - Constructor for class sim.field.grid.AbstractGrid3D
 
AbstractScrollable - Class in sim.util.gui
AbstractScrollable is a JPanel with basic implementation of the Scrollable interface, making possible simple anonymous subclasses.
AbstractScrollable() - Constructor for class sim.util.gui.AbstractScrollable
 
AbstractShapePortrayal2D - Class in sim.portrayal.simple
 
AbstractShapePortrayal2D() - Constructor for class sim.portrayal.simple.AbstractShapePortrayal2D
 
add(double) - Method in class sim.field.grid.DoubleGrid2D
Sets each value in the grid to that value added to withThisMuch Returns the modified grid.
add(IntGrid2D) - Method in class sim.field.grid.DoubleGrid2D
Sets the value at each location in the grid to that value added to the value at the equivalent location in the provided grid.
add(DoubleGrid2D) - Method in class sim.field.grid.DoubleGrid2D
Sets the value at each location in the grid to that value added to the value at the equivalent location in the provided grid.
add(double) - Method in class sim.field.grid.DoubleGrid3D
Sets each value in the grid to that value added to withThisMuch Returns the modified grid.
add(IntGrid3D) - Method in class sim.field.grid.DoubleGrid3D
Sets the value at each location in the grid to that value added to the value at the equivalent location in the provided grid.
add(DoubleGrid3D) - Method in class sim.field.grid.DoubleGrid3D
Sets the value at each location in the grid to that value added to the value at the equivalent location in the provided grid.
add(int) - Method in class sim.field.grid.IntGrid2D
Sets each value in the grid to that value added to withThisMuch Returns the modified grid.
add(IntGrid2D) - Method in class sim.field.grid.IntGrid2D
Sets the value at each location in the grid to that value added to the value at the equivalent location in the provided grid.
add(int) - Method in class sim.field.grid.IntGrid3D
Sets each value in the grid to that value added to withThisMuch Returns the modified grid.
add(IntGrid3D) - Method in class sim.field.grid.IntGrid3D
Sets the value at each location in the grid to that value added to the value at the equivalent location in the provided grid.
add(Object) - Method in class sim.util.Bag
 
add(Double2D) - Method in class sim.util.Double2D
 
add(Double3D) - Method in class sim.util.Double3D
Adds Double3D "other" to current Double3D using vector addition
add(double) - Method in class sim.util.DoubleBag
 
add(Component, Component) - Method in class sim.util.gui.LabelledList
Creates a new row, with the given components in the left and right columns of the row respectively.
add(Component, Component, Component, Component, Component) - Method in class sim.util.gui.LabelledList
Creates a new row, with the given components in the farLeft, left, center, right, and farRight columns respectively.
add(Component) - Method in class sim.util.gui.LabelledList
Inserts a component spanning all five columns.
add(BufferedImage) - Method in class sim.util.gui.MovieMaker
Add an image to the movie stream.
add(Object, Comparable) - 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(BufferedImage) - Method in class sim.util.media.MovieEncoder
Adds an image to the movie.
add(MutableDouble2D, MutableDouble2D) - Method in class sim.util.MutableDouble2D
Sets me to the sum of other1 and other2, returning me.
add(Double2D, MutableDouble2D) - Method in class sim.util.MutableDouble2D
Sets me to the sum of other1 and other2, returning me.
add(MutableDouble2D, Double2D) - Method in class sim.util.MutableDouble2D
Sets me to the sum of other1 and other2, returning me.
add(MutableDouble3D, MutableDouble3D) - Method in class sim.util.MutableDouble3D
Sets me to the sum of other1 and other2, returning me.
addAll(Collection) - Method in class sim.util.Bag
 
addAll(int, Collection) - Method in class sim.util.Bag
 
addAll(Object[]) - 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(double[]) - Method in class sim.util.DoubleBag
 
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[]) - Method in class sim.util.IntBag
 
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
Deprecated.
Inserts a component spanning all five columns. Synonym for add(comp)
addEdge(Object, Object, Object) - Method in class sim.field.network.Network
Add an edge, storing info as the edge's associated information object.
addEdge(Edge) - Method in class sim.field.network.Network
Add an edge.
addGlobalAttribute(Component) - Method in class sim.util.media.chart.ChartGenerator
Adds a global attribute panel to the frame
addIn(Double2D) - Method in class sim.util.MutableDouble2D
Adds other into me, returning me.
addIn(MutableDouble2D) - Method in class sim.util.MutableDouble2D
Adds other into me, returning me.
addIn(double, double) - Method in class sim.util.MutableDouble2D
Adds the x and y values into my x and y values, returning me.
addIn(Double3D) - Method in class sim.util.MutableDouble3D
Adds other into me, returning me.
addIn(MutableDouble3D) - Method in class sim.util.MutableDouble3D
Adds other into me, returning me.
addIn(double, double, double) - Method in class sim.util.MutableDouble3D
Adds the x, y, and z values into my x, y, and z values, returning me.
addLabelled(String, Component) - Method in class sim.util.gui.LabelledList
Creates a new row, with the given components in the right column, and a JLabel of the given string in the left column.
addLegend() - Method in class sim.util.media.chart.ChartGenerator
Add a legend to the chart unless the chart already has one.
addNode(Object) - Method in class sim.field.network.Network
Add a node
addObjectsToLocation(Bag, int, int) - Method in class sim.field.grid.DenseGrid2D
Adds an object to a given location.
addObjectsToLocation(Bag, Int2D) - Method in class sim.field.grid.DenseGrid2D
 
addObjectsToLocation(Object[], int, int) - Method in class sim.field.grid.DenseGrid2D
Adds an object to a given location.
addObjectsToLocation(Object[], Int2D) - Method in class sim.field.grid.DenseGrid2D
 
addObjectsToLocation(Collection, int, int) - Method in class sim.field.grid.DenseGrid2D
Adds an object to a given location.
addObjectsToLocation(Bag, int, int, int) - Method in class sim.field.grid.DenseGrid3D
Adds an object to a given location.
addObjectsToLocation(Bag, Int3D) - Method in class sim.field.grid.DenseGrid3D
 
addObjectsToLocation(Object[], int, int, int) - Method in class sim.field.grid.DenseGrid3D
Adds an object to a given location.
addObjectsToLocation(Object[], Int3D) - Method in class sim.field.grid.DenseGrid3D
 
addObjectsToLocation(Collection, int, int, int) - Method in class sim.field.grid.DenseGrid3D
Adds an object to a given location.
addObjectToLocation(Object, int, int) - Method in class sim.field.grid.DenseGrid2D
Adds an object to a given location.
addObjectToLocation(Object, Int2D) - Method in class sim.field.grid.DenseGrid2D
 
addObjectToLocation(Object, int, int, int) - Method in class sim.field.grid.DenseGrid3D
Adds an object to a given location.
addObjectToLocation(Object, Int3D) - Method in class sim.field.grid.DenseGrid3D
 
addSeries(TimeSeriesChartGenerator, String) - Static method in class sim.display.ChartUtilities
Adds a series to the TimeSeriesChartGenerator
addSeries(HistogramGenerator, String, int) - Static method in class sim.display.ChartUtilities
Adds a series to the HistogramGenerator.
addSeries(BoxPlotGenerator, String) - Static method in class sim.display.ChartUtilities
Adds a series to the BoxPlotGenerator.
addSeries(ScatterPlotGenerator, String) - Static method in class sim.display.ChartUtilities
Adds a series to the ScatterPlotGenerator.
addSeries(BubbleChartGenerator, String) - Static method in class sim.display.ChartUtilities
Adds a series to the BubbleChartGenerator.
addSeries(PieChartGenerator, String) - Static method in class sim.display.ChartUtilities
Adds a series to the PieChartGenerator.
addSeries(BarChartGenerator, String) - Static method in class sim.display.ChartUtilities
Adds a series to the BarChartGenerator.
addSeries(double[], String, SeriesChangeListener) - Method in class sim.util.media.chart.BoxPlotGenerator
 
addSeries(double[][], String[], String, SeriesChangeListener) - Method in class sim.util.media.chart.BoxPlotGenerator
 
addSeries(double[][], String, org.jfree.data.general.SeriesChangeListener) - Method in class sim.util.media.chart.BubbleChartGenerator
 
addSeries(double[], int, String, SeriesChangeListener) - Method in class sim.util.media.chart.HistogramGenerator
Adds a series, plus a (possibly null) SeriesChangeListener which will receive a single event if/when the series is deleted from the chart by the user.
addSeries(double[], String[], String, SeriesChangeListener) - Method in class sim.util.media.chart.PieChartGenerator
Adds a series, plus a (possibly null) SeriesChangeListener which will receive a single event if/when the series is deleted from the chart by the user.
addSeries(Object[], String, SeriesChangeListener) - Method in class sim.util.media.chart.PieChartGenerator
Adds a series, plus a (possibly null) SeriesChangeListener which will receive a single event if/when the series is deleted from the chart by the user.
addSeries(Collection, String, SeriesChangeListener) - Method in class sim.util.media.chart.PieChartGenerator
Adds a series, plus a (possibly null) SeriesChangeListener which will receive a single event if/when the series is deleted from the chart by the user.
addSeries(double[][], String, org.jfree.data.general.SeriesChangeListener) - Method in class sim.util.media.chart.ScatterPlotGenerator
 
addSeries(XYSeries, SeriesChangeListener) - Method in class sim.util.media.chart.TimeSeriesChartGenerator
Adds a series, plus a (possibly null) SeriesChangeListener which will receive a single event if/when the series is deleted from the chart by the user.
addSteppable(Steppable) - Method in class sim.engine.Sequence
Requests that the provided Steppable be added to the Sequence prior to the next step() call.
addSteppables(Steppable[]) - Method in class sim.engine.Sequence
Requests that the provided Steppables be added to the Sequence prior to the next step() call.
addSteppables(Collection) - Method in class sim.engine.Sequence
Requests that the provided Steppables be added to the Sequence prior to the next step() call.
addToAsynchronousRegistry(AsynchronousSteppable) - Method in class sim.engine.SimState
Registers an AsynchronousSteppable to get its pause() method called prior to checkpointing, its resume() method to be called after checkpointing or recovery, and its stop() method to be called at finish() time.
AdjustablePortrayal2D - Class in sim.portrayal.simple
A wrapper for other Portrayal2Ds which makes it possible to do any or all of the following with the mouse:
AdjustablePortrayal2D(SimplePortrayal2D) - Constructor for class sim.portrayal.simple.AdjustablePortrayal2D
 
after - Variable in class sim.display.GUIState
 
AFTER_SIMULATION - Static variable in class sim.engine.Schedule
The time which indicates that the Schedule is finished.
afterSize - Variable in class sim.display.GUIState
 
align - Variable in class sim.portrayal.simple.LabelledPortrayal2D
One of ALIGN_CENTER, ALIGN_LEFT, or ALIGN_RIGHT
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
 
ALL - Static variable in interface sim.field.grid.Grid2D
"All" measurement rule for raidal neighborhood lookup.
ALL - Static variable in interface sim.field.grid.Grid3D
"All" measurement rule for raidal neighborhood lookup.
allControllers - Static variable in class sim.display.Console
A weak container for all current consoles and other controllers which wish to be there.
allNodes - Variable in class sim.field.network.Network
All the objects in the sparse field.
allObjects - Variable in class sim.field.SparseField
All the objects in the sparse field.
alpha - Variable in class sim.util.distribution.Beta
 
alpha - Variable in class sim.util.distribution.Gamma
 
alpha - Variable in class sim.util.distribution.Hyperbolic
 
ALWAYS_SCALE - Static variable in class sim.portrayal.network.SimpleEdgePortrayal2D
 
ALWAYS_SCALE - Static variable in class sim.portrayal.simple.LabelledPortrayal2D
 
angle() - Method in class sim.util.Double2D
Returns the length of the vector between -Pi and Pi.
angle() - Method in class sim.util.MutableDouble2D
Returns the length of the vector between -Pi and Pi.
ANY - Static variable in interface sim.field.grid.Grid2D
"Any" measurement rule for raidal neighborhood lookup.
ANY - Static variable in interface sim.field.grid.Grid3D
"Any" measurement rule for raidal neighborhood lookup.
ANY_SIZE - Static variable in interface sim.field.grid.Grid2D
Pass this into buildMap to indicate that it should make a map of any size it likes.
ANY_SIZE - Static variable in interface sim.field.grid.Grid3D
Pass this into buildMap to indicate that it should make a map of any size it likes.
ANY_SIZE - Static variable in class sim.field.network.Network
Pass this into buildMap to indicate that it should make a map of any size it likes.
ANY_SIZE - Static variable in class sim.field.SparseField
Pass this into buildMap to indicate that it should make a map of any size it likes.
APP_PREFERENCES - Static variable in class sim.display.Prefs
 
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.
appearanceForColors(Color, Color, Color, Color, double, double) - Static method in class sim.portrayal3d.SimplePortrayal3D
Creates an Appearance with the provided lit colors.
appearanceForImage(Image, boolean) - Static method in class sim.portrayal3d.SimplePortrayal3D
Creates an Appearance using the provided image.
apply(double) - Method in class sim.util.distribution.AbstractDistribution
Equivalent to nextDouble().
apply(int) - Method in class sim.util.distribution.AbstractDistribution
Equivalent to nextInt().
Arithmetic - Class in sim.util.distribution
Arithmetic functions.
Arithmetic() - Constructor for class sim.util.distribution.Arithmetic
Makes this class non instantiable, but still let's others inherit from it.
Arrow - Class in sim.portrayal3d.simple
 
Arrow(double, Double3D, Double3D, String, String, Appearance) - Constructor for class sim.portrayal3d.simple.Arrow
Creates a 3D arrow between points startPoint and endPoint if either label is not null, it adds a Text2D object at the appropriate end.
assertsEnabled - Static variable in class sim.util.LocationLog
 
asynchronousRegistry() - Method in class sim.engine.SimState
Returns all the AsynchronousSteppable items presently in the registry.
AsynchronousSteppable - Class in sim.engine
Fires up a separate thread which runs until the simulation model requests it be halted.
AsynchronousSteppable() - Constructor for class sim.engine.AsynchronousSteppable
 
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(FieldPortrayal2D, String, boolean) - 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, double, double, boolean) - 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, boolean) - Method in class sim.display.Display2D
Attaches a portrayal to the Display2D, along with the provided human-readable name for the portrayal.
attach(Inspector, String) - Method in class sim.display.Display2D
A convenience function: creates a popup menu item of the given name which, when selected, will display the given inspector in the Console.
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.
attach(Portrayal3D, String, boolean) - Method in class sim.display3d.Display3D
Attaches a portrayal to the Display3D, along with the provided human-readable name for the portrayal.
attach(Inspector, String) - Method in class sim.display3d.Display3D
A convenience function: creates a popup menu item of the given name which, when selected, will display the given inspector in the Console.
AUTOMATIC_PAUSE_STEPS_KEY - Static variable in class sim.display.Console
 
AUTOMATIC_PAUSE_TIME_KEY - Static variable in class sim.display.Console
 
AUTOMATIC_STOP_STEPS_KEY - Static variable in class sim.display.Console
 
AUTOMATIC_STOP_TIME_KEY - Static variable in class sim.display.Console
 
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.
AxesPortrayal3D - Class in sim.portrayal3d.simple
Draws coordinate system axes 1 unit long each, centered at the origin, and labelled "O", "X", "Y", and "Z".
AxesPortrayal3D(double, boolean) - Constructor for class sim.portrayal3d.simple.AxesPortrayal3D
 

B

b00(double, double, MersenneTwisterFast) - Method in class sim.util.distribution.Beta
 
b01(double, double, MersenneTwisterFast) - Method in class sim.util.distribution.Beta
 
b1prs(double, double, MersenneTwisterFast) - Method in class sim.util.distribution.Beta
 
b_setup - Variable in class sim.util.distribution.Hyperbolic
 
Bag - Class in sim.util
Maintains a simple array (objs) 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(int) - Constructor for class sim.util.Bag
Creates a Bag with a given initial capacity.
Bag(Bag) - Constructor for class sim.util.Bag
Adds the objects from the other Bag without copying them.
Bag(Object[]) - Constructor for class sim.util.Bag
Creates a Bag with the given elements.
Bag(Collection) - Constructor for class sim.util.Bag
Creates a Bag with the given elements.
BarChartGenerator - Class in sim.util.media.chart
A ChartGenerator for Bar Charts.
BarChartGenerator() - Constructor for class sim.util.media.chart.BarChartGenerator
 
BarChartSeriesAttributes - Class in sim.util.media.chart
A SeriesAttributes used for user control of bar chart series created with BarChartGenerator.
BarChartSeriesAttributes(ChartGenerator, String, int, SeriesChangeListener) - Constructor for class sim.util.media.chart.BarChartSeriesAttributes
Produces a PieChartSeriesAttributes object
baseWidth - Variable in class sim.portrayal.network.SimpleEdgePortrayal2D
 
before - Variable in class sim.display.GUIState
 
BEFORE_SIMULATION - Static variable in class sim.engine.Schedule
The time which indicates that the Schedule hasn't started yet.
beforeSize - Variable in class sim.display.GUIState
 
beginCapturing(boolean) - Method in class sim.display3d.CapturingCanvas3D
sets the capturing regime and area
Beta - Class in sim.util.distribution
Beta(double, double, MersenneTwisterFast) - Constructor for class sim.util.distribution.Beta
Constructs a Beta distribution.
beta - Variable in class sim.util.distribution.Beta
 
beta - Variable in class sim.util.distribution.Hyperbolic
 
beta(double, double, double) - Static method in class sim.util.distribution.Probability
Returns the area from zero to x under the beta density function.
beta(double, double) - Static method in class sim.util.distribution.Probability
Returns the beta function of the arguments.
betaComplemented(double, double, double) - Static method in class sim.util.distribution.Probability
Returns the area under the right hand tail (from x to infinity) of the beta density function.
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.
big - Static variable in class sim.util.distribution.Arithmetic
 
big - Static variable in class sim.util.distribution.Constants
 
biginv - Static variable in class sim.util.distribution.Arithmetic
 
biginv - Static variable in class sim.util.distribution.Constants
 
binomial(double, long) - Static method in class sim.util.distribution.Arithmetic
Efficiently returns the binomial coefficient, often also referred to as "n over k" or "n choose k".
binomial(long, long) - Static method in class sim.util.distribution.Arithmetic
Efficiently returns the binomial coefficient, often also referred to as "n over k" or "n choose k".
Binomial - Class in sim.util.distribution
Binomial distribution; See the math definition and animated definition.
Binomial(int, double, MersenneTwisterFast) - Constructor for class sim.util.distribution.Binomial
Constructs a binomial distribution.
binomial(int, int, double) - Static method in class sim.util.distribution.Probability
Returns the sum of the terms 0 through k of the Binomial probability density.
binomialComplemented(int, int, double) - Static method in class sim.util.distribution.Probability
Returns the sum of the terms k+1 through n of the Binomial probability density.
BOUNDED - Static variable in interface sim.field.grid.Grid2D
Bounded Mode for neighborhood lookup.
BOUNDED - Static variable in interface sim.field.grid.Grid3D
Bounded Mode for neighborhood lookup.
BoxPlotGenerator - Class in sim.util.media.chart
BoxPlotGenerator is a ChartGenerator which displays a BoxPlot using the JFreeChart library.
BoxPlotGenerator() - Constructor for class sim.util.media.chart.BoxPlotGenerator
 
BoxPlotSeriesAttributes - Class in sim.util.media.chart
A SeriesAttributes used for user control of BoxPlot series created with BoxPlotGenerator.
BoxPlotSeriesAttributes(ChartGenerator, String, int, double[][], String[], SeriesChangeListener) - Constructor for class sim.util.media.chart.BoxPlotSeriesAttributes
Produces a BoxPlotSeriesAttributes object with the given generator, series name, series index, and desire to display margin options.
BoxPlotSeriesAttributes(ChartGenerator, String, int, double[], SeriesChangeListener) - Constructor for class sim.util.media.chart.BoxPlotSeriesAttributes
Produces a BoxPlotSeriesAttributes object with the given generator, series name, series index, and desire to display margin options.
BranchGroupPortrayal3D - Class in sim.portrayal3d.simple
Loads a Lightwave 3D scene file (.lwo or .lws extension) or a Wavefront object file (.obj extension) into a BranchGroup, then attaches this as a portrayal.
BranchGroupPortrayal3D(BranchGroup) - Constructor for class sim.portrayal3d.simple.BranchGroupPortrayal3D
Constructs a BranchGroupPortrayal3D with the given scene file loader without changing its appearance, scale, or transform.
BranchGroupPortrayal3D(BranchGroup, double) - Constructor for class sim.portrayal3d.simple.BranchGroupPortrayal3D
Constructs a BranchGroupPortrayal3D with the given scene file loader without changing its appearance, but scaling it.
BranchGroupPortrayal3D(BranchGroup, Transform3D) - Constructor for class sim.portrayal3d.simple.BranchGroupPortrayal3D
Constructs a BranchGroupPortrayal3D with the given scene file loader without changing its appearance, but transforming it.
BranchGroupPortrayal3D(BranchGroup, Appearance) - Constructor for class sim.portrayal3d.simple.BranchGroupPortrayal3D
Constructs a BranchGroupPortrayal3D with the given scene file loader without transforming it or scaling it, but changing its appearance (unless the appearance is null).
BranchGroupPortrayal3D(BranchGroup, double, Appearance) - Constructor for class sim.portrayal3d.simple.BranchGroupPortrayal3D
Constructs a BranchGroupPortrayal3D with the given scene file loader by scaling it and changing its appearance (unless the appearance is null).
BranchGroupPortrayal3D(BranchGroup, Transform3D, Appearance) - Constructor for class sim.portrayal3d.simple.BranchGroupPortrayal3D
Constructs a BranchGroupPortrayal3D with the given scene file loader by transforming it and changing its appearance (unless the appearance is null).
BreitWigner - Class in sim.util.distribution
BreitWigner (aka Lorentz) distribution; See the math definition.
BreitWigner(double, double, double, MersenneTwisterFast) - Constructor for class sim.util.distribution.BreitWigner
Constructs a BreitWigner distribution.
BreitWignerMeanSquare - Class in sim.util.distribution
Mean-square BreitWigner distribution; See the math definition.
BreitWignerMeanSquare(double, double, double, MersenneTwisterFast) - Constructor for class sim.util.distribution.BreitWignerMeanSquare
Constructs a mean-squared BreitWigner distribution.
BubbleChartGenerator - Class in sim.util.media.chart
 
BubbleChartGenerator() - Constructor for class sim.util.media.chart.BubbleChartGenerator
 
BubbleChartSeriesAttributes - Class in sim.util.media.chart
 
BubbleChartSeriesAttributes(ChartGenerator, String, int, double[][], SeriesChangeListener) - Constructor for class sim.util.media.chart.BubbleChartSeriesAttributes
Produces a BubbleChartSeriesAttributes object with the given generator, series name, series index, and desire to display margin options.
bufferedHints - Variable in class sim.display.Display2D.InnerDisplay2D
Hints used to draw the buffered image to the screen
buildAttributes() - Method in class sim.util.media.chart.BoxPlotSeriesAttributes
 
buildAttributes() - Method in class sim.util.media.chart.BubbleChartSeriesAttributes
 
buildAttributes() - Method in class sim.util.media.chart.HistogramSeriesAttributes
 
buildAttributes() - Method in class sim.util.media.chart.PieChartSeriesAttributes
 
buildAttributes() - Method in class sim.util.media.chart.ScatterPlotSeriesAttributes
 
buildAttributes() - Method in class sim.util.media.chart.SeriesAttributes
Constructs the widget by adding items to the LabelledList.
buildAttributes() - Method in class sim.util.media.chart.TimeSeriesAttributes
 
buildBarChartGenerator(String) - Static method in class sim.display.ChartUtilities
Builds a BarChartGenerator not attached to any MASON simulation.
buildBarChartGenerator(GUIState, String) - Static method in class sim.display.ChartUtilities
Builds a BarChartGenerator and attaches it as a display in a MASON simulation.
buildBoxPlotGenerator(String, String) - Static method in class sim.display.ChartUtilities
Builds a BoxPlotGenerator not attached to any MASON simulation.
buildBoxPlotGenerator(GUIState, String, String) - Static method in class sim.display.ChartUtilities
Builds a BoxPlotGenerator and attaches it as a display in a MASON simulation.
buildBubbleChartGenerator(String, String, String) - Static method in class sim.display.ChartUtilities
Builds a BubbleChartGenerator not attached to any MASON simulation.
buildBubbleChartGenerator(GUIState, String, String, String) - Static method in class sim.display.ChartUtilities
Builds a BubbleChartGenerator and attaches it as a display in a MASON simulation.
buildChart() - Method in class sim.util.media.chart.BarChartGenerator
 
buildChart() - Method in class sim.util.media.chart.BoxPlotGenerator
 
buildChart() - Method in class sim.util.media.chart.BubbleChartGenerator
 
buildChart() - Method in class sim.util.media.chart.ChartGenerator
Override this to construct the appropriate kind of chart.
buildChart() - Method in class sim.util.media.chart.HistogramGenerator
 
buildChart() - Method in class sim.util.media.chart.PieChartGenerator
 
buildChart() - Method in class sim.util.media.chart.ScatterPlotGenerator
 
buildChart() - Method in class sim.util.media.chart.TimeSeriesChartGenerator
 
buildChartPanel(JFreeChart) - Method in class sim.util.media.chart.ChartGenerator
 
buildGlobalAttributes(LabelledList) - Method in class sim.util.media.chart.BarChartGenerator
 
buildGlobalAttributes(LabelledList) - Method in class sim.util.media.chart.BoxPlotGenerator
 
buildGlobalAttributes(LabelledList) - Method in class sim.util.media.chart.ChartGenerator
 
buildGlobalAttributes(LabelledList) - Method in class sim.util.media.chart.XYChartGenerator
 
buildHistogramGenerator(String, String) - Static method in class sim.display.ChartUtilities
Builds a HistogramGenerator not attached to any MASON simulation.
buildHistogramGenerator(GUIState, String, String) - Static method in class sim.display.ChartUtilities
Builds a HistogramGenerator and attaches it as a display in a MASON simulation.
buildMap(Map) - Method in class sim.field.grid.AbstractGrid2D
 
buildMap(int) - Method in class sim.field.grid.AbstractGrid2D
 
buildMap(Map) - Method in class sim.field.grid.AbstractGrid3D
 
buildMap(int) - Method in class sim.field.grid.AbstractGrid3D
 
buildMap(Map) - Method in interface sim.field.grid.Grid2D
Creates a Map which is a copy of another.
buildMap(int) - Method in interface sim.field.grid.Grid2D
Creates a map of the provided size (or any size it likes if ANY_SIZE is passed in).
buildMap(Map) - Method in interface sim.field.grid.Grid3D
Creates a Map which is a copy of another.
buildMap(int) - Method in interface sim.field.grid.Grid3D
Creates a map of the provided size (or any size it likes if ANY_SIZE is passed in).
buildMap(Map) - Method in class sim.field.network.Network
Creates a Map which is a copy of another.
buildMap(int) - Method in class sim.field.network.Network
Creates a map of the provided size (or any size it likes if ANY_SIZE is passed in).
buildMap(Map) - Method in class sim.field.SparseField
Creates a Map which is a copy of another.
buildMap(int) - Method in class sim.field.SparseField
Creates a map of the provided size (or any size it likes if ANY_SIZE is passed in).
buildNewAttributes(String, SeriesChangeListener) - Method in class sim.util.media.chart.BarChartGenerator
 
buildNewAttributes(String, SeriesChangeListener) - Method in class sim.util.media.chart.PieChartGenerator
 
buildPieChartGenerator(String) - Static method in class sim.display.ChartUtilities
Builds a PieChartGenerator not attached to any MASON simulation.
buildPieChartGenerator(GUIState, String) - Static method in class sim.display.ChartUtilities
Builds a PieChartGenerator and attaches it as a display in a MASON simulation.
buildScatterPlotGenerator(String, String, String) - Static method in class sim.display.ChartUtilities
Builds a ScatterPlotGenerator not attached to any MASON simulation.
buildScatterPlotGenerator(GUIState, String, String, String) - Static method in class sim.display.ChartUtilities
Builds a ScatterPlotGenerator and attaches it as a display in a MASON simulation.
buildTimeSeriesChartGenerator(String, String) - Static method in class sim.display.ChartUtilities
Builds a TimeSeriesChartGenerator not attached to any MASON simulation.
buildTimeSeriesChartGenerator(GUIState, String, String) - Static method in class sim.display.ChartUtilities
Builds a TimeSeriesChartGenerator and attaches it as a display in a MASON simulation.

C

c - Variable in class sim.util.distribution.Zeta
 
c_pm - Variable in class sim.util.distribution.Poisson
 
cache - Variable in class sim.util.distribution.Normal
 
cached_alxm - Variable in class sim.util.distribution.PoissonSlow
 
cached_g - Variable in class sim.util.distribution.PoissonSlow
 
cached_sq - Variable in class sim.util.distribution.PoissonSlow
 
cacheFilled - Variable in class sim.util.distribution.Normal
 
CAMERA_ICON - Static variable in class sim.display.Display2D
 
CAMERA_ICON_P - Static variable in class sim.display.Display2D
 
canEnsureOrder() - Method in class sim.engine.ParallelSequence
 
canEnsureOrder() - Method in class sim.engine.RandomSequence
 
canEnsureOrder() - Method in class sim.engine.Sequence
If your subclass does not respect order, override this method to return false, and Sequence will ignore the ensuresOrder result.
canvas - Variable in class sim.display3d.Display3D
The Java3D canvas holding the universe.
CapturingCanvas3D - Class in sim.display3d
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
 
CausedRuntimeException - Exception in sim.util
Deprecated.
Use standard RuntimeExceptions in Java 1.4 now
CausedRuntimeException() - Constructor for exception sim.util.CausedRuntimeException
Deprecated.
 
CausedRuntimeException(Throwable) - Constructor for exception sim.util.CausedRuntimeException
Deprecated.
 
CausedRuntimeException(Throwable, String) - Constructor for exception sim.util.CausedRuntimeException
Deprecated.
 
cdf(double) - Method in class sim.util.distribution.Beta
Returns the cumulative distribution function.
cdf(int) - Method in class sim.util.distribution.Binomial
Returns the cumulative distribution function.
cdf(double) - Method in class sim.util.distribution.ChiSquare
Returns the cumulative distribution function.
cdf - Variable in class sim.util.distribution.Empirical
 
cdf(int) - Method in class sim.util.distribution.Empirical
Returns the cumulative distribution function.
cdf - Variable in class sim.util.distribution.EmpiricalWalker
 
cdf(int) - Method in class sim.util.distribution.EmpiricalWalker
Returns the cumulative distribution function.
cdf(double) - Method in class sim.util.distribution.Exponential
Returns the cumulative distribution function.
cdf(double) - Method in class sim.util.distribution.Gamma
Returns the cumulative distribution function.
cdf(int) - Method in class sim.util.distribution.NegativeBinomial
Returns the cumulative distribution function.
cdf(double) - Method in class sim.util.distribution.Normal
Returns the cumulative distribution function.
cdf(int) - Method in class sim.util.distribution.Poisson
Returns the cumulative distribution function.
cdf(double) - Method in class sim.util.distribution.StudentT
Returns the cumulative distribution function.
cdf(double) - Method in class sim.util.distribution.Uniform
Returns the cumulative distribution function (assuming a continous uniform distribution).
ceil(double) - Static method in class sim.util.distribution.Arithmetic
Returns the smallest long >= value.
ceiling() - Method in class sim.field.grid.DoubleGrid2D
Sets each value in the grid to ceil(value).
ceiling() - Method in class sim.field.grid.DoubleGrid3D
Sets each value in the grid to ceil(value).
CENTER - Static variable in interface sim.field.grid.Grid2D
Center measurement rule for raidal neighborhood lookup.
CENTER - Static variable in interface sim.field.grid.Grid3D
Center measurement rule for raidal neighborhood lookup.
changeColor(Color) - Method in class sim.util.gui.ColorWell
 
chart - Variable in class sim.util.media.chart.ChartGenerator
The chart
ChartGenerator - Class in sim.util.media.chart
ChartGenerator is a JPanel which displays a chart using the JFreeChart library.
ChartGenerator() - Constructor for class sim.util.media.chart.ChartGenerator
Generates a new ChartGenerator with a blank chart.
ChartGenerator.UniqueString - Class in sim.util.media.chart
 
ChartGenerator.UniqueString(Object) - Constructor for class sim.util.media.chart.ChartGenerator.UniqueString
 
chartPanel - Variable in class sim.util.media.chart.ChartGenerator
The panel which holds and draws the chart
ChartUtilities - Class in sim.display
ChartUtilities.java A collection of static methods designed to make it easy for you to set up charts as displays.
ChartUtilities() - Constructor for class sim.display.ChartUtilities
 
ChartUtilities.ProvidesCollection - Interface in sim.display
This class provides Collections of Objects to chart, or provides null if the current charted values shouldn't be changed.
ChartUtilities.ProvidesDoubleDoubles - Interface in sim.display
This class provides two double arrays (that is, an array of the form double[2][]), which are the same length, which represent the x and y coordinates of points, or else provides null if the current charted values shouldn't be changed.
ChartUtilities.ProvidesDoubleDoublesAndLabels - Interface in sim.display
This class provides arrays of arrays of doubles to chart, plus one label for each of the arrays, or provides null if the current charted values shouldn't be changed.
ChartUtilities.ProvidesDoubles - Interface in sim.display
This class provides arrays of doubles to chart, or provides null if the current charted values shouldn't be changed.
ChartUtilities.ProvidesDoublesAndLabels - Interface in sim.display
This class provides arrays of doubles to chart, with associated labels, or provides null if the current charted values shouldn't be changed.
ChartUtilities.ProvidesObjects - Interface in sim.display
This class provides arrays of Objects to chart, or provides null if the current charted values shouldn't be changed.
ChartUtilities.ProvidesTripleDoubles - Interface in sim.display
This class provides three double arrays (that is, an array of the form double[3][]), which are the same length, which represent the x, y, and z coordinates of points, or else provides null if the current charted values shouldn't be changed.
chbevl(double, double[], int) - Static method in class sim.util.distribution.Arithmetic
Evaluates the series of Chebyshev polynomials Ti at argument x/2.
checkBounds(Grid2D) - Method in class sim.field.grid.AbstractGrid2D
 
checkBounds(Grid3D) - Method in class sim.field.grid.AbstractGrid3D
 
child - Variable in class sim.portrayal.simple.AdjustablePortrayal2D
 
child - Variable in class sim.portrayal.simple.CircledPortrayal2D
 
child - Variable in class sim.portrayal.simple.LabelledPortrayal2D
 
child - Variable in class sim.portrayal.simple.MovablePortrayal2D
 
child - Variable in class sim.portrayal.simple.OrientedPortrayal2D
 
child - Variable in class sim.portrayal.simple.TrailedPortrayal2D
The Child portrayal of this portrayal: a SimplePortrayal2D used solely for determining hit testing.
child - Variable in class sim.portrayal.simple.TransformedPortrayal2D
 
children - Variable in class sim.portrayal.simple.FacetedPortrayal2D
 
ChiSquare - Class in sim.util.distribution
ChiSquare distribution; See the math definition and animated definition.
ChiSquare(double, MersenneTwisterFast) - Constructor for class sim.util.distribution.ChiSquare
Constructs a ChiSquare distribution.
chiSquare(double, double) - Static method in class sim.util.distribution.Probability
Returns the area under the left hand tail (from 0 to x) of the Chi square probability density function with v degrees of freedom.
chiSquareComplemented(double, double) - Static method in class sim.util.distribution.Probability
Returns the area under the right hand tail (from x to infinity) of the Chi square probability density function with v degrees of freedom.
circle - Static variable in class sim.portrayal.simple.AdjustablePortrayal2D
 
CIRCLE_RADIUS - Static variable in class sim.portrayal.simple.AdjustablePortrayal2D
 
CircledPortrayal2D - Class in sim.portrayal.simple
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, double, 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 scale = 2.0, dr = 0, in blue.
CircledPortrayal2D(SimplePortrayal2D, Paint, boolean) - Constructor for class sim.portrayal.simple.CircledPortrayal2D
Draw a circle of radius or = 2.0, dr = 0.
CircledPortrayal3D - Class in sim.portrayal3d.simple
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, double) - Constructor for class sim.portrayal3d.simple.CircledPortrayal3D
 
CircledPortrayal3D(SimplePortrayal3D, double, boolean) - Constructor for class sim.portrayal3d.simple.CircledPortrayal3D
 
CircledPortrayal3D(SimplePortrayal3D, Color) - Constructor for class sim.portrayal3d.simple.CircledPortrayal3D
 
CircledPortrayal3D(SimplePortrayal3D, Color, double, boolean) - Constructor for class sim.portrayal3d.simple.CircledPortrayal3D
 
CircledPortrayal3D(SimplePortrayal3D, Appearance, double, boolean) - Constructor for class sim.portrayal3d.simple.CircledPortrayal3D
 
classPortrayals - Variable in class sim.portrayal.FieldPortrayal
 
cleanup() - Method in class sim.engine.ParallelSequence
Call this just before you get rid of a ParallelSequence: for example, one good place is the stop() method of your simulation.
clear() - Method in class sim.engine.Schedule
Empties out the schedule but does not reset the time or steps.
clear() - Method in class sim.field.continuous.Continuous2D
 
clear() - Method in class sim.field.continuous.Continuous3D
 
clear() - Method in class sim.field.grid.DenseGrid2D
Sets all the locations in the grid to null, and returns in a Bag all stored objects (including duplicates but not null values).
clear() - Method in class sim.field.grid.DenseGrid3D
Sets all the locations in the grid to null, and returns in a Bag all stored objects (including duplicates but not null values).
clear() - Method in class sim.field.grid.ObjectGrid2D
Sets all the locations in the grid to null, and returns in a Bag all previously stored objects (including duplicates but not null values).
clear() - Method in class sim.field.grid.ObjectGrid3D
Sets all the locations in the grid to null, and returns in a Bag all stored objects (including duplicates but not null values).
clear() - Method in class sim.field.network.Network
Removes all nodes, deleting all edges from the Field as well.
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.util.Bag
Removes all objects in the Bag.
clear() - Method in class sim.util.DoubleBag
Removes all numbers in the DoubleBag.
clear() - Method in class sim.util.Heap
 
clear() - Method in class sim.util.IntBag
Removes all numbers in the IntBag.
clear() - Static method in class sim.util.LocationLog
 
clear() - Method in class sim.util.media.chart.TimeSeriesAttributes
 
clearAllSeries() - Method in class sim.util.media.chart.TimeSeriesChartGenerator
 
clearBackdrop() - Method in class sim.display3d.Display3D
Clears any backdrop presently being used in the scene, turns off the backdrop checkbox, and disables the backdrop checkbox.
clearGaussian() - Method in class ec.util.MersenneTwisterFast
Clears the internal gaussian variable from the RNG.
clearPickableFlags(Node) - Static method in class sim.portrayal3d.SimplePortrayal3D
Utility method which makes the given Node unpickable.
clearSelections() - Method in class sim.display.Display2D
 
clearSelections() - Method in class sim.display3d.Display3D
 
clip - Variable in class sim.portrayal.DrawInfo2D
 
clone() - Method in class ec.util.MersenneTwisterFast
 
clone() - Method in class sim.util.Bag
 
clone() - Method in class sim.util.DoubleBag
 
clone() - Method in class sim.util.IntBag
 
clone() - Method in class sim.util.MutableDouble
 
clone() - Method in class sim.util.MutableDouble2D
 
clone() - Method in class sim.util.MutableDouble3D
 
clone() - Method in class sim.util.MutableInt2D
 
clone() - Method in class sim.util.MutableInt3D
 
cloneGraph() - Method in class sim.field.network.Network
Deprecated. 
CLOSED_HAND_CURSOR_P - Static variable in class sim.display.Display2D
 
cof - Static variable in class sim.util.distribution.PoissonSlow
 
CollectionProperties - Class in sim.util
A simple class for examining the slots of Maps, Collections, Indexed, and arrays as if the slots were Java Bean Properties.
CollectionProperties(Object) - Constructor for class sim.util.CollectionProperties
Object can be a Collection, a List, a Map, an Indexed, or an array.
ColorMap - Interface in sim.util.gui
ColorMap is a interface for mapping numerical values to colors.
colors - Variable in class sim.util.gui.SimpleColorMap
User-provided color table
ColorWell - Class in sim.util.gui
 
ColorWell() - Constructor for class sim.util.gui.ColorWell
 
ColorWell(Color) - Constructor for class sim.util.gui.ColorWell
 
compareTo(Object) - Method in class sim.engine.Schedule.Key
 
compareTo(Object) - Method in class sim.field.network.Edge
 
compareTo(Object) - Method in class sim.util.media.chart.ChartGenerator.UniqueString
 
completedWrapper(LocationWrapper, PickIntersection, PickResult) - Method in class sim.portrayal3d.continuous.ContinuousPortrayal3D
 
completedWrapper(LocationWrapper, PickIntersection, PickResult) - Method in class sim.portrayal3d.FieldPortrayal3D
Given the provided PickIntersection and the PickResult it came from, fill in w the location of the picked object, and return it.
completedWrapper(LocationWrapper, PickIntersection, PickResult) - Method in class sim.portrayal3d.grid.ObjectGridPortrayal3D
 
completedWrapper(LocationWrapper, PickIntersection, PickResult) - Method in class sim.portrayal3d.grid.SparseGridPortrayal3D
 
completedWrapper(LocationWrapper, PickIntersection, PickResult) - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
completedWrapper(LocationWrapper, PickIntersection, PickResult) - Method in class sim.portrayal3d.grid.ValueGridPortrayal3D
 
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
 
ConePortrayal3D - Class in sim.portrayal3d.simple
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(double) - 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, double) - 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, double) - Constructor for class sim.portrayal3d.simple.ConePortrayal3D
Constructs a ConePortrayal3D with the given (opaque) image and scale.
ConePortrayal3D(Appearance, boolean, boolean, double) - 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 in sim.display
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).
CONSOLE_KEY - Static variable in class sim.display.Console
 
Constants - Class in sim.util.distribution
Defines some useful constants.
Constants() - Constructor for class sim.util.distribution.Constants
Makes this class non instantiable, but still let's others inherit from it.
contains(Object) - Method in class sim.util.Bag
 
contains(double) - Method in class sim.util.DoubleBag
 
contains(int) - Method in class sim.util.IntBag
 
contains(Number) - Method in class sim.util.Interval
 
contains(double) - Method in class sim.util.Interval
 
containsAll(Collection) - Method in class sim.util.Bag
 
Continuous2D - Class in sim.field.continuous
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
Continuous2D(Continuous2D) - Constructor for class sim.field.continuous.Continuous2D
 
Continuous3D - Class in sim.field.continuous
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
Continuous3D(Continuous3D) - Constructor for class sim.field.continuous.Continuous3D
 
ContinuousPortrayal2D - Class in sim.portrayal.continuous
Portrays Continuous2D fields.
ContinuousPortrayal2D() - Constructor for class sim.portrayal.continuous.ContinuousPortrayal2D
 
ContinuousPortrayal3D - Class in sim.portrayal3d.continuous
Portrays both Continuous2D and Continuous3D fields.
ContinuousPortrayal3D() - Constructor for class sim.portrayal3d.continuous.ContinuousPortrayal3D
 
Controller - Interface in sim.display
A Controller is the top-level object responsible for setting up and running the GUIState.
controller - Variable in class sim.display.GUIState
The controller for the GUIState.
controllerUpdate(ControllerEvent) - Method in class sim.util.media.MovieEncoder
Controller Listener.
convertToDoubleArray(int[][]) - Static method in class sim.util.TableLoader
Converts an int[][] array to a double[][] array.
convertToIntArray(double[][]) - Static method in class sim.util.TableLoader
Converts a double[][] array to an int[][] array only if all values are within the int range.
convertToLongArray(double[][]) - Static method in class sim.util.TableLoader
Converts a double[][] array to a long[][] array only if all values are within the long range.
convertToLongArray(int[][]) - Static method in class sim.util.TableLoader
Converts an int[][] array to a long[][] array.
copyIntoArray(int, Object[], int, int) - Method in class sim.util.Bag
Copies 'len' elements from the Bag into the provided array.
copyIntoArray(int, double[], int, int) - Method in class sim.util.DoubleBag
Copies 'len' elements from the Bag into the provided array.
copyIntoArray(int, int[], int, int) - Method in class sim.util.IntBag
Copies 'len' elements from the Bag into the provided array.
CPUS - Static variable in class sim.engine.ParallelSequence
Indicates that MASON should determine how many threads to use based on the number of CPUs.
createController() - Method in class sim.display.GUIState
Creates and returns a controller ready for the user to manipulate.
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.
createFrame(Stoppable) - Method in class sim.portrayal.Inspector
Creates a scrollable frame surrounding the inspector which calls stop() on the underlying stopper when closed.
createFrame() - Method in class sim.util.media.chart.ChartGenerator
Returns a JFrame suitable or housing the ChartGenerator.
createFrame(boolean) - Method in class sim.util.media.chart.ChartGenerator
Returns a JFrame suitable or housing the ChartGenerator.
createFrame(Object) - Method in class sim.util.media.chart.ChartGenerator
Deprecated.
use createFrame()
createHeap() - Method in class sim.engine.Schedule
Returns a Heap to be used by the Schedule.
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 InternalTransformGroup[model info].
createModel() - Method in class sim.portrayal3d.grid.ObjectGridPortrayal3D
 
createModel() - Method in class sim.portrayal3d.grid.SparseGrid2DPortrayal3D
 
createModel() - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
Format is:
createModel() - Method in class sim.portrayal3d.grid.ValueGridPortrayal3D
 
createModel() - Method in class sim.portrayal3d.SparseFieldPortrayal3D
 
createSceneGraph() - Method in class sim.display3d.Display3D
Recreates the entire scene graph, including the universe, root, and canvas3d.
createToolTip() - Method in class sim.display.Display2D.InnerDisplay2D
 
createToolTipText(Rectangle2D.Double, GUIState) - Method in class sim.display.Display2D.InnerDisplay2D
 
CubePortrayal3D - Class in sim.portrayal3d.simple
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(double) - 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, double) - 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, double) - Constructor for class sim.portrayal3d.simple.CubePortrayal3D
Constructs a CubePortrayal3D with the given (opaque) image and scale.
CubePortrayal3D(Appearance, boolean, double) - 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.
cull(double[], boolean) - Method in interface sim.util.media.chart.DataCuller
 
cull(double[], boolean) - Method in class sim.util.media.chart.MinGapDataCuller
 
cullToSize(double[], int, IntBag) - Static method in class sim.util.media.chart.MinGapDataCuller
 
currentValue - Variable in class sim.util.gui.NumberTextField
 
cut - Variable in class sim.util.distribution.BreitWigner
 
CylinderPortrayal3D - Class in sim.portrayal3d.simple
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(double) - 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, double) - 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, double) - Constructor for class sim.portrayal3d.simple.CylinderPortrayal3D
Constructs a CylinderPortrayal3D with the given (opaque) image and scale.
CylinderPortrayal3D(Appearance, boolean, boolean, double) - 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.

D

d - Variable in class sim.util.distribution.Zeta
 
DataCuller - Interface in sim.util.media.chart
This is meant to accomodate an on-line algorithm for keeping a constant number of data points from an on-going time series.
dataSinkUpdate(DataSinkEvent) - Method in class sim.util.media.MovieEncoder
Event handler for the file writer.
DEFAULT - Static variable in class sim.portrayal.FieldPortrayal2D
Default buffering: let the program decide on its own (typically in a platform-dependent fashion)
DEFAULT_APPEARANCE - Static variable in class sim.portrayal3d.SimplePortrayal3D
Flat white opaque.
DEFAULT_CHART_HEIGHT - Variable in class sim.util.media.chart.ChartGenerator
 
DEFAULT_CHART_PROPORTION - Variable in class sim.util.media.chart.ChartGenerator
 
DEFAULT_CIRCLED_APPEARANCE - Static variable in class sim.portrayal3d.simple.CircledPortrayal3D
 
DEFAULT_DIVISIONS - Static variable in class sim.portrayal3d.simple.SpherePortrayal3D
 
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_MAX_COLOR - Static variable in class sim.portrayal.simple.TrailedPortrayal2D
 
DEFAULT_MAX_PROPERTIES - Static variable in class sim.portrayal.SimpleInspector
 
DEFAULT_MAXIMUM_JUMP - Static variable in class sim.portrayal.simple.TrailedPortrayal2D
 
DEFAULT_MIN_COLOR - Static variable in class sim.portrayal.simple.TrailedPortrayal2D
 
DEFAULT_OFFSET - Static variable in class sim.portrayal.simple.CircledPortrayal2D
 
DEFAULT_OFFSET - Static variable in class sim.portrayal.simple.OrientedPortrayal2D
 
DEFAULT_OFFSET_X - Static variable in class sim.portrayal.simple.LabelledPortrayal2D
 
DEFAULT_OFFSET_Y - Static variable in class sim.portrayal.simple.LabelledPortrayal2D
 
DEFAULT_PREFERENCES_KEY - Static variable in class sim.display.Console
 
DEFAULT_PREFERENCES_KEY - Variable in class sim.display.Display2D
 
DEFAULT_PREFERENCES_KEY - Variable in class sim.display3d.Display3D
 
DEFAULT_SCALE - Static variable in class sim.portrayal.simple.CircledPortrayal2D
 
DEFAULT_SCALE - Static variable in class sim.portrayal.simple.OrientedPortrayal2D
 
DEFAULT_SCALE - Static variable in class sim.portrayal3d.simple.CircledPortrayal3D
 
DEFAULT_SCALE_X - Static variable in class sim.portrayal.simple.LabelledPortrayal2D
 
DEFAULT_SCALE_Y - Static variable in class sim.portrayal.simple.LabelledPortrayal2D
 
DEFAULT_WIDTH - Static variable in class sim.display.Console
Default width of the Console.
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
 
DELAY_KEY - Static variable in class sim.display.Console
 
DenseGrid2D - Class in sim.field.grid
A wrapper for 2D arrays of Objects.
DenseGrid2D(int, int) - Constructor for class sim.field.grid.DenseGrid2D
 
DenseGrid3D - Class in sim.field.grid
A wrapper for 3D arrays of Objects.
DenseGrid3D(int, int, int) - Constructor for class sim.field.grid.DenseGrid3D
 
DenseGridPortrayal2D - Class in sim.portrayal.grid
Portrayal for Dense grids: grids of Bags of objects.
DenseGridPortrayal2D() - Constructor for class sim.portrayal.grid.DenseGridPortrayal2D
 
DenseGridPortrayal2D(DrawPolicy) - Constructor for class sim.portrayal.grid.DenseGridPortrayal2D
Deprecated.
Use setDrawPolicy.
destroySceneGraph() - Method in class sim.display3d.Display3D
Eliminates the existing scene graph.
detach() - Method in class sim.display3d.SelectionBehavior
Detaches the Selection Behavior from the Canvas properly, so leaks don't occur.
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.
DisclosurePanel - Class in sim.util.gui
A panel with a small disclosure triangle which toggles between two subcomponents: notionally an "abridged" (short) component and an expanded ("disclosed") component.
DisclosurePanel(String, Component) - Constructor for class sim.util.gui.DisclosurePanel
 
DisclosurePanel(String, Component, String) - Constructor for class sim.util.gui.DisclosurePanel
 
DisclosurePanel(Component, Component) - Constructor for class sim.util.gui.DisclosurePanel
 
DisclosurePanel(Component, Component, String) - Constructor for class sim.util.gui.DisclosurePanel
 
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
Discretizes the location according to the internal discretization of the Continuous2D.
discretize(Double2D, int) - Method in class sim.field.continuous.Continuous2D
Discretizes the location according to the provided discretization, which may or may not be the discretization used internally by the Continuous2D.
discretize(Double3D) - Method in class sim.field.continuous.Continuous3D
Discretizes the location according to the internal discretization of the Continuous3D.
discretize(Double3D, int) - Method in class sim.field.continuous.Continuous3D
Discretizes the location according to the provided discretization, which may or may not be the discretization used internally by the Continuous3D.
display - Variable in class sim.display.Display2D
The scroll view which holds the insideDisplay.
Display2D - Class in sim.display
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
Deprecated. 
Display2D(double, double, GUIState) - 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 in sim.display
The object which actually does all the drawing.
Display2D.OptionPane - Class in sim.display
Option pane
Display3D - Class in sim.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
Deprecated. 
Display3D(double, double, GUIState) - Constructor for class sim.display3d.Display3D
Creates a Display3D with the provided width and height for its portrayal region, attached to the provided simulation.
Display3D.OptionPane3D - Class in sim.display3d
 
DISPLAY_HEIGHT_KEY - Static variable in class sim.display.Console
 
DISPLAY_SHOWN_KEY - Static variable in class sim.display.Console
 
DISPLAY_WIDTH_KEY - Static variable in class sim.display.Console
 
DISPLAY_X_KEY - Static variable in class sim.display.Console
 
DISPLAY_Y_KEY - Static variable in class sim.display.Console
 
disposeFrame() - Method in class sim.portrayal.Inspector
Disposes the Inspector's frame if it's not a Controller.
distance(double, double) - Method in class sim.util.Double2D
Returns the distance FROM this Double2D TO the specified point
distance(Double2D) - Method in class sim.util.Double2D
Returns the distance FROM this Double2D TO the specified point.
distance(Int2D) - Method in class sim.util.Double2D
Returns the distance FROM this Double2D TO the specified point.
distance(MutableInt2D) - Method in class sim.util.Double2D
Returns the distance FROM this Double2D TO the specified point.
distance(Point2D) - Method in class sim.util.Double2D
Returns the distance FROM this Double2D TO the specified point.
distance(double, double, double) - Method in class sim.util.Double3D
Returns the distance FROM this Double3D TO the specified point
distance(Double3D) - Method in class sim.util.Double3D
Returns the distance FROM this Double3D TO the specified point.
distance(Int3D) - Method in class sim.util.Double3D
Returns the distance FROM this Double3D TO the specified point.
distance(MutableInt3D) - Method in class sim.util.Double3D
Returns the distance FROM this Double3D TO the specified point.
distance(double, double) - Method in class sim.util.Int2D
Returns the distance FROM this Int2D TO the specified point
distance(Double2D) - Method in class sim.util.Int2D
Returns the distance FROM this Int2D TO the specified point.
distance(MutableInt2D) - Method in class sim.util.Int2D
Returns the distance FROM this Int2D TO the specified point.
distance(Int2D) - Method in class sim.util.Int2D
Returns the distance FROM this Int2D TO the specified point.
distance(Point2D) - Method in class sim.util.Int2D
Returns the distance FROM this Int2D TO the specified point.
distance(double, double, double) - Method in class sim.util.Int3D
Returns the distance FROM this Int3D TO the specified point
distance(Double3D) - Method in class sim.util.Int3D
Returns the distance FROM this Int3D TO the specified point.
distance(MutableInt3D) - Method in class sim.util.Int3D
Returns the distance FROM this Int3D TO the specified point.
distance(Int3D) - Method in class sim.util.Int3D
Returns the distance FROM this Int3D TO the specified point.
distance(double, double) - Method in class sim.util.MutableDouble2D
Returns the distance FROM this MutableDouble2D TO the specified point
distance(MutableDouble2D) - Method in class sim.util.MutableDouble2D
Returns the distance FROM this MutableDouble2D TO the specified point.
distance(Double2D) - Method in class sim.util.MutableDouble2D
Returns the distance FROM this MutableDouble2D TO the specified point.
distance(Int2D) - Method in class sim.util.MutableDouble2D
Returns the distance FROM this MutableDouble2D TO the specified point.
distance(MutableInt2D) - Method in class sim.util.MutableDouble2D
Returns the distance FROM this MutableDouble2D TO the specified point.
distance(Point2D) - Method in class sim.util.MutableDouble2D
Returns the distance FROM this MutableDouble2D TO the specified point.
distance(double, double, double) - Method in class sim.util.MutableDouble3D
Returns the distance FROM this MutableDouble3D TO the specified point
distance(Double3D) - Method in class sim.util.MutableDouble3D
Returns the distance FROM this MutableDouble3D TO the specified point.
distance(Int3D) - Method in class sim.util.MutableDouble3D
Returns the distance FROM this MutableDouble3D TO the specified point.
distance(MutableInt3D) - Method in class sim.util.MutableDouble3D
Returns the distance FROM this MutableDouble3D TO the specified point.
distance(MutableDouble3D) - Method in class sim.util.MutableDouble3D
Returns the distance FROM this MutableDouble3D TO the specified point.
distance(double, double) - Method in class sim.util.MutableInt2D
Returns the distance FROM this MutableInt2D TO the specified point
distance(Double2D) - Method in class sim.util.MutableInt2D
Returns the distance FROM this MutableInt2D TO the specified point.
distance(MutableInt2D) - Method in class sim.util.MutableInt2D
Returns the distance FROM this MutableInt2D TO the specified point.
distance(Int2D) - Method in class sim.util.MutableInt2D
Returns the distance FROM this MutableInt2D TO the specified point.
distance(Point2D) - Method in class sim.util.MutableInt2D
Returns the distance FROM this MutableInt2D TO the specified point.
distance(double, double, double) - Method in class sim.util.MutableInt3D
Returns the distance FROM this Int3D TO the specified point
distance(Double3D) - Method in class sim.util.MutableInt3D
Returns the distance FROM this Int3D TO the specified point.
distance(MutableInt3D) - Method in class sim.util.MutableInt3D
Returns the distance FROM this Int3D TO the specified point.
distance(Int3D) - Method in class sim.util.MutableInt3D
Returns the distance FROM this Int3D TO the specified point.
distanceSq(double, double) - Method in class sim.util.Double2D
Returns the distance FROM this Double2D TO the specified point
distanceSq(Double2D) - Method in class sim.util.Double2D
Returns the distance FROM this Double2D TO the specified point.
distanceSq(Int2D) - Method in class sim.util.Double2D
Returns the distance FROM this Double2D TO the specified point.
distanceSq(MutableInt2D) - Method in class sim.util.Double2D
Returns the distance FROM this Double2D TO the specified point.
distanceSq(Point2D) - Method in class sim.util.Double2D
Returns the distance FROM this Double2D TO the specified point
distanceSq(double, double, double) - Method in class sim.util.Double3D
Returns the squared distance FROM this Double3D TO the specified point
distanceSq(Double3D) - Method in class sim.util.Double3D
Returns the squared distance FROM this Double3D TO the specified point.
distanceSq(Int3D) - Method in class sim.util.Double3D
Returns the squared distance FROM this Double3D TO the specified point.
distanceSq(MutableInt3D) - Method in class sim.util.Double3D
Returns the squared distance FROM this Double3D TO the specified point.
distanceSq(double, double) - Method in class sim.util.Int2D
Returns the squared distance FROM this Int2D TO the specified point
distanceSq(Double2D) - Method in class sim.util.Int2D
Returns the squared distance FROM this Int2D TO the specified point.
distanceSq(Point2D) - Method in class sim.util.Int2D
Returns the squared distance FROM this Int2D TO the specified point
distanceSq(MutableInt2D) - Method in class sim.util.Int2D
Returns the squared distance FROM this Int2D TO the specified point.
distanceSq(Int2D) - Method in class sim.util.Int2D
Returns the squared distance FROM this Int2D TO the specified point.
distanceSq(double, double, double) - Method in class sim.util.Int3D
Returns the squared distance FROM this Int3D TO the specified point
distanceSq(Double3D) - Method in class sim.util.Int3D
Returns the squared distance FROM this Int3D TO the specified point.
distanceSq(MutableInt3D) - Method in class sim.util.Int3D
Returns the squared distance FROM this Int3D TO the specified point.
distanceSq(Int3D) - Method in class sim.util.Int3D
Returns the squared distance FROM this Int3D TO the specified point.
distanceSq(double, double) - Method in class sim.util.MutableDouble2D
Returns the distance FROM this MutableDouble2D TO the specified point
distanceSq(Double2D) - Method in class sim.util.MutableDouble2D
Returns the distance FROM this MutableDouble2D TO the specified point.
distanceSq(MutableDouble2D) - Method in class sim.util.MutableDouble2D
Returns the distance FROM this MutableDouble2D TO the specified point.
distanceSq(Int2D) - Method in class sim.util.MutableDouble2D
Returns the distance FROM this MutableDouble2D TO the specified point.
distanceSq(MutableInt2D) - Method in class sim.util.MutableDouble2D
Returns the distance FROM this MutableDouble2D TO the specified point.
distanceSq(Point2D) - Method in class sim.util.MutableDouble2D
Returns the distance FROM this Point2D TO the specified point
distanceSq(double, double, double) - Method in class sim.util.MutableDouble3D
Returns the squared distance FROM this MutableDouble3D TO the specified point
distanceSq(Double3D) - Method in class sim.util.MutableDouble3D
Returns the squared distance FROM this MutableDouble3D TO the specified point.
distanceSq(Int3D) - Method in class sim.util.MutableDouble3D
Returns the squared distance FROM this MutableDouble3D TO the specified point.
distanceSq(MutableInt3D) - Method in class sim.util.MutableDouble3D
Returns the squared distance FROM this MutableDouble3D TO the specified point.
distanceSq(MutableDouble3D) - Method in class sim.util.MutableDouble3D
Returns the squared distance FROM this MutableDouble3D TO the specified point.
distanceSq(double, double) - Method in class sim.util.MutableInt2D
Returns the squared distance FROM this MutableInt2D TO the specified point
distanceSq(Double2D) - Method in class sim.util.MutableInt2D
Returns the squared distance FROM this MutableInt2D TO the specified point.
distanceSq(Point2D) - Method in class sim.util.MutableInt2D
Returns the squared distance FROM this MutableInt2D TO the specified point
distanceSq(MutableInt2D) - Method in class sim.util.MutableInt2D
Returns the squared distance FROM this MutableInt2D TO the specified point.
distanceSq(Int2D) - Method in class sim.util.MutableInt2D
Returns the squared distance FROM this MutableInt2D TO the specified point.
distanceSq(double, double, double) - Method in class sim.util.MutableInt3D
Returns the squared distance FROM this Int3D TO the specified point
distanceSq(Double3D) - Method in class sim.util.MutableInt3D
Returns the squared distance FROM this Int3D TO the specified point.
distanceSq(MutableInt3D) - Method in class sim.util.MutableInt3D
Returns the squared distance FROM this Int3D TO the specified point.
distanceSq(Int3D) - Method in class sim.util.MutableInt3D
Returns the squared distance FROM this Int3D TO the specified point.
Distributions - Class in sim.util.distribution
Contains methods for conveniently generating pseudo-random numbers from special distributions such as the Burr, Cauchy, Erlang, Geometric, Lambda, Laplace, Logistic, Weibull, etc.
Distributions() - Constructor for class sim.util.distribution.Distributions
Makes this class non instantiable, but still let's others inherit from it.
dl - Variable in class sim.util.distribution.Poisson
 
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
 
doAbout() - Method in class sim.display.Console
 
doChangeCode(Runnable) - Method in class sim.display.Console
Deprecated. 
doChangeCode(Runnable) - Method in interface sim.display.Controller
Deprecated. 
doChangeCode(Runnable) - Method in class sim.display.SimpleController
Deprecated. 
doClose() - Method in class sim.display.Console
Closes the Console and shuts down the simulation.
doClose() - Method in class sim.display.SimpleController
Closes the Controller and shuts down the simulation.
doEnsuredRepaint(Component) - Static method in class sim.util.gui.Utilities
Does a repaint that is guaranteed to work (on some systems, plain repaint()) fails if there's lots of updates going on as is the case in our simulator thread.
doLater(long, Runnable) - Static method in class sim.util.gui.Utilities
Schedule something to occur at some specified point in the future in the Swing Event thread.
doLoop(Class, String[]) - Static method in class sim.engine.SimState
Calls doLoop(MakesSimState,args), passing in a MakesSimState which creates SimStates of the provided Class c, using the constructor new ().
doLoop(MakesSimState, String[]) - Static method in class sim.engine.SimState
A convenient top-level loop for the simulation command-line.
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.
doNew() - Method in class sim.display.SimpleController
Calls forth the "New Simulation" window.
DONT_USE_BUFFER - Static variable in class sim.portrayal.FieldPortrayal2D
Don't use a buffer
doOpen() - Method in class sim.display.Console
Reverts the current simulation to the simulation stored at a user-specified checkpoint filename.
doQuit() - Static 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.
dot(Double2D) - Method in class sim.util.Double2D
Takes the dot product this Double2D with another
dot(Double3D) - Method in class sim.util.Double3D
Takes the dot product this Double3D with another
dot(MutableDouble2D) - Method in class sim.util.MutableDouble2D
Returns the dot product of myself against other, that is me DOT other.
dot(MutableDouble3D) - Method in class sim.util.MutableDouble3D
Returns the dot product of myself against other, that is me DOT other.
Double2D - Class in sim.util
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(MutableInt2D) - Constructor for class sim.util.Double2D
 
Double2D(MutableDouble2D) - 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 in sim.util
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(MutableInt2D) - Constructor for class sim.util.Double3D
Explicitly assumes the z value is set to 0
Double3D(MutableInt2D, double) - Constructor for class sim.util.Double3D
 
Double3D(MutableInt3D) - 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(MutableDouble2D) - Constructor for class sim.util.Double3D
Explicitly assumes the z value is set to 0
Double3D(MutableDouble2D, double) - Constructor for class sim.util.Double3D
 
Double3D(MutableDouble3D) - Constructor for class sim.util.Double3D
 
Double3D(double, double, double) - Constructor for class sim.util.Double3D
 
DoubleBag - Class in sim.util
Maintains a simple array (objs) of doubles and the number of doubles (numObjs) in the array (the array can be bigger than this number).
DoubleBag(int) - Constructor for class sim.util.DoubleBag
Creates a DoubleBag with a given initial capacity.
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.
DoubleBag(double[]) - Constructor for class sim.util.DoubleBag
Creates a DoubleBag with the given elements.
doubleFactorials - Static variable in class sim.util.distribution.Arithmetic
 
DoubleGrid2D - Class in sim.field.grid
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
 
DoubleGrid2D(double[][]) - Constructor for class sim.field.grid.DoubleGrid2D
 
DoubleGrid3D - Class in sim.field.grid
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
 
DoubleGrid3D(double[][][]) - Constructor for class sim.field.grid.DoubleGrid3D
 
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
doubleValue(Object) - Method in class sim.portrayal.grid.FastHexaObjectGridPortrayal2D
Override this as necessary to map the provided object into a double value.
doubleValue(Object) - Method in class sim.portrayal.grid.FastObjectGridPortrayal2D
Override this as necessary to map the provided object into a double value.
doubleValue(Object) - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
doubleValue() - Method in class sim.util.MutableDouble
 
doubleValue() - Method in interface sim.util.Valuable
 
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.util.distribution.Poisson
 
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 class sim.portrayal.grid.FastHexaObjectGridPortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.grid.FastObjectGridPortrayal2D
 
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 interface sim.portrayal.Portrayal2D
Draw a the given object with an origin at (info.draw.x, info.draw.y), and with the coordinate system scaled by so that 1 unit is in the x and y directions are equal to info.draw.width and info.draw.height respectively in pixels.
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.simple.AdjustablePortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.simple.CircledPortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.simple.FacetedPortrayal2D
 
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.MovablePortrayal2D
 
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.ShapePortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.simple.TrailedPortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.simple.TransformedPortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.simple.ValuePortrayal2D
 
draw(Object, Graphics2D, DrawInfo2D) - Method in class sim.portrayal.SimplePortrayal2D
 
drawFilled - Variable in class sim.portrayal.simple.OrientedPortrayal2D
 
DrawInfo2D - Class in sim.portrayal
The DrawInfo2D class provides two Rectangles which define a simple drawing situation.
DrawInfo2D(GUIState, FieldPortrayal2D, RectangularShape, RectangularShape) - Constructor for class sim.portrayal.DrawInfo2D
 
DrawInfo2D(DrawInfo2D, double, double) - Constructor for class sim.portrayal.DrawInfo2D
 
DrawInfo2D(DrawInfo2D) - Constructor for class sim.portrayal.DrawInfo2D
 
DrawPolicy - Interface in sim.portrayal.grid
Called by Sparse2DPortrayal to determine if all objects should be drawn or only one.
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
 
dup() - Method in class sim.util.MutableDouble2D
Equivalent to (new MutableDouble2D(d)), but (d.dup()) shorter of course, but perhaps not quite as fast.
dup() - Method in class sim.util.MutableDouble3D
Equivalent to (new MutableDouble3D(d)), but (d.dup()) shorter of course, but perhaps not quite as fast.

E

e - Variable in class sim.util.distribution.Hyperbolic
 
ec.util - package ec.util
 
Edge - Class in sim.field.network
An Edge stores a relationship between two objects in a Network.
Edge(Edge) - Constructor for class sim.field.network.Edge
 
Edge(Object, Object, Object) - Constructor for class sim.field.network.Edge
 
EdgeDrawInfo2D - Class in sim.portrayal.network
An extension of DrawInfo2D for dealing with edges in visualizing network fields.
EdgeDrawInfo2D(GUIState, FieldPortrayal2D, RectangularShape, RectangularShape, Point2D.Double) - Constructor for class sim.portrayal.network.EdgeDrawInfo2D
 
EdgeDrawInfo2D(DrawInfo2D, double, double, Point2D.Double) - Constructor for class sim.portrayal.network.EdgeDrawInfo2D
 
EdgeDrawInfo2D(DrawInfo2D, Point2D.Double) - Constructor for class sim.portrayal.network.EdgeDrawInfo2D
 
EdgeDrawInfo2D(EdgeDrawInfo2D) - Constructor for class sim.portrayal.network.EdgeDrawInfo2D
 
elements() - Method in class sim.field.grid.ObjectGrid2D
Returns in a Bag all stored objects (including duplicates but not null values).
elements() - Method in class sim.field.grid.ObjectGrid3D
Returns in a Bag all stored objects (including duplicates but not null values).
Empirical - Class in sim.util.distribution
Empirical distribution.
Empirical(double[], int, MersenneTwisterFast) - Constructor for class sim.util.distribution.Empirical
Constructs an Empirical distribution.
EmpiricalWalker - Class in sim.util.distribution
Discrete Empirical distribution (pdf's can be specified).
EmpiricalWalker(double[], int, MersenneTwisterFast) - Constructor for class sim.util.distribution.EmpiricalWalker
Constructs an Empirical distribution.
ensureFileEndsWith(String, String) - Static method in class sim.util.gui.Utilities
Returns a filename guaranteed to end with the given ending.
EPOCH - Static variable in class sim.engine.Schedule
The first possible schedulable time.
EPOCH_PLUS_EPSILON - Static variable in class sim.engine.Schedule
The second possible schedulable time.
equals(Object) - Method in class sim.engine.Schedule.Key
 
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
 
equals(Object) - Method in class sim.util.media.chart.ChartGenerator.UniqueString
 
equals(Object) - Method in class sim.util.MutableDouble2D
 
equals(Object) - Method in class sim.util.MutableDouble3D
 
equals(Object) - Method in class sim.util.MutableInt2D
 
equals(Object) - Method in class sim.util.MutableInt3D
 
errorFunction(double) - Static method in class sim.util.distribution.Probability
Returns the error function of the normal distribution; formerly named erf.
errorFunctionComplemented(double) - Static method in class sim.util.distribution.Probability
Returns the complementary Error function of the normal distribution; formerly named erfc.
exists(Object) - Method in class sim.field.SparseField
Returns true if the object is in the field.
Exponential - Class in sim.util.distribution
Exponential Distribution (aka Negative Exponential Distribution); See the math definition animated definition.
Exponential(double, MersenneTwisterFast) - Constructor for class sim.util.distribution.Exponential
Constructs a Negative Exponential distribution.
ExponentialPower - Class in sim.util.distribution
Exponential Power distribution.
ExponentialPower(double, MersenneTwisterFast) - Constructor for class sim.util.distribution.ExponentialPower
Constructs an Exponential Power distribution.
extractMin(Bag) - Method in class sim.util.Heap
Removes all key-equal minimum elements and adds them to a Bag, which is then is returned.
extractMin() - Method in class sim.util.Heap
Removes the first minimum element and its key from the heap, and returns the minimum element.

F

F - Variable in class sim.util.distribution.EmpiricalWalker
 
f1 - Variable in class sim.util.distribution.Poisson
 
f2 - Variable in class sim.util.distribution.Poisson
 
f4 - Variable in class sim.util.distribution.Poisson
 
f5 - Variable in class sim.util.distribution.Poisson
 
FacetedPortrayal2D - Class in sim.portrayal.simple
A wrapper for multiple Portrayal2Ds which calls on one or the other one according to the underlying state of the object, which must be Valuable or a Number of some sort.
FacetedPortrayal2D(SimplePortrayal2D[], boolean) - Constructor for class sim.portrayal.simple.FacetedPortrayal2D
If child is null, then the underlying model object is presumed to be a Portrayal2D and will be used.
FacetedPortrayal2D(SimplePortrayal2D[]) - Constructor for class sim.portrayal.simple.FacetedPortrayal2D
If child is null, then the underlying model object is presumed to be a Portrayal2D and will be used.
factorial(int) - Static method in class sim.util.distribution.Arithmetic
Instantly returns the factorial k!.
FastHexaObjectGridPortrayal2D - Class in sim.portrayal.grid
A "Fast" version of HexaObjectGridPortrayal2D, which draws objects as rectangles of specified colors, rather than using the provided SimplePortrayal2Ds.
FastHexaObjectGridPortrayal2D(boolean) - Constructor for class sim.portrayal.grid.FastHexaObjectGridPortrayal2D
If immutableField is true, we presume that the grid doesn't change.
FastHexaObjectGridPortrayal2D() - Constructor for class sim.portrayal.grid.FastHexaObjectGridPortrayal2D
Equivalent to FastHexaObjectGridPortrayal2D(false);
FastHexaValueGridPortrayal2D - Class in sim.portrayal.grid
 
FastHexaValueGridPortrayal2D(String, boolean) - Constructor for class sim.portrayal.grid.FastHexaValueGridPortrayal2D
If immutableField is true, we presume that the grid doesn't change.
FastHexaValueGridPortrayal2D(String) - Constructor for class sim.portrayal.grid.FastHexaValueGridPortrayal2D
 
FastHexaValueGridPortrayal2D(boolean) - Constructor for class sim.portrayal.grid.FastHexaValueGridPortrayal2D
If immutableField is true, we presume that the grid doesn't change.
FastHexaValueGridPortrayal2D() - Constructor for class sim.portrayal.grid.FastHexaValueGridPortrayal2D
 
FastObjectGridPortrayal2D - Class in sim.portrayal.grid
A "Fast" version of ObjectGridPortrayal2D, which draws objects as rectangles of specified colors, rather than using the provided SimplePortrayal2Ds.
FastObjectGridPortrayal2D(boolean) - Constructor for class sim.portrayal.grid.FastObjectGridPortrayal2D
If immutableField is true, we presume that the grid doesn't change.
FastObjectGridPortrayal2D() - Constructor for class sim.portrayal.grid.FastObjectGridPortrayal2D
Equivalent to FastObjectGridPortrayal2D(false);
FastValueGridPortrayal2D - Class in sim.portrayal.grid
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 immutableField 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 immutableField is true, we presume that the grid doesn't change.
FastValueGridPortrayal2D() - Constructor for class sim.portrayal.grid.FastValueGridPortrayal2D
 
field - Variable in class sim.field.grid.DenseGrid2D
 
field - Variable in class sim.field.grid.DenseGrid3D
 
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.FieldPortrayal
 
fieldPortrayal - Variable in class sim.portrayal.DrawInfo2D
 
FieldPortrayal - Class in sim.portrayal
A FieldPortrayal is an object which knows how to portray some kind of Field.
FieldPortrayal() - Constructor for class sim.portrayal.FieldPortrayal
 
fieldPortrayal - Variable in class sim.portrayal.LocationWrapper
The field portrayal depicting this object
FieldPortrayal2D - Class in sim.portrayal
Superclass of all Field Portrayals in 2D.
FieldPortrayal2D() - Constructor for class sim.portrayal.FieldPortrayal2D
 
FieldPortrayal3D - Class in sim.portrayal3d
Superclass of all Field Portrayals in J3D.
FieldPortrayal3D() - Constructor for class sim.portrayal3d.FieldPortrayal3D
 
FieldPortrayal3D(Transform3D) - Constructor for class sim.portrayal3d.FieldPortrayal3D
 
fill(Object) - Method in class sim.util.Bag
Replaces all elements in the bag with the provided object.
fill(double) - Method in class sim.util.DoubleBag
Replaces all elements in the bag with the provided object.
fill(int) - Method in class sim.util.IntBag
Replaces all elements in the bag with the provided int.
filled - Variable in class sim.portrayal.simple.AbstractShapePortrayal2D
 
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
 
filterLevel(double) - Method in class sim.util.gui.SimpleColorMap
Override this to convert level values to new values using some appropriate mathematical transformation.
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.AsynchronousSteppable
 
finalize() - Method in class sim.engine.ParallelSequence
 
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.
Fixed2D - Interface in sim.portrayal
A Fixed2D object has control over how it is moved by a MovablePortrayal2D object.
floatValue() - Method in class sim.util.MutableDouble
 
floor() - Method in class sim.field.grid.DoubleGrid2D
Sets each value in the grid to floor(value).
floor() - Method in class sim.field.grid.DoubleGrid3D
Sets each value in the grid to floor(value).
floor(double) - Static method in class sim.util.distribution.Arithmetic
Returns the largest long <= value.
font - Variable in class sim.portrayal.simple.LabelledPortrayal2D
The font of the text.
FORCE_KEY - Static variable in class sim.util.media.chart.ChartGenerator
 
freedom - Variable in class sim.util.distribution.ChiSquare
 
freedom - Variable in class sim.util.distribution.StudentT
 
from() - Method in class sim.field.network.Edge
Returns the "from" object.
fromPaint - Variable in class sim.portrayal.network.SimpleEdgePortrayal2D
 

G

gamma - Variable in class sim.util.distribution.BreitWigner
 
Gamma - Class in sim.util.distribution
Gamma(double, double, MersenneTwisterFast) - Constructor for class sim.util.distribution.Gamma
Constructs a Gamma distribution.
gamma - Variable in class sim.util.distribution.NegativeBinomial
 
gamma(double, double, double) - Static method in class sim.util.distribution.Probability
Returns the integral from zero to x of the gamma probability density function.
gamma(double) - Static method in class sim.util.distribution.Probability
Returns the Gamma function of the argument.
gammaComplemented(double, double, double) - Static method in class sim.util.distribution.Probability
Returns the integral from x to infinity of the gamma probability density function:
generateBinomial(int, double) - Method in class sim.util.distribution.Binomial
* Binomial-Distribution - Acceptance Rejection/Inversion * * * Acceptance Rejection method combined with Inversion for * generating Binomial random numbers with parameters * n (number of trials) and p (probability of success).
generatePDF(Component, File) - Static method in class sim.util.media.PDFEncoder
 
generatePDF(JFreeChart, int, int, File) - Static method in class sim.util.media.PDFEncoder
 
generateZeta(double, double, MersenneTwisterFast) - Method in class sim.util.distribution.Zeta
Returns a zeta distributed random number.
geometricPdf(int, double) - Static method in class sim.util.distribution.Distributions
Returns the probability distribution function of the discrete geometric distribution.
get(int, int) - Method in class sim.field.grid.DoubleGrid2D
Returns the element at location (x,y)
get(int, int, int) - Method in class sim.field.grid.DoubleGrid3D
Returns the element at location (x,y,z)
get(int, int) - Method in class sim.field.grid.IntGrid2D
Returns the element at location (x,y)
get(int, int, int) - Method in class sim.field.grid.IntGrid3D
Returns the element at location (x,y)
get(int, int) - Method in class sim.field.grid.ObjectGrid2D
Returns the element at location (x,y)
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
 
getAbridgedComponent() - Method in class sim.util.gui.DisclosurePanel
 
getAdjacencyList(boolean) - Method in class sim.field.network.Network
Creates and returns an adjacency list.
getAdjacencyMatrix() - Method in class sim.field.network.Network
Creates and returns a simple adjacency matrix, where only one edge between any two nodes is considered -- if you're using a multigraph, use getMultigraphAdjacencyMatrix() instead.
getAdjustsThickness() - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
 
getAllFrames() - Method in class sim.display.Console
Returns a list of all displays.
getAllFrames() - Method in interface sim.display.Controller
Returns all registered frames.
getAllFrames() - Method in class sim.display.SimpleController
Returns a list of all displays.
getAllInspectors() - Method in class sim.display.Console
Returns a list of all current inspectors.
getAllInspectors() - Method in interface sim.display.Controller
Returns a list of all current inspectors.
getAllInspectors() - Method in class sim.display.SimpleController
Returns a list of all current inspectors.
getAllNodes() - Method in class sim.field.network.Network
Returns all the objects in the Sparse Field.
getAllObjects() - Method in class sim.field.SparseField
Returns all the objects in the Sparse Field.
getAlpha(double) - Method in interface sim.util.gui.ColorMap
Returns the alpha value for a color for the given level.
getAlpha(double) - Method in class sim.util.gui.SimpleColorMap
 
getAppearance(TransformGroup) - Method in class sim.portrayal3d.simple.PrimitivePortrayal3D
Returns an appearance object suitable to set in setAppearance(...).
getAppPreferences(GUIState, String) - Static method in class sim.display.Prefs
Returns app-specific preferences for MASON, with the given additional prefix as a namespace.
getArrowHead() - Method in class sim.portrayal3d.simple.Arrow
 
getArrowTail() - Method in class sim.portrayal3d.simple.Arrow
 
getAxes() - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
 
getBackdrop() - Method in class sim.display.Display2D
Returns the backdrop color or paint.
getBaseWidth() - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
 
getBranchGroupForFile(String) - Static method in class sim.portrayal3d.simple.BranchGroupPortrayal3D
 
getBranchGroupForResource(Class, String) - Static method in class sim.portrayal3d.simple.BranchGroupPortrayal3D
 
getBranchGroupForURL(URL) - Static method in class sim.portrayal3d.simple.BranchGroupPortrayal3D
 
getBuffering() - Method in class sim.portrayal.FieldPortrayal2D
Returns whether or not the FieldPortrayal2D will use a buffering "trick" to draw quickly.
getBuffering() - Method in class sim.portrayal.grid.FastHexaObjectGridPortrayal2D
 
getBuffering() - Method in class sim.portrayal.grid.FastObjectGridPortrayal2D
 
getCanShowToolTips() - Method in class sim.display3d.ToolTipBehavior
Returns whether or not the behavior may show tool tips.
getCategoryRenderer() - Method in class sim.util.media.chart.BoxPlotSeriesAttributes
 
getCellForIntersection(PickIntersection, Grid2D) - Method in class sim.portrayal3d.grid.quad.MeshPortrayal
 
getCellForIntersection(PickIntersection, Grid2D) - Method in class sim.portrayal3d.grid.quad.QuadPortrayal
 
getChart() - Method in class sim.util.media.chart.ChartGenerator
Returns the underlying chart.
getChart() - Method in class sim.util.media.chart.XYChartGenerator
Returns the underlying chart.
getChartPanel() - Method in class sim.util.media.chart.ChartGenerator
Returns the ChartPanel holding the chart.
getChild(Object) - Method in class sim.portrayal.simple.AdjustablePortrayal2D
 
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.MovablePortrayal2D
 
getChild(Object) - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
getChild(Object) - Method in class sim.portrayal.simple.TransformedPortrayal2D
 
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.SharedPortrayal3D
 
getChild(Object) - Method in class sim.portrayal3d.simple.SwitchedPortrayal3D
 
getChild(Object) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
 
getChildIndex(Object, int) - Method in class sim.portrayal.simple.FacetedPortrayal2D
Returns the child index to use for the given object.
getCleaner() - Method in class sim.engine.ParallelSequence
 
getClipLocation(DrawInfo2D) - Method in class sim.portrayal.FieldPortrayal2D
Deprecated.
use getPositionLocation
getColor(double) - Method in interface sim.util.gui.ColorMap
Returns a color for the given level
getColor() - Method in class sim.util.gui.ColorWell
 
getColor(double) - Method in class sim.util.gui.SimpleColorMap
 
getColor() - Method in class sim.util.media.chart.BubbleChartSeriesAttributes
 
getColorFor(Object) - Method in class sim.portrayal3d.grid.ValueGridPortrayal3D
Returns the color presently mapped to the value stored within the given wrapper.
getCompressionLevel() - Method in class sim.util.media.PNGEncoder
Retrieve compression level
getCurrentDisplay() - Method in class sim.portrayal3d.FieldPortrayal3D
 
getCurrentDisplay() - Method in interface sim.portrayal3d.Portrayal3D
Returns the current Display3D, or possibly null if it's not been set yet.
getCurrentDisplay() - Method in class sim.portrayal3d.SimplePortrayal3D
If the current display has been set, returns it.
getCurrentFieldPortrayal() - Method in class sim.portrayal3d.SimplePortrayal3D
 
getCurrentGUIState() - Method in class sim.portrayal3d.FieldPortrayal3D
 
getCurrentGUIState() - Method in interface sim.portrayal3d.Portrayal3D
Returns the current GUIState, or null if no GUIState has been set yet.
getCurrentGUIState() - Method in class sim.portrayal3d.SimplePortrayal3D
 
getDashPattern() - Method in class sim.util.media.chart.TimeSeriesAttributes
 
getDataCuller() - Method in class sim.util.media.chart.TimeSeriesChartGenerator
 
getDefaultNullPortrayal() - Method in class sim.portrayal.FieldPortrayal
Returns a default portrayal for null.
getDefaultNullPortrayal() - Method in class sim.portrayal.grid.ObjectGridPortrayal2D
 
getDefaultPortrayal() - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
 
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.FieldPortrayal2D
 
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
 
getDefaultPortrayal() - Method in class sim.portrayal3d.grid.ValueGridPortrayal3D
 
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.
getDescription(int) - Method in class sim.util.Properties
Returns the description of the property at the given index.
getDescription(int) - Method in class sim.util.SimpleProperties
 
getDestroysThreads() - Method in class sim.engine.ParallelSequence
 
getDimensions() - Method in class sim.field.continuous.Continuous2D
 
getDimensions() - Method in class sim.field.continuous.Continuous3D
 
getDimensions() - Method in class sim.field.grid.SparseGrid2D
 
getDimensions() - Method in class sim.field.grid.SparseGrid3D
 
getDimensions() - Method in interface sim.field.SparseField2D
Returns the width and height of the sparse field as a Double2D
getDimensions() - Method in interface sim.field.SparseField3D
Returns the width and height of the sparse field as a Double3D
getDimensions() - Method in class sim.portrayal.network.SpatialNetwork2D
Deprecated. 
getDirected() - Method in class sim.field.network.Edge
Returns true if the edge is directed or if we don't know our owner
getDisclosedComponent() - Method in class sim.util.gui.DisclosurePanel
 
getDomain(int) - Method in class sim.util.Properties
Returns the domain of the property at the given index.
getDomain(int) - Method in class sim.util.SimpleProperties
 
getDomainAxisLabel() - Method in class sim.util.media.chart.XYChartGenerator
Deprecated.
Returns the name of the Domain Axis label -- usually this is the X axis.
getDrawInfo2D(FieldPortrayal2D, Point2D) - Method in class sim.display.Display2D
Constructs a DrawInfo2D for the given portrayal, or null if failed.
getDrawInfo2D(FieldPortrayal2D, Rectangle2D) - Method in class sim.display.Display2D
Constructs a DrawInfo2D for the given portrayal, or null if failed.
getDrawPolicy() - Method in class sim.portrayal.grid.DenseGridPortrayal2D
 
getDrawPolicy() - Method in class sim.portrayal.grid.SparseGridPortrayal2D
 
getDrawsFrameAndAxesInFront() - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
 
getEdge(Object, Object) - Method in class sim.field.network.Network
Returns an arbitrary edge connecting the "from" node to the "to" node, if one exists, else returns null.
getEdges(Object, Bag) - Method in class sim.field.network.Network
Get all the edges that enter or leave a node.
getEdges(Object, Object, Bag) - Method in class sim.field.network.Network
Clears the provided Bag, then places in it all edges connecting the "from" node to the "to" node.
getEdgesIn(Object) - Method in class sim.field.network.Network
Get all edges that enter a node.
getEdgesOut(Object) - Method in class sim.field.network.Network
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
getEnsuresOrder() - Method in class sim.engine.Sequence
Returns whether the order among the remaining Steppables in the internal array is maintained after removing Steppables via removeSteppable() or removeSteppables().
getFame() - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
 
getField() - Method in class sim.field.grid.DoubleGrid2D
 
getField() - Method in class sim.portrayal.FieldPortrayal
Returns the field.
getField() - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
getField() - Method in class sim.portrayal3d.grid.ValueGridPortrayal3D
 
getField() - Method in class sim.util.gui.NumberTextField
 
getField() - Method in class sim.util.gui.PropertyField
 
getFieldPortrayal() - Method in class sim.portrayal.LocationWrapper
 
getFillColor() - Method in class sim.util.media.chart.BoxPlotSeriesAttributes
 
getFillColor() - Method in class sim.util.media.chart.HistogramSeriesAttributes
 
getFillOpacity() - Method in class sim.util.media.chart.BoxPlotSeriesAttributes
 
getFillOpacity() - Method in class sim.util.media.chart.HistogramSeriesAttributes
 
getFilter() - Method in class sim.util.media.PNGEncoder
Retrieve filtering scheme
getFrame() - Method in class sim.display.Display2D
Returns the frame holding this Component.
getFrame() - Method in class sim.display3d.Display3D
Returns the frame holding this Component.
getFrame() - Method in class sim.util.media.chart.ChartGenerator
Returns the JFrame which stores the whole chart.
getFrom() - Method in class sim.field.network.Edge
Returns the "from" object.
getGenerator() - Method in class sim.util.media.chart.SeriesAttributes
Returns the ChartGenerator holding the series this SeriesAttributes is responsible for.
getGlobalAttribute(int) - Method in class sim.util.media.chart.ChartGenerator
Returns the global attribute panel of the given index.
getGlobalAttributeCount() - Method in class sim.util.media.chart.ChartGenerator
Deprecated.
Use getNumGlobalAttributes
getGlobalPreferences(String) - Static method in class sim.display.Prefs
Returns the global preferences for MASON, with the given additional prefix as a namespace.
getGraphComplement(boolean) - Method in class sim.field.network.Network
Complements the graph: same nodes, no edges where they were, edges where they were not.
getGrowTrailOnlyWhenSelected() - Method in class sim.portrayal.simple.TrailedPortrayal2D
Deprecated.
use getOnlyGrowTrailWhenSelected
getGUIState() - Method in class sim.portrayal.SimpleInspector
 
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
Returns the width of the field.
getHeight() - Method in interface sim.field.grid.Grid3D
Get the height
getHeight() - Method in class sim.field.grid.SparseGrid2D
Returns the height of the grid
getHeight() - Method in class sim.field.grid.SparseGrid3D
Returns the height of the grid
getHexagonalLocations(int, int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid2D
 
getHexagonalLocations(int, int, int, int, boolean, IntBag, IntBag) - Method in interface sim.field.grid.Grid2D
Gets all neighbors located within the hexagon centered at (X,Y) and 2*dist+1 cells from point to opposite point inclusive.
getHexagonalLocations(int, int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getHexagonalNeighbors(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid2D
Gets all neighbors located within the hexagon centered at (X,Y) and 2*dist+1 cells from point to opposite point inclusive.
getHexagonalNeighbors(int, int, int, int, boolean, DoubleBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid2D
Gets all neighbors located within the hexagon centered at (X,Y) and 2*dist+1 cells from point to opposite point inclusive.
getHexagonalNeighbors(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid2D
Gets all neighbors located within the hexagon centered at (X,Y) and 2*dist+1 cells from point to opposite point inclusive.
getHexagonalNeighbors(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
Gets all neighbors located within the hexagon centered at (X,Y) and 2*dist+1 cells from point to opposite point inclusive.
getHexagonalNeighbors(int, int, int, int, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Gets all neighbors located within the hexagon centered at (X,Y) and 2*dist+1 cells from point to opposite point inclusive.
getHexagonalNeighborsAndLocations(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid2D
Gets all neighbors located within the hexagon centered at (X,Y) and 2*dist+1 cells from point to opposite point inclusive.
getHexagonalNeighborsAndLocations(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
Gets all neighbors located within the hexagon centered at (X,Y) and 2*dist+1 cells from point to opposite point inclusive.
getHexagonalNeighborsAndLocations(int, int, int, int, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Gets all neighbors located within the hexagon centered at (X,Y) and 2*dist+1 cells from point to opposite point inclusive.
getHistogramType() - Method in class sim.util.media.chart.HistogramGenerator
 
getImage() - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
getIncrementSeedOnPlay() - Method in class sim.display.Console
Deprecated.
renamed to getIncrementSeedOnStop
getIncrementSeedOnPlay() - Method in class sim.display.SimpleController
Deprecated.
renamed to getIncrementSeedOnStop
getIncrementSeedOnStop() - Method in class sim.display.Console
 
getIncrementSeedOnStop() - Method in class sim.display.SimpleController
 
getIndex() - Method in class sim.field.SparseField.LocationAndIndex
 
getInfo(Class) - Static method in class sim.display.GUIState
Returns either a String or a URL which provides descriptive information about the simulation hosted by the given class (which should be a GUIState subclass).
getInfo() - Static method in class sim.display.GUIState
Override this method with a static method of your own in your subclass to provide an object (a URL or a String) describing information about your simulation; if you do not override this method, then the system will look for a file called index.html located next to your .class file and use a URL to that file as the information.
getInfo() - Method in class sim.field.network.Edge
 
getInitialValue() - Method in class sim.util.gui.NumberTextField
 
getInspector() - Method in class sim.display.GUIState
By default returns a non-volatile Inspector which wraps around getSimulationInspectedObject(); if getSimulationInspectedObject() returns null, then getInspector() will return null also.
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.simple.AdjustablePortrayal2D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.simple.CircledPortrayal2D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.simple.FacetedPortrayal2D
If portrayAllChildren, Calls on the first child to return the inspector.
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.simple.MovablePortrayal2D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.simple.TrailedPortrayal2D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.simple.TransformedPortrayal2D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.simple.ValuePortrayal2D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal.SimplePortrayal2D
 
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.SharedPortrayal3D
Unlikely to be called, as SharedPortrayal3D is not pickable.
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal3d.simple.SwitchedPortrayal3D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal3d.simple.ValuePortrayal3D
 
getInspector(LocationWrapper, GUIState) - Method in class sim.portrayal3d.SimplePortrayal3D
 
getKeys() - Method in class sim.util.Heap
 
getLabel(Edge, EdgeDrawInfo2D) - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
Returns a name appropriate for the edge.
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.
getLabels() - Method in class sim.util.media.chart.BoxPlotSeriesAttributes
 
getLabels() - Method in class sim.util.media.chart.PieChartSeriesAttributes
 
getLabelScale() - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
getLabelScaling() - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
 
getLabelScaling() - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
getLastImage() - Method in class sim.display3d.CapturingCanvas3D
 
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
Returns the length of the grid
getLength() - Method in class sim.portrayal.simple.TrailedPortrayal2D
Returns the length of the trail in TIME.
getLocation() - Method in class sim.field.SparseField.LocationAndIndex
 
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.continuous.ContinuousPortrayal3D
 
getLocationOfObjectAsVector3d(Object, Vector3d) - Method in class sim.portrayal3d.grid.SparseGridPortrayal3D
 
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.
getLocationPosition(Object, DrawInfo2D) - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
 
getLocationPosition(Object, DrawInfo2D) - Method in class sim.portrayal.FieldPortrayal2D
Returns the position on-screen of the provided location in the underlying field.
getLocationPosition(Object, DrawInfo2D) - Method in class sim.portrayal.grid.HexaDenseGridPortrayal2D
 
getLocationPosition(Object, DrawInfo2D) - Method in class sim.portrayal.grid.HexaObjectGridPortrayal2D
 
getLocationPosition(Object, DrawInfo2D) - Method in class sim.portrayal.grid.HexaSparseGridPortrayal2D
 
getLocationPosition(Object, DrawInfo2D) - Method in class sim.portrayal.grid.HexaValueGridPortrayal2D
 
getLocationPosition(Object, DrawInfo2D) - Method in class sim.portrayal.grid.ObjectGridPortrayal2D
 
getLocationPosition(Object, DrawInfo2D) - Method in class sim.portrayal.grid.SparseGridPortrayal2D
 
getLocationPosition(Object, DrawInfo2D) - Method in class sim.portrayal.grid.ValueGridPortrayal2D
 
getMap() - Method in class sim.portrayal.grid.FastHexaObjectGridPortrayal2D
 
getMap() - Method in class sim.portrayal.grid.FastObjectGridPortrayal2D
 
getMap() - Method in class sim.portrayal.grid.ValueGridPortrayal2D
 
getMap() - Method in class sim.portrayal3d.grid.quad.QuadPortrayal
 
getMap() - Method in class sim.portrayal3d.grid.ValueGridPortrayal3D
 
getMax() - Method in class sim.util.Interval
 
getMaximumJump() - Method in class sim.portrayal.simple.TrailedPortrayal2D
Returns the maximum percentage of either the width or height of the field that can be jumped between two successive object locations before it's considered to be a huge leap and that segment won't be drawn.
getMaximumPropertiesForInspector() - Method in class sim.display.GUIState
 
getMaximumWidth() - Method in class sim.util.media.chart.BoxPlotGenerator
 
getMaxProperties() - Method in class sim.portrayal.SimpleInspector
 
getMin() - Method in class sim.util.Heap
Returns the current min element.
getMin() - Method in class sim.util.Interval
 
getMinimumSize() - Method in class sim.display.Display2D.InnerDisplay2D
Overloaded to return (width * scale, height * scale)
getMinimumSize() - Method in class sim.util.gui.MiniHistogram
 
getMinimumSize() - Method in class sim.util.gui.PropertyField
 
getMinKey() - Method in class sim.util.Heap
Returns the key value of the current min element.
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.simple.AxesPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.BranchGroupPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.CubePortrayal3D
 
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.PrimitivePortrayal3D
We suggest that if you wish to override this to change the appearance or scale or transform of the underlying model, do the changes first and THEN call super.getModel(obj, j3dModel).
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.SharedPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.SwitchedPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.ValuePortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.simple.WireFrameBoxPortrayal3D
 
getModel(Object, TransformGroup) - Method in class sim.portrayal3d.SimplePortrayal3D
 
getModelInspector() - Method in class sim.display.Console
Return the model inspector so simulations can do things like updating the properties.
getMooreLocations(int, int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid2D
 
getMooreLocations(int, int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid3D
 
getMooreLocations(int, int, int, int, boolean, IntBag, IntBag) - Method in interface sim.field.grid.Grid2D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y) ) <= dist.
getMooreLocations(int, int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in interface sim.field.grid.Grid3D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y), abs(z-Z) ) <= dist.
getMooreLocations(int, int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getMooreLocations(int, int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
getMooreNeighbors(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid2D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y) ) <= dist, This region forms a square 2*dist+1 cells across, centered at (X,Y).
getMooreNeighbors(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid3D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y) ) <= dist, This region forms a square 2*dist+1 cells across, centered at (X,Y).
getMooreNeighbors(int, int, int, int, boolean, DoubleBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid2D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y) ) <= dist, This region forms a square 2*dist+1 cells across, centered at (X,Y).
getMooreNeighbors(int, int, int, int, int, boolean, DoubleBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid3D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y), abs(z-Z) ) <= dist.
getMooreNeighbors(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid2D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y) ) <= dist, This region forms a square 2*dist+1 cells across, centered at (X,Y).
getMooreNeighbors(int, int, int, int, int, boolean, IntBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid3D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y), abs(z-Z) ) <= dist.
getMooreNeighbors(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y) ) <= dist, This region forms a square 2*dist+1 cells across, centered at (X,Y).
getMooreNeighbors(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid3D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y), abs(z-Z) ) <= dist.
getMooreNeighbors(int, int, int, int, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y) ) <= dist, This region forms a square 2*dist+1 cells across, centered at (X,Y).
getMooreNeighbors(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
getMooreNeighborsAndLocations(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid2D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y) ) <= dist.
getMooreNeighborsAndLocations(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid3D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y) ) <= dist.
getMooreNeighborsAndLocations(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y) ) <= dist.
getMooreNeighborsAndLocations(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid3D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y), abs(z-Z) ) <= dist.
getMooreNeighborsAndLocations(int, int, int, int, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y) ) <= dist.
getMooreNeighborsAndLocations(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y), abs(z-Z) ) <= dist.
getMouseChangesOffset() - Method in class sim.display.Display2D
Sets whether the user can change the offset by right-mouse-button-dragging, (or on OS X) Command-dragging or two-finger-click-dragging.
getMultigraphAdjacencyMatrix() - Method in class sim.field.network.Network
Creates and returns a multigraph adjacency matrix, which includes all edges from a given node to another -- if you know for sure that you have a simple graph (no multiple edges between two nodes), use getAdjacencyMatrix instead.
getName(Class) - Static method in class sim.display.GUIState
Call this method to get the simulation name for any class.
getName() - Static method in class sim.display.GUIState
Override this method in your subclass to provide a descriptive name for your simulation; otherwise the default will be used: the short classname (that is, if your class is foo.bar.Baz, Baz will be used).
getName(LocationWrapper) - Method in class sim.portrayal.FieldPortrayal
 
getName(LocationWrapper) - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
 
getName(LocationWrapper) - Method in interface sim.portrayal.Portrayal
Returns a static, one-line name for the given object that is useful for a human to distinguish it from other objects.
getName(LocationWrapper) - Method in class sim.portrayal.simple.AdjustablePortrayal2D
 
getName(LocationWrapper) - Method in class sim.portrayal.simple.CircledPortrayal2D
 
getName(LocationWrapper) - Method in class sim.portrayal.simple.FacetedPortrayal2D
If portrayAllChildren, Calls on the first child to return the name.
getName(LocationWrapper) - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
getName(LocationWrapper) - Method in class sim.portrayal.simple.MovablePortrayal2D
 
getName(LocationWrapper) - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
getName(LocationWrapper) - Method in class sim.portrayal.simple.TrailedPortrayal2D
 
getName(LocationWrapper) - Method in class sim.portrayal.simple.TransformedPortrayal2D
 
getName(LocationWrapper) - Method in class sim.portrayal.simple.ValuePortrayal2D
 
getName(LocationWrapper) - Method in class sim.portrayal.SimplePortrayal2D
 
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.SharedPortrayal3D
Unlikely to be called, as SharedPortrayal3D is not pickable.
getName(LocationWrapper) - Method in class sim.portrayal3d.simple.SwitchedPortrayal3D
 
getName(LocationWrapper) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
 
getName(LocationWrapper) - Method in class sim.portrayal3d.simple.ValuePortrayal3D
 
getName(LocationWrapper) - Method in class sim.portrayal3d.SimplePortrayal3D
 
getName(int) - Method in class sim.util.CollectionProperties
 
getName() - Method in class sim.util.media.chart.SeriesAttributes
Deprecated.
Returns the name of the series.
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.
getNearestNeighbors(Double2D, int, boolean, boolean, boolean, Bag) - Method in class sim.field.continuous.Continuous2D
Finds and returns at LEAST the 'atleastThisMany' items closest to a given 'position', plus potentially other items.
getNeighborsAndCorrespondingPositionsHamiltonianDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Deprecated. 
getNeighborsAndCorrespondingPositionsHexagonalDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Deprecated. 
getNeighborsAndCorrespondingPositionsMaxDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Deprecated. 
getNeighborsExactlyWithinDistance(Double2D, double) - Method in class sim.field.continuous.Continuous2D
Returns a Bag containing EXACTLY those objects within a certain distance of a given position, or equal to that distance, measuring using a circle of radius 'distance' around the given position.
getNeighborsExactlyWithinDistance(Double2D, double, boolean) - Method in class sim.field.continuous.Continuous2D
Returns a Bag containing EXACTLY those objects within a certain distance of a given position, or equal to that distance, measuring using a circle of radius 'distance' around the given position.
getNeighborsExactlyWithinDistance(Double2D, double, boolean, boolean, boolean, Bag) - Method in class sim.field.continuous.Continuous2D
Returns a Bag containing EXACTLY those objects within a certain distance of a given position.
getNeighborsExactlyWithinDistance(Double3D, double) - Method in class sim.field.continuous.Continuous3D
Returns a Bag containing EXACTLY those objects within a certain distance of a given position, or equal to that distance, measuring using a circle of radius 'distance' around the given position.
getNeighborsExactlyWithinDistance(Double3D, double, boolean) - Method in class sim.field.continuous.Continuous3D
Returns a Bag containing EXACTLY those objects within a certain distance of a given position, or equal to that distance, measuring using a circle of radius 'distance' around the given position.
getNeighborsExactlyWithinDistance(Double3D, double, boolean, boolean, boolean, Bag) - Method in class sim.field.continuous.Continuous3D
Returns a Bag containing EXACTLY those objects within a certain distance of a given position.
getNeighborsHamiltonianDistance(int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid2D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid3D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid2D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid3D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, boolean, DoubleBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid2D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, DoubleBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid3D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, boolean, IntBag, IntBag) - Method in interface sim.field.grid.Grid2D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in interface sim.field.grid.Grid3D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid2D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid3D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid3D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
Deprecated. 
getNeighborsHamiltonianDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
Deprecated. 
getNeighborsHexagonalDistance(int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid2D
Deprecated. 
getNeighborsHexagonalDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid2D
Deprecated. 
getNeighborsHexagonalDistance(int, int, int, boolean, DoubleBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid2D
Deprecated. 
getNeighborsHexagonalDistance(int, int, int, boolean, IntBag, IntBag) - Method in interface sim.field.grid.Grid2D
Deprecated. 
getNeighborsHexagonalDistance(int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid2D
Deprecated. 
getNeighborsHexagonalDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
Deprecated. 
getNeighborsHexagonalDistance(int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Deprecated. 
getNeighborsHexagonalDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Deprecated. 
getNeighborsMaxDistance(int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid2D
Deprecated. 
getNeighborsMaxDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid3D
Deprecated. 
getNeighborsMaxDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid2D
Deprecated. 
getNeighborsMaxDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid3D
Deprecated. 
getNeighborsMaxDistance(int, int, int, boolean, DoubleBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid2D
Deprecated. 
getNeighborsMaxDistance(int, int, int, int, boolean, DoubleBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid3D
Deprecated. 
getNeighborsMaxDistance(int, int, int, boolean, IntBag, IntBag) - Method in interface sim.field.grid.Grid2D
Deprecated. 
getNeighborsMaxDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in interface sim.field.grid.Grid3D
Deprecated. 
getNeighborsMaxDistance(int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid2D
Deprecated. 
getNeighborsMaxDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid3D
Deprecated. 
getNeighborsMaxDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
Deprecated. 
getNeighborsMaxDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid3D
Deprecated. 
getNeighborsMaxDistance(int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Deprecated. 
getNeighborsMaxDistance(int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Deprecated. 
getNeighborsMaxDistance(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
Deprecated. 
getNeighborsMaxDistance(int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
getNeighborsWithinDistance(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.
getNeighborsWithinDistance(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.
getNeighborsWithinDistance(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.
getNeighborsWithinDistance(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.
getNeighborsWithinDistance(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.
getNeighborsWithinDistance(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.
getNeighborsWithinDistance(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.
getNeighborsWithinDistance(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.
getNextTime(SimState, double) - Method in class sim.engine.Repeat
 
getNodeIndex(Object) - Method in class sim.field.network.Network
 
getNumBins() - Method in class sim.util.media.chart.HistogramSeriesAttributes
 
getNumGlobalAttributes() - Method in class sim.util.media.chart.ChartGenerator
Returns the number of global attribute panels.
getNumSeriesAttributes() - Method in class sim.util.media.chart.ChartGenerator
 
getNumStepsPerStepButtonPress() - Method in class sim.display.Console
 
getObject() - Method in class sim.portrayal.LocationWrapper
Override this to provide the current object
getObject() - Method in class sim.util.Properties
Returns the original object from which the properties are extracted
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
Returns the object location, or null if there is no such object.
getObjectLocation(Object) - Method in class sim.field.grid.SparseGrid3D
Returns the object location, or null if there is no such object.
getObjectLocation(Object, GUIState) - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
 
getObjectLocation(Object, GUIState) - Method in class sim.portrayal.FieldPortrayal2D
Returns the first location in the underlying field of the given object, if such a thing is reasonable.
getObjectLocation(Object, GUIState) - Method in class sim.portrayal.grid.DenseGridPortrayal2D
 
getObjectLocation(Object, GUIState) - Method in class sim.portrayal.grid.ObjectGridPortrayal2D
 
getObjectLocation(Object, GUIState) - Method in class sim.portrayal.grid.SparseGridPortrayal2D
 
getObjectLocation(Object) - Method in class sim.portrayal.network.SpatialNetwork2D
NOTE this used to be deprecated, but it has now been de-deprecated so as to be consistent with SpatialNetwork3D.
getObjectLocationAsDouble2D(Object) - Method in class sim.field.continuous.Continuous2D
Synonymous with getObjectLocation, which you should generally use instead.
getObjectLocationAsDouble2D(Object) - Method in class sim.field.grid.SparseGrid2D
Returns the object location as a Double2D, or as null if there is no such object.
getObjectLocationAsDouble2D(Object) - Method in interface sim.field.SparseField2D
Returns the location of an object in the sparse field as a Double2D
getObjectLocationAsDouble3D(Object) - Method in class sim.field.continuous.Continuous3D
Returns the object location as a Double3D, or as null if there is no such object.
getObjectLocationAsDouble3D(Object) - Method in class sim.field.grid.SparseGrid3D
Returns the object location as a Double3D, or as null if there is no such object.
getObjectLocationAsDouble3D(Object) - Method in interface sim.field.SparseField3D
Returns the location of an object in the sparse field as a Double3D
getObjectPosition(Object, DrawInfo2D) - Method in class sim.portrayal.FieldPortrayal2D
Returns the position-onscreen of the provided object, assuming that the object exists within the underlying field.
getObjects() - Method in class sim.util.Heap
 
getObjectsAtDiscretizedLocation(Int2D) - Method in class sim.field.continuous.Continuous2D
Returns a bag containing all the objects at a given discretized location, or null when there are no objects at the location.
getObjectsAtDiscretizedLocation(Int3D) - Method in class sim.field.continuous.Continuous3D
Returns a bag containing all the objects at a given discretized location, or null when there are no objects at the location.
getObjectsAtLocation(Double2D) - Method in class sim.field.continuous.Continuous2D
Returns a bag containing all the objects at a given location, or null if there are no such objects or if location is null.
getObjectsAtLocation(Double3D) - Method in class sim.field.continuous.Continuous3D
Returns a bag containing all the objects at a given location, or null if there are no such objects or if location is null.
getObjectsAtLocation(int, int) - Method in class sim.field.grid.DenseGrid2D
Returns a bag containing all the objects at a given location, or null when there are no objects at the location.
getObjectsAtLocation(Int2D) - Method in class sim.field.grid.DenseGrid2D
Returns a bag containing all the objects at a given location, or null when there are no objects at the location.
getObjectsAtLocation(int, int, int) - Method in class sim.field.grid.DenseGrid3D
Returns a bag containing all the objects at a given location, or null when there are no objects at the location.
getObjectsAtLocation(Int3D) - Method in class sim.field.grid.DenseGrid3D
Returns a bag containing all the objects at a given location, or null when there are no objects at the location.
getObjectsAtLocation(int, int) - Method in class sim.field.grid.SparseGrid2D
Returns a bag containing all the objects at a given location, or null when there are no objects at the location.
getObjectsAtLocation(int, int, int) - Method in class sim.field.grid.SparseGrid3D
Returns a bag containing all the objects at a given location -- which MIGHT be empty or MIGHT be null (which should also be interpreted as "empty") when there are no objects at the location.
getObjectsAtLocation(Object) - Method in class sim.field.SparseField
Returns a bag containing all the objects at a given location, or null when there are no objects at the location.
getObjectsAtLocationOfObject(Object) - Method in class sim.field.continuous.Continuous2D
Returns a bag containing all the objects at the exact same location as a given object, including the object itself, or null if the object is not in the Field.
getObjectsAtLocationOfObject(Object) - Method in class sim.field.continuous.Continuous3D
Returns a bag containing all the objects at the exact same location as a given object, including the object itself, or null if the object is not in the Field.
getObjectsAtLocationOfObject(Object) - Method in class sim.field.SparseField
Returns a bag containing all the objects at the same location as a given object, including the object itself, or null if the object is not in the Field.
getObjectsAtLocations(IntBag, IntBag, IntBag, Bag) - Method in class sim.field.grid.SparseGrid3D
For each location, puts all such objects into the result bag.
getObjectsAtLocations(Bag, Bag) - Method in class sim.field.SparseField
For each location, puts all object at that location into the result bag.
getObjectsExactlyWithinDistance(Double2D, double) - Method in class sim.field.continuous.Continuous2D
Deprecated. 
getObjectsExactlyWithinDistance(Double2D, double, boolean) - Method in class sim.field.continuous.Continuous2D
Deprecated. 
getObjectsExactlyWithinDistance(Double2D, double, boolean, boolean, boolean, Bag) - Method in class sim.field.continuous.Continuous2D
Deprecated. 
getObjectsExactlyWithinDistance(Double3D, double) - Method in class sim.field.continuous.Continuous3D
Deprecated. 
getObjectsExactlyWithinDistance(Double3D, double, boolean) - Method in class sim.field.continuous.Continuous3D
Deprecated. 
getObjectsExactlyWithinDistance(Double3D, double, boolean, boolean, boolean, Bag) - Method in class sim.field.continuous.Continuous3D
Deprecated. 
getObjectsWithinDistance(Double2D, double) - Method in class sim.field.continuous.Continuous2D
Deprecated. 
getObjectsWithinDistance(Double2D, double, boolean) - Method in class sim.field.continuous.Continuous2D
Deprecated. 
getObjectsWithinDistance(Double2D, double, boolean, boolean) - Method in class sim.field.continuous.Continuous2D
Deprecated. 
getObjectsWithinDistance(Double2D, double, boolean, boolean, Bag) - Method in class sim.field.continuous.Continuous2D
Deprecated. 
getObjectsWithinDistance(Double3D, double) - Method in class sim.field.continuous.Continuous3D
Deprecated. 
getObjectsWithinDistance(Double3D, double, boolean) - Method in class sim.field.continuous.Continuous3D
Deprecated. 
getObjectsWithinDistance(Double3D, double, boolean, boolean) - Method in class sim.field.continuous.Continuous3D
Deprecated. 
getObjectsWithinDistance(Double3D, double, boolean, boolean, Bag) - Method in class sim.field.continuous.Continuous3D
Deprecated. 
getOffset() - Method in class sim.display.Display2D
Returns the offset of the origin of the display.
getOnlyCircleWhenSelected() - Method in class sim.portrayal.simple.CircledPortrayal2D
 
getOnlyCircleWhenSelected() - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
getOnlyDrawWhenSelected() - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
getOnlyGrowTrailWhenSelected() - Method in class sim.portrayal.simple.TrailedPortrayal2D
Returns whether or not to grow the trail only after the objet has been selected, and delete it when the object has been deselected.
getOnlyLabelWhenSelected() - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
getOnlyLabelWhenSelected() - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
getOnlyShowTrailWhenSelected() - Method in class sim.portrayal.simple.TrailedPortrayal2D
Returns whether or not to draw the trail only when the object has been selected (or not).
getOpacity() - Method in class sim.util.media.chart.BubbleChartSeriesAttributes
 
getOrdering() - Method in class sim.engine.Repeat
 
getOrdering() - Method in class sim.engine.Schedule.Key
 
getOrientation(Object, DrawInfo2D) - Method in class sim.portrayal.simple.OrientedPortrayal2D
Returns the orientation of the underlying object, or NaN if there is no such orientation.
getOtherNode(Object) - Method in class sim.field.network.Edge
Returns the alternate to the provided node.
getPlaySleep() - Method in class sim.display.Console
Gets how long we should sleep between each step in the play thread (in milliseconds).
getPlayState() - Method in class sim.display.Console
Gets whether or not the current thread is PS_PLAYING, PS_STOPPED, or PS_PAUSED.
getPlayState() - Method in class sim.display.SimpleController
Gets whether or not the current thread is PS_PLAYING, PS_STOPPED, or PS_PAUSED.
getPlot() - Method in class sim.util.media.chart.SeriesAttributes
Returns the Chart's Plot.
getPortrayalForAll() - Method in class sim.portrayal.FieldPortrayal
 
getPortrayalForNonNull() - 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
 
getPositionLocation(Point2D.Double, DrawInfo2D) - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
 
getPositionLocation(Point2D.Double, DrawInfo2D) - Method in class sim.portrayal.FieldPortrayal2D
Returns the Location, in the parlance of the underlying Field, of the given position.
getPositionLocation(Point2D.Double, DrawInfo2D) - Method in class sim.portrayal.grid.HexaDenseGridPortrayal2D
 
getPositionLocation(Point2D.Double, DrawInfo2D) - Method in class sim.portrayal.grid.HexaObjectGridPortrayal2D
 
getPositionLocation(Point2D.Double, DrawInfo2D) - Method in class sim.portrayal.grid.HexaSparseGridPortrayal2D
 
getPositionLocation(Point2D.Double, DrawInfo2D) - Method in class sim.portrayal.grid.HexaValueGridPortrayal2D
 
getPositionLocation(Point2D.Double, DrawInfo2D) - Method in class sim.portrayal.grid.ObjectGridPortrayal2D
 
getPositionLocation(Point2D.Double, DrawInfo2D) - Method in class sim.portrayal.grid.SparseGridPortrayal2D
 
getPositionLocation(Point2D.Double, DrawInfo2D) - Method in class sim.portrayal.grid.ValueGridPortrayal2D
 
getPositiveWeight(Object, EdgeDrawInfo2D) - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
Returns a weight appropriate to scale the edge.
getPrecise() - Method in class sim.display.Display2D
Returns true if this display has been set to always draw precisely.
getPreferencesKey() - Method in class sim.display.Display2D
 
getPreferencesKey() - Method in class sim.display3d.Display3D
 
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.MiniHistogram
 
getPreferredSize() - Method in class sim.util.gui.PropertyField
 
getProperties(Object) - Static method in class sim.util.Properties
Returns a Properties object for the given object.
getProperties(Object, boolean, boolean, boolean) - Static method in class sim.util.Properties
Deprecated.
use the full version
getProperties(Object, boolean, boolean, boolean, boolean) - Static method in class sim.util.Properties
Returns a Properties object for the given object.
getProportion() - Method in class sim.util.media.chart.ChartGenerator
 
getProspectiveSeriesCount(Object[]) - Method in class sim.util.media.chart.PieChartGenerator
 
getRadialLocations(int, int, double, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid2D
 
getRadialLocations(int, int, double, int, boolean, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid2D
 
getRadialLocations(int, int, int, double, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid3D
 
getRadialLocations(int, int, int, double, int, boolean, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid3D
 
getRadialLocations(int, int, double, int, boolean, IntBag, IntBag) - Method in interface sim.field.grid.Grid2D
Gets all neighbors overlapping with a circular region centered at (X,Y) and with a radius of dist.
getRadialLocations(int, int, double, int, boolean, int, boolean, IntBag, IntBag) - Method in interface sim.field.grid.Grid2D
Gets all neighbors overlapping with a circular region centered at (X,Y) and with a radius of dist.
getRadialLocations(int, int, int, double, int, boolean, IntBag, IntBag, IntBag) - Method in interface sim.field.grid.Grid3D
Gets all neighbors overlapping with a spherical region centered at (X,Y,Z) and with a radius of dist.
getRadialLocations(int, int, int, double, int, boolean, int, boolean, IntBag, IntBag, IntBag) - Method in interface sim.field.grid.Grid3D
Gets all neighbors overlapping with a spherical region centered at (X,Y,Z) and with a radius of dist.
getRadialLocations(int, int, double, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getRadialLocations(int, int, double, int, boolean, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getRadialLocations(int, int, int, double, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
getRadialLocations(int, int, int, double, int, boolean, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
getRadialNeighbors(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid2D
 
getRadialNeighbors(int, int, int, int, boolean, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid2D
 
getRadialNeighbors(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid3D
 
getRadialNeighbors(int, int, int, int, int, boolean, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid3D
 
getRadialNeighbors(int, int, int, int, boolean, DoubleBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid2D
 
getRadialNeighbors(int, int, int, int, boolean, int, boolean, DoubleBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid2D
 
getRadialNeighbors(int, int, int, int, int, boolean, DoubleBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid3D
 
getRadialNeighbors(int, int, int, int, int, boolean, int, boolean, DoubleBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid3D
 
getRadialNeighbors(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid2D
 
getRadialNeighbors(int, int, int, int, boolean, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid2D
 
getRadialNeighbors(int, int, int, int, int, boolean, IntBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid3D
 
getRadialNeighbors(int, int, int, int, int, boolean, int, boolean, IntBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid3D
 
getRadialNeighbors(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
 
getRadialNeighbors(int, int, int, int, boolean, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
 
getRadialNeighbors(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid3D
 
getRadialNeighbors(int, int, int, int, int, boolean, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid3D
 
getRadialNeighbors(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getRadialNeighbors(int, int, int, int, boolean, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getRadialNeighbors(int, int, int, int, int, boolean, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
getRadialNeighbors(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
getRadialNeighborsAndLocations(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid2D
 
getRadialNeighborsAndLocations(int, int, int, int, boolean, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid2D
 
getRadialNeighborsAndLocations(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid3D
 
getRadialNeighborsAndLocations(int, int, int, int, int, boolean, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid3D
 
getRadialNeighborsAndLocations(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
 
getRadialNeighborsAndLocations(int, int, int, int, boolean, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
 
getRadialNeighborsAndLocations(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid3D
 
getRadialNeighborsAndLocations(int, int, int, int, int, boolean, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid3D
 
getRadialNeighborsAndLocations(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getRadialNeighborsAndLocations(int, int, int, int, boolean, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getRadialNeighborsAndLocations(int, int, int, int, int, boolean, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
getRadialNeighborsAndLocations(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
getRandomGenerator() - Method in class sim.util.distribution.AbstractDistribution
Returns the used uniform random number generator;
getRangeAxisLabel() - Method in class sim.util.media.chart.XYChartGenerator
Deprecated.
Returns the name of the Range Axis Label -- usually this is the Y axis.
getRawObjectLocation(Object) - Method in class sim.field.SparseField
Get the location of the provided object, or null if the object does not exist.
getRawObjectsAtLocation(Object) - Method in class sim.field.SparseField
This method is called by getObjectsAtLocation(location) so you can override getObjectsAtLocation() to customize it in certain ways (which is rare).
getRelativeObjectPosition(Object, Object, DrawInfo2D) - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
 
getRelativeObjectPosition(Object, Object, DrawInfo2D) - Method in class sim.portrayal.FieldPortrayal2D
Returns the position on-screen of an object at a given location in the field, using another object's location and DrawInfo2D to perform the computation.
getRequiresConfirmationToStop() - Method in class sim.display.Console
 
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
 
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).
getScale(DrawInfo2D) - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
 
getScale(DrawInfo2D) - Method in class sim.portrayal.FieldPortrayal2D
Returns the width and height, in pixels, of 1.0 x 1.0 units in the underlying field.
getScale(DrawInfo2D) - Method in class sim.portrayal.grid.HexaDenseGridPortrayal2D
 
getScale(DrawInfo2D) - Method in class sim.portrayal.grid.HexaObjectGridPortrayal2D
 
getScale(DrawInfo2D) - Method in class sim.portrayal.grid.HexaSparseGridPortrayal2D
 
getScale(DrawInfo2D) - Method in class sim.portrayal.grid.HexaValueGridPortrayal2D
 
getScale(DrawInfo2D) - Method in class sim.portrayal.grid.ObjectGridPortrayal2D
 
getScale(DrawInfo2D) - Method in class sim.portrayal.grid.SparseGridPortrayal2D
 
getScale(DrawInfo2D) - Method in class sim.portrayal.grid.ValueGridPortrayal2D
 
getScale() - Method in class sim.portrayal3d.grid.ValueGridPortrayal3D
 
getScale() - Method in class sim.util.media.chart.BubbleChartSeriesAttributes
 
getScale() - Method in class sim.util.media.chart.ChartGenerator
 
getScale2D() - Method in interface sim.portrayal.Scalable2D
 
getScaling() - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
 
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
 
getScrollPosition() - Method in class sim.display.Display2D
Returns the current scroll positions (x and y) as proportional values between 0.0 (minimum scroll position) and 1.0 (maximum scroll position).
getSelectedWrappers() - Method in class sim.display.Display2D
Returns as LocationWrappers all the currently selected objects in the display.
getSelectedWrappers() - Method in class sim.display3d.Display3D
Returns as LocationWrappers all the currently selected objects in the display.
getSelectionBehavior() - Method in class sim.display3d.Display3D
 
getSelectionMode() - Method in class sim.display.Display2D
Returns whether selecting a region will select all the objects within that region (the default), or instead a single object.
getSeries() - Method in class sim.util.media.chart.TimeSeriesAttributes
 
getSeriesAttribute(int) - Method in class sim.util.media.chart.ChartGenerator
 
getSeriesAttributes() - Method in class sim.util.media.chart.ChartGenerator
 
getSeriesCount() - Method in class sim.util.media.chart.BoxPlotGenerator
 
getSeriesCount() - Method in class sim.util.media.chart.ChartGenerator
 
getSeriesCount() - Method in class sim.util.media.chart.PieChartGenerator
 
getSeriesCount() - Method in class sim.util.media.chart.XYChartGenerator
Assumes that the underlying Dataset is an XYDataset.
getSeriesDataset() - Method in class sim.util.media.chart.BarChartGenerator
 
getSeriesDataset() - Method in class sim.util.media.chart.BoxPlotGenerator
 
getSeriesDataset() - Method in class sim.util.media.chart.ChartGenerator
 
getSeriesDataset() - Method in class sim.util.media.chart.PieChartGenerator
 
getSeriesDataset() - Method in class sim.util.media.chart.XYChartGenerator
 
getSeriesIndex() - Method in class sim.util.media.chart.SeriesAttributes
Returns the index of the series.
getSeriesName() - Method in class sim.util.media.chart.SeriesAttributes
 
getSeriesName() - Method in class sim.util.media.chart.TimeSeriesAttributes
 
getShape() - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
Returns the shape of the edge.
getShape() - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
getShape(TransformGroup, int) - Method in class sim.portrayal3d.simple.PrimitivePortrayal3D
Returns the shape by the given index.
getShape(TransformGroup, int) - Method in class sim.portrayal3d.simple.Shape3DPortrayal3D
 
getShape(TransformGroup, int) - Method in class sim.portrayal3d.simple.ValuePortrayal3D
 
getShape() - Method in class sim.util.media.chart.ScatterPlotSeriesAttributes
 
getShapeNum() - Method in class sim.util.media.chart.ScatterPlotSeriesAttributes
 
getShouldRepeat() - Method in class sim.display.Console
Get whether or not the simualtion should repeat when the stop button is pressed.
getShowsChild(Object) - Method in class sim.portrayal3d.simple.SwitchedPortrayal3D
 
getSimulation() - Method in class sim.display.Console
 
getSimulation() - Method in class sim.display.SimpleController
 
getSimulation() - Method in class sim.display3d.Display3D
 
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.
getSimulationProperties() - Method in class sim.display.GUIState
Override this to provide a custom Properties object for your simuation.
getSorry() - Method in class sim.portrayal.grid.ObjectGridPortrayal2D.Message
 
getStatus(LocationWrapper) - Method in class sim.portrayal.FieldPortrayal
 
getStatus(LocationWrapper) - Method in interface sim.portrayal.Portrayal
Returns a simple, informative one-line description of the current status of the object, which may change at any time to reflect how the object is changing.
getStatus(LocationWrapper) - Method in class sim.portrayal.simple.ValuePortrayal2D
 
getStatus(LocationWrapper) - Method in class sim.portrayal.SimplePortrayal2D
 
getStatus(LocationWrapper) - Method in class sim.portrayal3d.grid.quad.QuadPortrayal
 
getStatus(LocationWrapper) - Method in class sim.portrayal3d.SimplePortrayal3D
 
getSteps() - Method in class sim.engine.Schedule
Returns the number of steps the Schedule has pulsed so far.
getStepsPerSecond() - Method in class sim.display.Console
Returns the frame rate.
getStoppable() - Method in class sim.util.media.chart.SeriesAttributes
 
getStretch() - Method in class sim.util.media.chart.TimeSeriesAttributes
 
getStrokeColor() - Method in class sim.util.media.chart.BoxPlotSeriesAttributes
 
getStrokeColor() - Method in class sim.util.media.chart.HistogramSeriesAttributes
 
getStrokeColor() - Method in class sim.util.media.chart.TimeSeriesAttributes
 
getStrokeOpacity() - Method in class sim.util.media.chart.BoxPlotSeriesAttributes
 
getStrokeOpacity() - Method in class sim.util.media.chart.HistogramSeriesAttributes
 
getSymbolColor() - Method in class sim.util.media.chart.ScatterPlotSeriesAttributes
 
getSymbolOpacity() - Method in class sim.util.media.chart.ScatterPlotSeriesAttributes
 
getTabPane() - Method in class sim.display.Console
Simulations can call this to get access to the tabPane -- to add tabbed panes as they like.
getText() - Method in class sim.util.gui.NumberTextField
 
getThickness() - Method in class sim.util.media.chart.BoxPlotSeriesAttributes
 
getThickness() - Method in class sim.util.media.chart.HistogramSeriesAttributes
 
getThickness() - Method in class sim.util.media.chart.TimeSeriesAttributes
 
getThreadPriority() - Method in class sim.display.Console
Deprecated.
We may eliminate thread priority as an option
getTime() - Method in class sim.engine.Schedule
Returns the current timestep
getTime() - Method in class sim.engine.Schedule.Key
 
getTimestamp(String, String) - Method in class sim.engine.Schedule
Returns the current time in string format.
getTimestamp(double, String, String) - Method in class sim.engine.Schedule
Returns a given time in string format.
getTitle() - Method in class sim.portrayal.Inspector
 
getTitle() - Method in class sim.util.media.chart.ChartGenerator
Returns the title of the chart
getTo() - Method in class sim.field.network.Edge
Returns the "to" object.
getToolTipBehavior() - Method in class sim.display3d.Display3D
 
getToolTipText(MouseEvent) - Method in class sim.display.Display2D.InnerDisplay2D
 
getTransform() - Method in class sim.display3d.Display3D
Returns a copy of the current 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.
getTransparency() - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
getTruncatedName(Class) - Static method in class sim.display.GUIState
Returns the short name of the class.
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
 
getUpdateSteppable() - Method in class sim.portrayal.Inspector
Called whenever the system needs to get a Steppable which, when stepped, will update the inspector and repaint it.
getUsesSets() - Method in class sim.engine.Sequence
Returns whether the Sequence uses a Set internally to manage the internal array.
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() - Method in class sim.portrayal3d.grid.quad.QuadPortrayal.ObjectFilter
 
getValue() - Method in class sim.portrayal3d.simple.ValuePortrayal3D.DoubleFilter
 
getValue() - Method in class sim.portrayal3d.simple.ValuePortrayal3D.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() - 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.
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.
getValueName() - Method in class sim.portrayal.grid.ValueGridPortrayal2D
 
getValueName() - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
getValueName() - Method in class sim.portrayal3d.grid.ValueGridPortrayal3D
 
getValues() - Method in class sim.util.media.chart.BoxPlotSeriesAttributes
 
getValues() - Method in class sim.util.media.chart.BubbleChartSeriesAttributes
 
getValues() - Method in class sim.util.media.chart.HistogramSeriesAttributes
 
getValues() - Method in class sim.util.media.chart.PieChartSeriesAttributes
 
getValues() - Method in class sim.util.media.chart.ScatterPlotSeriesAttributes
 
getVonNeumannLocations(int, int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid2D
 
getVonNeumannLocations(int, int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid3D
 
getVonNeumannLocations(int, int, int, int, boolean, IntBag, IntBag) - Method in interface sim.field.grid.Grid2D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) <= dist.
getVonNeumannLocations(int, int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in interface sim.field.grid.Grid3D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) + abs(z-Z) <= dist.
getVonNeumannLocations(int, int, int, int, boolean, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
getVonNeumannLocations(int, int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
getVonNeumannNeighbors(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid2D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) <= dist.
getVonNeumannNeighbors(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid3D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) <= dist.
getVonNeumannNeighbors(int, int, int, int, boolean, DoubleBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid2D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) <= dist.
getVonNeumannNeighbors(int, int, int, int, int, boolean, DoubleBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DoubleGrid3D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) + abs(z-Z) <= dist.
getVonNeumannNeighbors(int, int, int, int, boolean, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid2D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) <= dist.
getVonNeumannNeighbors(int, int, int, int, int, boolean, IntBag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.IntGrid3D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) + abs(z-Z) <= dist.
getVonNeumannNeighbors(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) <= dist.
getVonNeumannNeighbors(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid3D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) + abs(z-Z) <= dist.
getVonNeumannNeighbors(int, int, int, int, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) <= dist.
getVonNeumannNeighbors(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) + abs(z-Z) <= dist.
getVonNeumannNeighborsAndLocations(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid2D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) <= dist.
getVonNeumannNeighborsAndLocations(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.DenseGrid3D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) <= dist.
getVonNeumannNeighborsAndLocations(int, int, int, int, boolean, Bag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid2D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) <= dist.
getVonNeumannNeighborsAndLocations(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.ObjectGrid3D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) + abs(z-Z) <= dist.
getVonNeumannNeighborsAndLocations(int, int, int, int, Bag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) <= dist.
getVonNeumannNeighborsAndLocations(int, int, int, int, int, boolean, Bag, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) + abs(z-Z) <= dist.
getWeight() - Method in class sim.field.network.Edge
Returns the weight of the edge.
getWhenShouldEnd() - Method in class sim.display.Console
Get when the simulation should end.
getWhenShouldEndTime() - 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.
getWhenShouldPauseTime() - 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
Returns the width of the field.
getWidth() - Method in interface sim.field.grid.Grid3D
Get the width
getWidth() - Method in class sim.field.grid.SparseGrid2D
Returns the width of the grid
getWidth() - Method in class sim.field.grid.SparseGrid3D
Returns the width of the grid
getWrapper(Object) - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
 
getWrapper(Object, Int2D) - Method in class sim.portrayal.grid.ObjectGridPortrayal2D
 
getWrapper(Object) - Method in class sim.portrayal.grid.SparseGridPortrayal2D
 
getWrapper(double, Int2D) - 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
 
getX() - Method in class sim.util.MutableDouble2D
 
getX() - Method in class sim.util.MutableDouble3D
 
getX() - Method in class sim.util.MutableInt2D
 
getX() - Method in class sim.util.MutableInt3D
 
getXAxisLabel() - Method in class sim.util.media.chart.BarChartGenerator
Returns the name of the X Axis label.
getXAxisLabel() - Method in class sim.util.media.chart.BoxPlotGenerator
Returns the name of the X Axis label.
getXAxisLabel() - Method in class sim.util.media.chart.XYChartGenerator
Returns the name of the X Axis label.
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
 
getY() - Method in class sim.util.MutableDouble2D
 
getY() - Method in class sim.util.MutableDouble3D
 
getY() - Method in class sim.util.MutableInt2D
 
getY() - Method in class sim.util.MutableInt3D
 
getYAxisLabel() - Method in class sim.util.media.chart.BarChartGenerator
Returns the name of the Y Axis label.
getYAxisLabel() - Method in class sim.util.media.chart.BoxPlotGenerator
Returns the name of the Y Axis label.
getYAxisLabel() - Method in class sim.util.media.chart.XYChartGenerator
Returns the name of the Y Axis label.
getZ() - Method in class sim.util.Double3D
 
getZ() - Method in class sim.util.Int3D
 
getZ() - Method in class sim.util.MutableDouble3D
 
getZ() - Method in class sim.util.MutableInt3D
 
getZScale() - Method in class sim.portrayal3d.grid.quad.QuadPortrayal
 
globalAttributes - Variable in class sim.util.media.chart.ChartGenerator
A holder for global attributes components
globalModelTransformGroup - Variable in class sim.display3d.Display3D
The TransformGroup which holds the switch holding the portrayal's scene graph models.
Grid2D - Interface in sim.field.grid
Define basic neighborhood functions for 2D Grids.
Grid3D - Interface in sim.field.grid
Define basic neighborhood functions for 3D Grids.
group - Variable in class sim.portrayal3d.simple.PrimitivePortrayal3D
This is cloned to create the model.
gui - Variable in class sim.portrayal.DrawInfo2D
 
guirandom - Variable in class sim.display.GUIState
An additional random number generator available for GUI and drawing purposes, separate from the one used in the model.
GUIState - Class in sim.display
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.

H

halt(boolean) - Method in class sim.engine.AsynchronousSteppable
This method should cause the loop created in run(...) to die.
handleMouseEvent(MouseEvent) - Method in class sim.display.Display2D
 
handleMouseEvent(GUIState, Manipulating2D, LocationWrapper, MouseEvent, DrawInfo2D, int) - Method in class sim.portrayal.simple.AdjustablePortrayal2D
 
handleMouseEvent(GUIState, Manipulating2D, LocationWrapper, MouseEvent, DrawInfo2D, int) - Method in class sim.portrayal.simple.CircledPortrayal2D
 
handleMouseEvent(GUIState, Manipulating2D, LocationWrapper, MouseEvent, DrawInfo2D, int) - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
handleMouseEvent(GUIState, Manipulating2D, LocationWrapper, MouseEvent, DrawInfo2D, int) - Method in class sim.portrayal.simple.MovablePortrayal2D
 
handleMouseEvent(GUIState, Manipulating2D, LocationWrapper, MouseEvent, DrawInfo2D, int) - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
handleMouseEvent(GUIState, Manipulating2D, LocationWrapper, MouseEvent, DrawInfo2D, int) - Method in class sim.portrayal.simple.TrailedPortrayal2D
 
handleMouseEvent(GUIState, Manipulating2D, LocationWrapper, MouseEvent, DrawInfo2D, int) - Method in class sim.portrayal.SimplePortrayal2D
Optionally handles a mouse event.
hashCode() - Method in class sim.engine.Schedule.Key
 
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
 
hashCode() - Method in class sim.util.MutableDouble2D
 
hashCode() - Method in class sim.util.MutableDouble3D
 
hashCode() - Method in class sim.util.MutableInt2D
 
hashCode() - Method in class sim.util.MutableInt3D
 
header - Variable in class sim.display.Display2D
The component bar at the top of the Display2D.
header - Variable in class sim.display3d.Display3D
The component bar at the top of the Display3D.
Heap - Class in sim.util
Implementations of Heap functions in Java.
Heap() - Constructor for class sim.util.Heap
 
Heap(Comparable[], Object[]) - Constructor for class sim.util.Heap
 
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
 
HexaDenseGridPortrayal2D - Class in sim.portrayal.grid
Portrayal for hexagonal grids (each cell has six equally-distanced neighbors).
HexaDenseGridPortrayal2D() - Constructor for class sim.portrayal.grid.HexaDenseGridPortrayal2D
 
HexaDenseGridPortrayal2D(DrawPolicy) - Constructor for class sim.portrayal.grid.HexaDenseGridPortrayal2D
Deprecated.
Use setDrawPolicy.
HexagonalPortrayal2D - Class in sim.portrayal.simple
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(double) - Constructor for class sim.portrayal.simple.HexagonalPortrayal2D
 
HexagonalPortrayal2D(boolean) - Constructor for class sim.portrayal.simple.HexagonalPortrayal2D
 
HexagonalPortrayal2D(Paint, double) - Constructor for class sim.portrayal.simple.HexagonalPortrayal2D
 
HexagonalPortrayal2D(Paint, boolean) - Constructor for class sim.portrayal.simple.HexagonalPortrayal2D
 
HexagonalPortrayal2D(double, boolean) - Constructor for class sim.portrayal.simple.HexagonalPortrayal2D
 
HexagonalPortrayal2D(Paint, double, boolean) - Constructor for class sim.portrayal.simple.HexagonalPortrayal2D
 
HexaObjectGridPortrayal2D - Class in sim.portrayal.grid
Portrayal for hexagonal grids (each cell has six equally-distanced neighbors) containing objects.
HexaObjectGridPortrayal2D() - Constructor for class sim.portrayal.grid.HexaObjectGridPortrayal2D
 
HexaSparseGridPortrayal2D - Class in sim.portrayal.grid
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
Deprecated.
Use setDrawPolicy.
HexaValueGridPortrayal2D - Class in sim.portrayal.grid
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
 
hideAllFrames() - Method in class sim.display.Console
Hides all JFrames registered with the Console.
HistogramGenerator - Class in sim.util.media.chart
HistogramGenerator is a ChartGenerator which displays a histogram using the JFreeChart library.
HistogramGenerator() - Constructor for class sim.util.media.chart.HistogramGenerator
 
HistogramSeriesAttributes - Class in sim.util.media.chart
A SeriesAttributes used for user control of histogram series created with HistogramGenerator.
HistogramSeriesAttributes(ChartGenerator, String, int, double[], int, SeriesChangeListener) - Constructor for class sim.util.media.chart.HistogramSeriesAttributes
Produces a HistogramSeriesAttributes object with the given generator, series name, series index, and desire to display margin options.
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
 
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.simple.AdjustablePortrayal2D
 
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.simple.CircledPortrayal2D
 
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.simple.FacetedPortrayal2D
 
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.simple.MovablePortrayal2D
 
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
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.simple.ShapePortrayal2D
 
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.simple.TrailedPortrayal2D
 
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.simple.TransformedPortrayal2D
 
hitObject(Object, DrawInfo2D) - Method in class sim.portrayal.SimplePortrayal2D
Return true if the given object, when drawn, intersects with a provided rectangle, for hit testing purposes.
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.continuous.ContinuousPortrayal2D
 
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.grid.DenseGridPortrayal2D
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.grid.FastHexaValueGridPortrayal2D
 
hitOrDraw(Graphics2D, DrawInfo2D, Bag) - Method in class sim.portrayal.grid.HexaDenseGridPortrayal2D
 
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
 
hl - Variable in class sim.util.distribution.Hyperbolic
 
hmdu(int, int, int, MersenneTwisterFast) - Method in class sim.util.distribution.HyperGeometric
Returns a random number from the distribution.
hprs(int, int, int, MersenneTwisterFast) - Method in class sim.util.distribution.HyperGeometric
Returns a random number from the distribution.
hr - Variable in class sim.util.distribution.Hyperbolic
 
HTMLBrowser - Class in sim.util.gui
HTMLBrowser is a simple web browser which lets the user click on links and which provides a Back button when appropriate.
HTMLBrowser(Object) - Constructor for class sim.util.gui.HTMLBrowser
Constructs an HTMLBrowser using either an HTML string or a URL
Hyperbolic - Class in sim.util.distribution
Hyperbolic distribution.
Hyperbolic(double, double, MersenneTwisterFast) - Constructor for class sim.util.distribution.Hyperbolic
Constructs a Beta distribution.
HyperGeometric - Class in sim.util.distribution
HyperGeometric distribution; See the math definition The hypergeometric distribution with parameters N, n and s is the probability distribution of the random variable X, whose value is the number of successes in a sample of n items from a population of size N that has s 'success' items and N - s 'failure' items.
HyperGeometric(int, int, int, MersenneTwisterFast) - Constructor for class sim.util.distribution.HyperGeometric
Constructs a HyperGeometric distribution.

I

I_BELLY - Static variable in class sim.util.gui.NumberTextField
 
I_BELLY_PRESSED - Static variable in class sim.util.gui.NumberTextField
 
I_CLOSE - Static variable in class sim.util.media.chart.SeriesAttributes
 
I_CLOSE_PRESSED - Static variable in class sim.util.media.chart.SeriesAttributes
 
I_DOWN - Static variable in class sim.util.gui.NumberTextField
 
I_DOWN - Static variable in class sim.util.media.chart.SeriesAttributes
 
I_DOWN_PRESSED - Static variable in class sim.util.gui.NumberTextField
 
I_DOWN_PRESSED - Static variable in class sim.util.media.chart.SeriesAttributes
 
I_UP - Static variable in class sim.util.gui.NumberTextField
 
I_UP - Static variable in class sim.util.media.chart.SeriesAttributes
 
I_UP_PRESSED - Static variable in class sim.util.gui.NumberTextField
 
I_UP_PRESSED - Static variable in class sim.util.media.chart.SeriesAttributes
 
image - Variable in class sim.portrayal.simple.ImagePortrayal2D
 
ImagePortrayal2D - Class in sim.portrayal.simple
A simple portrayal for 2D visualization of images.
ImagePortrayal2D(ImageIcon, double) - Constructor for class sim.portrayal.simple.ImagePortrayal2D
Creates an ImagePortrayal2D with the image inside the given ImageIcon, and scaled with the given scale.
ImagePortrayal2D(ImageIcon) - Constructor for class sim.portrayal.simple.ImagePortrayal2D
Creates an ImagePortrayal2D with the image inside the given ImageIcon.
ImagePortrayal2D(Class, String, double) - Constructor for class sim.portrayal.simple.ImagePortrayal2D
Creates an ImagePortrayal2D by loading an Image resource using getClass().getResource(), and scaled with the given scale.
ImagePortrayal2D(Class, String) - Constructor for class sim.portrayal.simple.ImagePortrayal2D
Creates an ImagePortrayal2D by loading an Image resource using getClass().getResource()
ImagePortrayal2D(Image) - Constructor for class sim.portrayal.simple.ImagePortrayal2D
Creates an ImagePortrayal2D with the given image.
ImagePortrayal2D(Image, double) - Constructor for class sim.portrayal.simple.ImagePortrayal2D
Creates an ImagePortrayal2D with the given image, and scaled with the given scale..
ImagePortrayal3D - Class in sim.portrayal3d.simple
Portrays objects as a thin flat rectangle displaying a provided Image.
ImagePortrayal3D(Class, String) - Constructor for class sim.portrayal3d.simple.ImagePortrayal3D
Constructs a (semi-)transparent, oriented ImagePortrayal3D by loading an Image resource using getClass().getResource()
ImagePortrayal3D(Class, String, boolean, boolean) - Constructor for class sim.portrayal3d.simple.ImagePortrayal3D
Constructs a (semi-)transparent, oriented ImagePortrayal3D by loading an Image resource using getClass().getResource()
ImagePortrayal3D(ImageIcon) - Constructor for class sim.portrayal3d.simple.ImagePortrayal3D
Constructs a (semi-)transparent, oriented ImagePortrayal3D using the provided ImageIcon
ImagePortrayal3D(ImageIcon, boolean, boolean) - Constructor for class sim.portrayal3d.simple.ImagePortrayal3D
Constructs a (semi-)transparent, oriented ImagePortrayal3D using the provided ImageIcon.
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
immutableField - Variable in class sim.portrayal.FieldPortrayal
 
in - Variable in class sim.field.network.Network.IndexOutIn
Bag containing incoming edges of (entering) the node
incompleteBeta(double, double, double) - Static method in class sim.util.distribution.Probability
Returns the Incomplete Beta Function evaluated from zero to xx; formerly named ibeta.
incompleteGamma(double, double) - Static method in class sim.util.distribution.Probability
Returns the Incomplete Gamma function; formerly named igamma.
incompleteGammaComplement(double, double) - Static method in class sim.util.distribution.Probability
Returns the Complemented Incomplete Gamma function; formerly named igamc.
increaseSubsteps(Steppable[]) - Method in class sim.display.GUIState
Roughly doubles the array size, retaining the existing elements
INCREMENT_KEY - Static variable in class sim.display.Console
 
index - Variable in class sim.field.network.Network.IndexOutIn
Index of the node in the allNodes bag
Indexed - Interface in sim.util
A simple interface (simpler than List) for accessing random-access objects without changing their size.
indexFrom() - Method in class sim.field.network.Edge
 
indexOutInHash - Variable in class sim.field.network.Network
Hashes Network.IndexOutIn structures by Node.
indexTo() - Method in class sim.field.network.Edge
 
info - Variable in class sim.field.network.Edge
Other information (maybe cost) associated with the edge
inform(String, String, JFrame) - Static method in class sim.util.gui.Utilities
Pops up an message dialog box.
informOfError(Throwable, String, JFrame) - Static method in class sim.util.gui.Utilities
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
 
INITIAL_BAG_SIZE - Static variable in class sim.field.grid.DenseGrid2D
The size of an initial bag
INITIAL_BAG_SIZE - Static variable in class sim.field.grid.DenseGrid3D
The size of an initial bag
INITIAL_BAG_SIZE - Static variable in class sim.field.SparseField
The size of an initial bag
initialize() - Method in class sim.display3d.ToolTipBehavior
 
insideDisplay - Variable in class sim.display.Display2D
The 2D display inside the scroll view.
INSPECT_ICON - Static variable in class sim.portrayal.Inspector
 
INSPECT_ICON_P - Static variable in class sim.portrayal.Inspector
 
Inspector - Class in sim.portrayal
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 in sim.util
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(MutableInt2D) - Constructor for class sim.util.Int2D
 
Int2D(int, int) - Constructor for class sim.util.Int2D
 
Int3D - Class in sim.util
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
 
Int3D(MutableInt2D) - Constructor for class sim.util.Int3D
 
Int3D(MutableInt2D, int) - Constructor for class sim.util.Int3D
 
IntBag - Class in sim.util
Maintains a simple array (objs) of ints and the number of ints (numObjs) in the array (the array can be bigger than this number).
IntBag(int) - Constructor for class sim.util.IntBag
Creates an IntBag with a given initial capacity.
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.
IntBag(int[]) - Constructor for class sim.util.IntBag
Creates an IntBag with the given elements.
interpolationType - Variable in class sim.util.distribution.Empirical
 
Interval - Class in sim.util
Defines an inclusive (closed) interval between two numerical values MIN and MAX.
Interval(long, long) - Constructor for class sim.util.Interval
 
Interval(double, double) - Constructor for class sim.util.Interval
 
IntGrid2D - Class in sim.field.grid
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
 
IntGrid2D(int[][]) - Constructor for class sim.field.grid.IntGrid2D
 
IntGrid3D - Class in sim.field.grid
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
 
IntGrid3D(int[][][]) - Constructor for class sim.field.grid.IntGrid3D
 
intValue() - Method in class sim.util.MutableDouble
 
invalidChartTitle - Variable in class sim.util.media.chart.ChartGenerator
This is set to a string indicating that the chart is invalid.
isApplet() - Static method 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.
isDirected() - Method in class sim.field.network.Network
 
isDirtyField() - Method in class sim.portrayal.FieldPortrayal
 
isDirtyField() - Method in class sim.portrayal.grid.FastHexaObjectGridPortrayal2D
 
isDirtyField() - Method in class sim.portrayal.grid.FastObjectGridPortrayal2D
 
isDisclosed() - Method in class sim.util.gui.DisclosurePanel
 
isDisplayingToroidally() - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
Returns TRUE if the portrayal is displaying objects multiply (in a toroidal fashion) if they overlap on the edges of the field.
isDouble() - Method in class sim.util.Interval
 
isDrawFilled() - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
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
 
isFixed() - Method in class sim.util.media.chart.ChartGenerator
 
isHidden(int) - Method in class sim.util.Properties
Returns true if the class requested that this property be hidden from the user.
isHidden(int) - Method in class sim.util.SimpleProperties
 
isImmutableField() - Method in class sim.portrayal.FieldPortrayal
Returns true if the underlying field is assumed to be unchanging -- thus there's no reason to update once we're created.
isInfinite() - Method in class sim.util.MutableDouble
 
isInspectorVolatile() - Method in class sim.display.GUIState
Deprecated. 
isLabelShowing() - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
isLabelShowing() - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
isLineShowing() - Method in class sim.portrayal.simple.OrientedPortrayal2D
Deprecated.
use isOrientationShowing()
isMacOSX - Static variable in class sim.display.Display2D
Set to true if we're running on a Mac
isMeanShown() - Method in class sim.util.media.chart.BoxPlotGenerator
 
isMedianShown() - Method in class sim.util.media.chart.BoxPlotGenerator
 
isNaN() - Method in class sim.util.MutableDouble
 
isNewMenuAllowed() - Method in class sim.display.Console
 
isOrientationHittable() - Method in class sim.portrayal.simple.OrientedPortrayal2D
Returns true if the orientation marker can be hit as part of the object.
isOrientationShowing() - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
isPlotVisible() - Method in class sim.util.media.chart.SeriesAttributes
 
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 ...
isSealed() - Method in class sim.engine.Schedule
Returns whether or not the schedule is sealed (nothing more can be scheduled, even if the schedule isn't at AFTER_SIMULATION yet).
isSelected(Object) - Method in class sim.portrayal3d.SimplePortrayal3D
 
isUsingTriangles() - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
isVolatile() - Method in class sim.portrayal.Inspector
Returns true (default) if the inspector should be updated every time step.
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
isXAxisLogScaled() - Method in class sim.util.media.chart.XYChartGenerator
 
isYAxisLogScaled() - Method in class sim.util.media.chart.BoxPlotGenerator
 
isYAxisLogScaled() - Method in class sim.util.media.chart.XYChartGenerator
 
it(Object, Object) - Static method in class sim.util.LocationLog
 
iterator() - Method in class sim.field.network.Network
Iterates over all objects.
iterator() - Method in class sim.field.SparseField
Iterates over all objects.
iterator() - Method in class sim.util.Bag
NOT fail-fast.

J

javaVersion - Static variable in class sim.display.Display2D
Set to the version number
job() - Method in class sim.engine.SimState
Returns the job number set by the doLoop(...) facility.

K

K - Variable in class sim.util.distribution.EmpiricalWalker
 
k1 - Variable in class sim.util.distribution.Poisson
 
k2 - Variable in class sim.util.distribution.Poisson
 
k4 - Variable in class sim.util.distribution.Poisson
 
k5 - Variable in class sim.util.distribution.Poisson
 
kill() - Method in class sim.engine.SimState
A Steppable on the schedule can call this method to cancel the simulation.
knob - Static variable in class sim.portrayal.simple.AdjustablePortrayal2D
 
KNOB_RADIUS - Static variable in class sim.portrayal.simple.AdjustablePortrayal2D
 

L

l_my - Variable in class sim.util.distribution.Poisson
 
label - Variable in class sim.portrayal.simple.LabelledPortrayal2D
 
labelFont - Variable in class sim.portrayal.network.SimpleEdgePortrayal2D
 
LabelledList - Class in sim.util.gui
LabelledList is a JPanel which makes it easy to set up two columns of Components, with the right column taking up the extra space if there is any.
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 in sim.portrayal.simple
A wrapper for other Portrayal2Ds which also draws a textual label.
LabelledPortrayal2D(SimplePortrayal2D, double, double, double, double, Font, int, String, Paint, boolean) - Constructor for class sim.portrayal.simple.LabelledPortrayal2D
Draws [x=offsetx, y=offsety] pixels away from the [dx=scalex, dy=scaley] prescaled position of the Portrayal2D, using the SansSerif 10pt font, blue, and left alignment.
LabelledPortrayal2D(SimplePortrayal2D, String) - Constructor for class sim.portrayal.simple.LabelledPortrayal2D
Draws 10 pixels down from the [dx=0, dy=0.5] prescaled position of the Portrayal2D, using the SansSerif 10pt font, blue, and left alignment.
LabelledPortrayal2D(SimplePortrayal2D, double, String, Paint, boolean) - Constructor for class sim.portrayal.simple.LabelledPortrayal2D
Draws 10 pixels down from the [dx=0, dy=scaley] 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 10 pixels down from the [dx=0, dy=0.5] prescaled position of the Portrayal2D, using the SansSerif 10pt font, and left alignment.
LabelledPortrayal3D - Class in sim.portrayal3d.simple
A wrapper for other Portrayal3Ds which also draws a textual label.
LabelledPortrayal3D(SimplePortrayal3D) - Constructor for class sim.portrayal3d.simple.LabelledPortrayal3D
 
LabelledPortrayal3D(SimplePortrayal3D, String) - Constructor for class sim.portrayal3d.simple.LabelledPortrayal3D
 
LabelledPortrayal3D(SimplePortrayal3D, String, Color, boolean) - Constructor for class sim.portrayal3d.simple.LabelledPortrayal3D
 
LabelledPortrayal3D(SimplePortrayal3D, double, Font, String, Color, boolean) - Constructor for class sim.portrayal3d.simple.LabelledPortrayal3D
 
LabelledPortrayal3D(SimplePortrayal3D, double, double, double, Font, String, Color, boolean) - Constructor for class sim.portrayal3d.simple.LabelledPortrayal3D
 
LabelledPortrayal3D(SimplePortrayal3D, Transform3D, Font, String, Color, boolean) - Constructor for class sim.portrayal3d.simple.LabelledPortrayal3D
 
labelPaint - Variable in class sim.portrayal.network.SimpleEdgePortrayal2D
 
lambda - Variable in class sim.util.distribution.Exponential
 
lambda - Variable in class sim.util.distribution.Gamma
 
LARGE_BAG_RATIO - Static variable in class sim.field.grid.DenseGrid2D
A bag must be larger than its contents by this ratio to be replaced replaceLargeBags is true
LARGE_BAG_RATIO - Static variable in class sim.field.grid.DenseGrid3D
A bag must be larger than its contents by this ratio to be replaced replaceLargeBags is true
LARGE_BAG_RATIO - Static variable in class sim.field.SparseField
A bag must be larger than its contents by this ratio to be replaced replaceLargeBags is true
lastToolTipEvent - Variable in class sim.display.Display2D.InnerDisplay2D
 
LAYERS_ICON - Static variable in class sim.display.Display2D
 
LAYERS_ICON_P - Static variable in class sim.display.Display2D
 
layersbutton - Variable in class sim.display.Display2D
The button which pops up the layers menu
layersbutton - Variable in class sim.display3d.Display3D
The button which pops up the layers menu
length - Variable in class sim.field.continuous.Continuous3D
 
length - Variable in class sim.field.grid.AbstractGrid3D
 
length - Variable in class sim.field.grid.SparseGrid3D
 
length() - Method in class sim.util.Double2D
Returns the vector length of the Double2D
length() - Method in class sim.util.Double3D
Returns the vector length of the Double3D
length() - Method in class sim.util.MutableDouble2D
Returns the length of the vector.
length() - Method in class sim.util.MutableDouble3D
Returns the length of the vector.
lengthSq() - Method in class sim.util.Double2D
Returns the vector length of the Double2D
lengthSq() - Method in class sim.util.Double3D
Returns the vector length of the Double3D
lengthSq() - Method in class sim.util.MutableDouble2D
Returns the square of the length of the MutableDouble2D.
lengthSq() - Method in class sim.util.MutableDouble3D
Returns the square of the length of the MutableDouble3D.
LightPortrayal3D - Class in sim.portrayal3d.simple
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!
LINEAR_INTERPOLATION - Static variable in class sim.util.distribution.Empirical
 
ll - Variable in class sim.util.distribution.Poisson
 
llll - Variable in class sim.util.distribution.Poisson
 
load(SimState) - Method in class sim.display.GUIState
Called by the Console when the user is loading in a new state from a checkpoint.
loadGIFFile(InputStream, boolean) - Static method in class sim.util.TableLoader
Loads GIF files and returns the result as an int[][], where each integer value represents the color table index of the pixel.
loadGIFFile(InputStream) - Static method in class sim.util.TableLoader
Loads GIF files and returns the result as an int[][], where each integer value represents the color table index of the pixel.
loadPNGFile(InputStream, boolean) - Static method in class sim.util.TableLoader
Loads PNG files and returns the result as an int[][].
loadPNGFile(InputStream) - Static method in class sim.util.TableLoader
Loads PNG files and returns the result as an int[][].
loadPNMFile(InputStream, boolean) - Static method in class sim.util.TableLoader
Loads plain or raw PGM files or plain or raw PBM files and return the result as an int[][].
loadPNMFile(InputStream) - Static method in class sim.util.TableLoader
Loads plain or raw PGM files or plain or raw PBM files and return the result as an int[][].
loadSteps() - Method in class sim.engine.Sequence
Subclasses should call this method as more or less the first thing in their step(...) method.
loadTextFile(InputStream, boolean) - Static method in class sim.util.TableLoader
Loads into a double[][] a plain text file of numbers, with newlines dividing the numbers into rows and tabs or spaces delimiting columns.
loadTextFile(InputStream) - Static method in class sim.util.TableLoader
Loads into a double[][] a plain text file of numbers, with newlines dividing the numbers into rows and tabs or spaces delimiting columns.
location - Variable in class sim.portrayal.DrawInfo2D
 
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.
LocationLog - Class in sim.util
An experimental test object for performing assertions which log all location accesses in fields.
LocationLog() - Constructor for class sim.util.LocationLog
 
locationToPass - Variable in class sim.portrayal.grid.DenseGridPortrayal2D
 
locationToPass - Variable in class sim.portrayal.grid.ObjectGridPortrayal2D
 
locationToPass - Variable in class sim.portrayal.grid.ValueGridPortrayal2D
 
LocationWrapper - Class in sim.portrayal
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
 
lock - Variable in class sim.engine.Schedule
The schedule lock.
log(double, double) - Static method in class sim.util.distribution.Arithmetic
Returns logbasevalue.
log10(double) - Static method in class sim.util.distribution.Arithmetic
Returns log10value.
log2(double) - Static method in class sim.util.distribution.Arithmetic
Returns log2value.
Logarithmic - Class in sim.util.distribution
Logarithmic distribution.
Logarithmic(double, MersenneTwisterFast) - Constructor for class sim.util.distribution.Logarithmic
Constructs a Logarithmic distribution.
logFactorial(int) - Static method in class sim.util.distribution.Arithmetic
Returns log(k!).
logFactorials - Static variable in class sim.util.distribution.Arithmetic
 
logGamma(double) - Static method in class sim.util.distribution.PoissonSlow
Returns the value ln(Gamma(xx) for xx > 0.
logGamma(double) - Static method in class sim.util.distribution.Probability
Returns the natural logarithm of the gamma function; formerly named lgamma.
LOGPI - Static variable in class sim.util.distribution.Arithmetic
 
LOGPI - Static variable in class sim.util.distribution.Constants
 
longFactorial(int) - Static method in class sim.util.distribution.Arithmetic
Instantly returns the factorial k!.
longFactorials - Static variable in class sim.util.distribution.Arithmetic
 
longValue() - Method in class sim.util.MutableDouble
 
LOWER_PAINT - Static variable in class sim.portrayal.simple.AdjustablePortrayal2D
 
LOWER_STROKE - Static variable in class sim.portrayal.simple.AdjustablePortrayal2D
 
lowerBound(double) - Method in class sim.field.grid.DoubleGrid2D
Thresholds the grid so that values smaller than toNoLowerThanThisMuch are changed to toNoLowerThanThisMuch Returns the modified grid.
lowerBound(double) - Method in class sim.field.grid.DoubleGrid3D
Thresholds the grid so that values smaller than toNoLowerThanThisMuch are changed to toNoLowerThanThisMuch Returns the modified grid.
lowerBound(int) - Method in class sim.field.grid.IntGrid2D
Thresholds the grid so that values smaller than toNoLowerThanThisMuch are changed to toNoLowerThanThisMuch Returns the modified grid.
lowerBound(int) - Method in class sim.field.grid.IntGrid3D
Thresholds the grid so that values smaller than toNoLowerThanThisMuch are changed to toNoLowerThanThisMuch Returns the modified grid.
lr - Variable in class sim.util.distribution.Poisson
 

M

m - Variable in class sim.util.distribution.Poisson
 
MACHEP - Static variable in class sim.util.distribution.Arithmetic
 
MACHEP - Static variable in class sim.util.distribution.Constants
 
main(String[]) - Static method in class ec.util.MersenneTwisterFast
Tests the code.
main(String[]) - Static method in class sim.display.Console
Pops up a window allowing the user to enter in a class name to start a new simulation.
makeBucketLabels(int, double, double, boolean) - Static method in class sim.util.gui.MiniHistogram
Generates a set of numBuckets bucket labels appropriate for use in a histogram.
makeBuckets(double[], int, double, double, boolean) - Static method in class sim.util.gui.MiniHistogram
Generates a set of numBuckets buckets describing a histogram over the provided values in vals.
MakesSimState - Interface in sim.engine
An interface for classes capable of creating SimState subclasses.
makeUpdateButton() - Method in class sim.portrayal.Inspector
A convenient function to create UpdateButton which you might add to the bottom of the JPanel (assuming it still is using BorderLayout).
manhattanDistance(double, double) - Method in class sim.util.Double2D
Returns the manhtattan distance FROM this Double2D TO the specified point
manhattanDistance(Double2D) - Method in class sim.util.Double2D
Returns the manhtattan distance FROM this Double2D TO the specified point
manhattanDistance(Int2D) - Method in class sim.util.Double2D
Returns the manhtattan distance FROM this Double2D TO the specified point
manhattanDistance(MutableDouble2D) - Method in class sim.util.Double2D
Returns the manhtattan distance FROM this Double2D TO the specified point
manhattanDistance(MutableInt2D) - Method in class sim.util.Double2D
Returns the manhtattan distance FROM this Double2D TO the specified point
manhattanDistance(Point2D) - Method in class sim.util.Double2D
Returns the manhtattan distance FROM this Double2D TO the specified point
manhattanDistance(double, double, double) - Method in class sim.util.Double3D
Returns the manhtattan distance FROM this Double3D TO the specified point
manhattanDistance(Double3D) - Method in class sim.util.Double3D
Returns the manhtattan distance FROM this Double3D TO the specified point
manhattanDistance(Int3D) - Method in class sim.util.Double3D
Returns the manhtattan distance FROM this Double3D TO the specified point
manhattanDistance(MutableDouble3D) - Method in class sim.util.Double3D
Returns the manhtattan distance FROM this Double3D TO the specified point
manhattanDistance(MutableInt3D) - Method in class sim.util.Double3D
Returns the manhtattan distance FROM this Double3D TO the specified point
manhattanDistance(int, int) - Method in class sim.util.Int2D
Returns the manhattan distance FROM this Int2D TO the specified point.
manhattanDistance(MutableInt2D) - Method in class sim.util.Int2D
Returns the manhattan distance FROM this Int2D TO the specified point.
manhattanDistance(Int2D) - Method in class sim.util.Int2D
Returns the manhattan distance FROM this Int2D TO the specified point.
manhattanDistance(Point) - Method in class sim.util.Int2D
Returns the manhattan distance FROM this Int2D TO the specified point.
manhattanDistance(int, int, int) - Method in class sim.util.Int3D
Returns the manhattan distance FROM this Int3D TO the specified point.
manhattanDistance(MutableInt3D) - Method in class sim.util.Int3D
Returns the manhattan distance FROM this Int3D TO the specified point.
manhattanDistance(Int3D) - Method in class sim.util.Int3D
Returns the manhattan distance FROM this Int3D TO the specified point.
manhattanDistance(double, double) - Method in class sim.util.MutableDouble2D
Returns the manhtattan distance FROM this MuableDouble2D TO the specified point
manhattanDistance(Double2D) - Method in class sim.util.MutableDouble2D
Returns the manhtattan distance FROM this MuableDouble2D TO the specified point
manhattanDistance(Int2D) - Method in class sim.util.MutableDouble2D
Returns the manhtattan distance FROM this MuableDouble2D TO the specified point
manhattanDistance(MutableDouble2D) - Method in class sim.util.MutableDouble2D
Returns the manhtattan distance FROM this MuableDouble2D TO the specified point
manhattanDistance(MutableInt2D) - Method in class sim.util.MutableDouble2D
Returns the manhtattan distance FROM this MuableDouble2D TO the specified point
manhattanDistance(Point2D) - Method in class sim.util.MutableDouble2D
Returns the manhtattan distance FROM this MuableDouble2D TO the specified point
manhattanDistance(double, double, double) - Method in class sim.util.MutableDouble3D
Returns the manhtattan distance FROM this MutableDouble3D TO the specified point
manhattanDistance(Double3D) - Method in class sim.util.MutableDouble3D
Returns the manhtattan distance FROM this MutableDouble3D TO the specified point
manhattanDistance(Int3D) - Method in class sim.util.MutableDouble3D
Returns the manhtattan distance FROM this MutableDouble3D TO the specified point
manhattanDistance(MutableDouble3D) - Method in class sim.util.MutableDouble3D
Returns the manhtattan distance FROM this MutableDouble3D TO the specified point
manhattanDistance(MutableInt3D) - Method in class sim.util.MutableDouble3D
Returns the manhtattan distance FROM this MutableDouble3D TO the specified point
manhattanDistance(int, int) - Method in class sim.util.MutableInt2D
Returns the manhattan distance FROM this MutableInt2D TO the specified point.
manhattanDistance(MutableInt2D) - Method in class sim.util.MutableInt2D
Returns the manhattan distance FROM this MutableInt2D TO the specified point.
manhattanDistance(Int2D) - Method in class sim.util.MutableInt2D
Returns the manhattan distance FROM this MutableInt2D TO the specified point.
manhattanDistance(Point) - Method in class sim.util.MutableInt2D
Returns the manhattan distance FROM this Int2D TO the specified point.
manhattanDistance(int, int, int) - Method in class sim.util.MutableInt3D
Returns the manhattan distance FROM this Int3D TO the specified point.
manhattanDistance(MutableInt3D) - Method in class sim.util.MutableInt3D
Returns the manhattan distance FROM this Int3D TO the specified point.
manhattanDistance(Int3D) - Method in class sim.util.MutableInt3D
Returns the manhattan distance FROM this Int3D TO the specified point.
Manipulating2D - Interface in sim.display
Manipulating2D is a simple interface for user interface objects which can manipulate portrayals in certain ways.
MASON_PREFERENCES - Static variable in class sim.display.Prefs
 
max() - Method in class sim.field.grid.DoubleGrid2D
Returns the maximum value stored in the grid
max() - Method in class sim.field.grid.DoubleGrid3D
Returns the maximum value stored in the grid
max() - Method in class sim.field.grid.IntGrid2D
Returns the maximum value stored in the grid
max() - Method in class sim.field.grid.IntGrid3D
Returns the maximum value stored in the grid
max - Variable in class sim.util.distribution.Uniform
 
MAXGAM - Static variable in class sim.util.distribution.Arithmetic
 
MAXGAM - Static variable in class sim.util.distribution.Constants
 
maximum(double[]) - Static method in class sim.util.gui.MiniHistogram
Returns the minimum over the provided vals.
MAXIMUM_BAR_CHART_ITEMS - Static variable in class sim.util.media.chart.BarChartGenerator
 
MAXIMUM_INTEGER - Static variable in class sim.engine.Schedule
The last time beyond which the schedule is no longer able to precisely maintain integer values due to loss of precision.
MAXIMUM_PIE_CHART_ITEMS - Static variable in class sim.util.media.chart.PieChartGenerator
The total number of unique groups permitted in the generator, to keep from overwhelming JFreeChart.
MAXIMUM_STEPS - Static variable in class sim.display.Console
Default maximum number of steps in the step slider
maximumJump - Variable in class sim.portrayal.simple.TrailedPortrayal2D
 
MAXLOG - Static variable in class sim.util.distribution.Arithmetic
 
MAXLOG - Static variable in class sim.util.distribution.Constants
 
maxlongint - Variable in class sim.util.distribution.Zeta
 
maySetLocation(Object, Object) - Method in interface sim.portrayal.Fixed2D
Returns true if the object permits you to change its location in the field.
mean() - Method in class sim.field.grid.DoubleGrid2D
Returns the mean value stored in the grid
mean() - Method in class sim.field.grid.DoubleGrid3D
Returns the mean value stored in the grid
mean() - Method in class sim.field.grid.IntGrid2D
Returns the mean value stored in the grid
mean() - Method in class sim.field.grid.IntGrid3D
Returns the mean value stored in the grid
mean - Variable in class sim.util.distribution.BreitWigner
 
mean - Variable in class sim.util.distribution.Normal
 
mean - Variable in class sim.util.distribution.Poisson
 
mean - Variable in class sim.util.distribution.PoissonSlow
 
MEAN_MAX - Static variable in class sim.util.distribution.Poisson
 
MEAN_MAX - Static variable in class sim.util.distribution.PoissonSlow
 
merge(Schedule) - Method in class sim.engine.Schedule
Merge a given schedule into this one.
merge(Heap) - Method in class sim.util.Heap
Produces a new heap which is the union of this heap with the other.
MersenneTwisterFast - Class in ec.util
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 of integers as seed.
MeshPortrayal - Class in sim.portrayal3d.grid.quad
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, double) - Constructor for class sim.portrayal3d.grid.quad.MeshPortrayal
 
MethodStep - Class in sim.engine
A Steppable which calls an underlying method using Java's reflection system.
MethodStep(Object, String) - Constructor for class sim.engine.MethodStep
 
MethodStep(Object, String, boolean) - Constructor for class sim.engine.MethodStep
 
min() - Method in class sim.field.grid.DoubleGrid2D
Returns the minimum value stored in the grid
min() - Method in class sim.field.grid.DoubleGrid3D
Returns the minimum value stored in the grid
min() - Method in class sim.field.grid.IntGrid2D
Returns the minimum value stored in the grid
min() - Method in class sim.field.grid.IntGrid3D
Returns the minimum value stored in the grid
min - Variable in class sim.util.distribution.Uniform
 
MIN_BAG_SIZE - Static variable in class sim.field.grid.DenseGrid2D
No bags smaller than this size will be replaced regardless of the setting of replaceLargeBags
MIN_BAG_SIZE - Static variable in class sim.field.grid.DenseGrid3D
No bags smaller than this size will be replaced regardless of the setting of replaceLargeBags
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
MinGapDataCuller - Class in sim.util.media.chart
This is meant as an on-line algorithm for keeping a constant number of data points from an on-going time series.
MinGapDataCuller(int) - Constructor for class sim.util.media.chart.MinGapDataCuller
 
MinGapDataCuller(int, int) - Constructor for class sim.util.media.chart.MinGapDataCuller
 
MiniHistogram - Class in sim.util.gui
A very simple histogram class.
MiniHistogram() - Constructor for class sim.util.gui.MiniHistogram
 
MiniHistogram(double[], String[]) - Constructor for class sim.util.gui.MiniHistogram
 
minimum(double[]) - Static method in class sim.util.gui.MiniHistogram
Returns the minimum over the provided vals.
MINLOG - Static variable in class sim.util.distribution.Arithmetic
 
MINLOG - Static variable in class sim.util.distribution.Constants
 
mmb_1 - Variable in class sim.util.distribution.Hyperbolic
 
mouseClicked(MouseEvent) - Method in class sim.display3d.SelectionBehavior
 
MovablePortrayal2D - Class in sim.portrayal.simple
A wrapper for other Portrayal2Ds which makes it possible to drag and move objects with the mouse.
MovablePortrayal2D(SimplePortrayal2D) - Constructor for class sim.portrayal.simple.MovablePortrayal2D
 
moveObject(Object, int, int, int, int) - Method in class sim.field.grid.DenseGrid2D
If the object is not at [fromX, fromY], then it's simply inserted into [toX, toY], and FALSE is returned.
moveObject(Object, Int2D, Int2D) - Method in class sim.field.grid.DenseGrid2D
If the object is not at FROM, then it's simply inserted into TO, and FALSE is returned.
moveObject(Object, int, int, int, int, int, int) - Method in class sim.field.grid.DenseGrid3D
If the object is not at [fromX, fromY], then it's simply inserted into [toX, toY], and FALSE is returned.
moveObject(Object, Int3D, Int3D) - Method in class sim.field.grid.DenseGrid3D
If the object is not at FROM, then it's simply inserted into TO, and FALSE is returned.
moveObjects(int, int, int, int) - Method in class sim.field.grid.DenseGrid2D
 
moveObjects(Int2D, Int2D) - Method in class sim.field.grid.DenseGrid2D
 
moveObjects(int, int, int, int, int, int) - Method in class sim.field.grid.DenseGrid3D
 
moveObjects(Int3D, Int3D) - Method in class sim.field.grid.DenseGrid3D
 
moveSeries(int, boolean) - Method in class sim.util.media.chart.BoxPlotGenerator
 
moveSeries(int, boolean) - Method in class sim.util.media.chart.BubbleChartGenerator
 
moveSeries(int, boolean) - Method in class sim.util.media.chart.ChartGenerator
Override this to move a series relative to other series.
moveSeries(int, boolean) - Method in class sim.util.media.chart.HistogramGenerator
 
moveSeries(int, boolean) - Method in class sim.util.media.chart.PieChartGenerator
 
moveSeries(int, boolean) - Method in class sim.util.media.chart.ScatterPlotGenerator
 
moveSeries(int, boolean) - Method in class sim.util.media.chart.TimeSeriesChartGenerator
 
MOVIE_OFF_ICON - Static variable in class sim.display.Display2D
 
MOVIE_OFF_ICON_P - Static variable in class sim.display.Display2D
 
MOVIE_ON_ICON - Static variable in class sim.display.Display2D
 
MOVIE_ON_ICON_P - Static variable in class sim.display.Display2D
 
movieButton - Variable in class sim.display.Display2D
The button which starts or stops a movie
movieButton - Variable in class sim.display3d.Display3D
The button which starts or stops a movie
MovieEncoder - Class in sim.util.media
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 in sim.util.gui
A class which gives a GUI front-end to sim.util.media.MovieEncoder.
MovieMaker(Frame) - Constructor for class sim.util.gui.MovieMaker
 
mpa_1 - Variable in class sim.util.distribution.Hyperbolic
 
multiply(double) - Method in class sim.field.grid.DoubleGrid2D
Sets each value in the grid to that value multiplied byThisMuch Returns the modified grid.
multiply(IntGrid2D) - Method in class sim.field.grid.DoubleGrid2D
Sets the value at each location in the grid to that value multiplied by to the value at the equivalent location in the provided grid.
multiply(DoubleGrid2D) - Method in class sim.field.grid.DoubleGrid2D
Sets the value at each location in the grid to that value multiplied by to the value at the equivalent location in the provided grid.
multiply(double) - Method in class sim.field.grid.DoubleGrid3D
Sets each value in the grid to that value multiplied byThisMuch Returns the modified grid.
multiply(IntGrid3D) - Method in class sim.field.grid.DoubleGrid3D
Sets the value at each location in the grid to that value multiplied by to the value at the equivalent location in the provided grid.
multiply(DoubleGrid3D) - Method in class sim.field.grid.DoubleGrid3D
Sets the value at each location in the grid to that value multiplied by to the value at the equivalent location in the provided grid.
multiply(int) - Method in class sim.field.grid.IntGrid2D
Sets each value in the grid to that value multiplied byThisMuch Returns the modified grid.
multiply(IntGrid2D) - Method in class sim.field.grid.IntGrid2D
Sets the value at each location in the grid to that value multiplied by to the value at the equivalent location in the provided grid.
multiply(int) - Method in class sim.field.grid.IntGrid3D
Sets each value in the grid to that value multiplied byThisMuch Returns the modified grid.
multiply(IntGrid3D) - Method in class sim.field.grid.IntGrid3D
Sets the value at each location in the grid to that value multiplied by to the value at the equivalent location in the provided grid.
multiply(double) - Method in class sim.util.Double2D
Multiplies each element by scalar "val"
multiply(double) - Method in class sim.util.Double3D
Multiplies each element by scalar "val"
multiply(MutableDouble2D, double) - Method in class sim.util.MutableDouble2D
Multiplies other by val, setting me to the result and returning me.
multiply(Double2D, double) - Method in class sim.util.MutableDouble2D
Multiplies other by val, setting me to the result and returning me.
multiply(MutableDouble3D, double) - Method in class sim.util.MutableDouble3D
Multiplies other by val, setting me to the result and returning me.
multiplyIn(double) - Method in class sim.util.MutableDouble2D
Extends my length so that it is multiplied by val, and returns me.
multiplyIn(double) - Method in class sim.util.MutableDouble3D
Extends my length so that it is multiplied by val, and returns me.
MultiStep - Class in sim.engine
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 in sim.util
MutableDouble simply holds a double value, which can be changed at any time.
MutableDouble() - Constructor for class sim.util.MutableDouble
 
MutableDouble(double) - Constructor for class sim.util.MutableDouble
 
MutableDouble(MutableDouble) - Constructor for class sim.util.MutableDouble
 
MutableDouble2D - Class in sim.util
MutableDouble2D is more or less the same class as java.awt.geom.Point2D.Double, except that it is hash-equivalent to Double2D.
MutableDouble2D() - Constructor for class sim.util.MutableDouble2D
 
MutableDouble2D(Int2D) - Constructor for class sim.util.MutableDouble2D
 
MutableDouble2D(MutableInt2D) - Constructor for class sim.util.MutableDouble2D
 
MutableDouble2D(MutableDouble2D) - Constructor for class sim.util.MutableDouble2D
 
MutableDouble2D(Double2D) - Constructor for class sim.util.MutableDouble2D
 
MutableDouble2D(Point) - Constructor for class sim.util.MutableDouble2D
 
MutableDouble2D(Point2D.Double) - Constructor for class sim.util.MutableDouble2D
 
MutableDouble2D(Point2D.Float) - Constructor for class sim.util.MutableDouble2D
 
MutableDouble2D(Point2D) - Constructor for class sim.util.MutableDouble2D
Only included for completeness' sakes, in case a new Point2D subclass is created in the future.
MutableDouble2D(double, double) - Constructor for class sim.util.MutableDouble2D
 
MutableDouble3D - Class in sim.util
MutableDouble3D is more or less the same class as javax.vecmath.Point3d, except that it is hash-equivalent to Double3D.
MutableDouble3D() - Constructor for class sim.util.MutableDouble3D
 
MutableDouble3D(Int2D) - Constructor for class sim.util.MutableDouble3D
Explicitly assumes the z value is set to 0
MutableDouble3D(Int2D, double) - Constructor for class sim.util.MutableDouble3D
 
MutableDouble3D(Int3D) - Constructor for class sim.util.MutableDouble3D
 
MutableDouble3D(MutableInt2D) - Constructor for class sim.util.MutableDouble3D
Explicitly assumes the z value is set to 0
MutableDouble3D(MutableInt2D, double) - Constructor for class sim.util.MutableDouble3D
 
MutableDouble3D(MutableInt3D) - Constructor for class sim.util.MutableDouble3D
 
MutableDouble3D(Double2D) - Constructor for class sim.util.MutableDouble3D
Explicitly assumes the z value is set to 0
MutableDouble3D(Double2D, double) - Constructor for class sim.util.MutableDouble3D
 
MutableDouble3D(Double3D) - Constructor for class sim.util.MutableDouble3D
 
MutableDouble3D(MutableDouble2D) - Constructor for class sim.util.MutableDouble3D
Explicitly assumes the z value is set to 0
MutableDouble3D(MutableDouble2D, double) - Constructor for class sim.util.MutableDouble3D
 
MutableDouble3D(MutableDouble3D) - Constructor for class sim.util.MutableDouble3D
 
MutableDouble3D(double, double, double) - Constructor for class sim.util.MutableDouble3D
 
MutableInt2D - Class in sim.util
MutableInt2D is largely a class identical to java.awt.Point, except that it is hash-equivalent to Int2D.
MutableInt2D() - Constructor for class sim.util.MutableInt2D
 
MutableInt2D(Point) - Constructor for class sim.util.MutableInt2D
 
MutableInt2D(Int2D) - Constructor for class sim.util.MutableInt2D
 
MutableInt2D(int, int) - Constructor for class sim.util.MutableInt2D
 
MutableInt3D - Class in sim.util
MutableInt3D stores three values (x, y, and z) and is hash-equivalent to Int3D; except MutableInt3D's values can be modified and Int3D's values cannot.
MutableInt3D() - Constructor for class sim.util.MutableInt3D
 
MutableInt3D(int, int, int) - Constructor for class sim.util.MutableInt3D
 
MutableInt3D(Int2D) - Constructor for class sim.util.MutableInt3D
Explicitly assumes the z value is set to 0
MutableInt3D(Int2D, int) - Constructor for class sim.util.MutableInt3D
 
MutableInt3D(Int3D) - Constructor for class sim.util.MutableInt3D
 
MutableInt3D(MutableInt2D) - Constructor for class sim.util.MutableInt3D
 
MutableInt3D(MutableInt2D, int) - Constructor for class sim.util.MutableInt3D
 
my_k - Variable in class sim.util.distribution.VonMises
 
my_last - Variable in class sim.util.distribution.Poisson
 
my_N - Variable in class sim.util.distribution.HyperGeometric
 
my_n - Variable in class sim.util.distribution.HyperGeometric
 
my_old - Variable in class sim.util.distribution.Poisson
 
my_p - Variable in class sim.util.distribution.Logarithmic
 
my_s - Variable in class sim.util.distribution.HyperGeometric
 

N

n - Variable in class sim.util.distribution.Binomial
 
n - Variable in class sim.util.distribution.NegativeBinomial
 
NAME_INDICATOR - Static variable in class sim.display.Console
Used in the 'simulation.classes' file to specify a special name for a simulation.
nameThread() - Method in class sim.engine.SimState
Names the current thread an appropriate name given the SimState
negate() - Method in class sim.util.Double2D
Returns the negation of this Double2D.
negate() - Method in class sim.util.Double3D
Returns the negation of this Double3D.
negate() - Method in class sim.util.MutableDouble2D
Negates the MutableDouble2D's values and returns it.
negate() - Method in class sim.util.MutableDouble3D
Negates the MutableDouble3D's values
NegativeBinomial - Class in sim.util.distribution
Negative Binomial distribution; See the math definition.
NegativeBinomial(int, double, MersenneTwisterFast) - Constructor for class sim.util.distribution.NegativeBinomial
Constructs a Negative Binomial distribution.
negativeBinomial(int, int, double) - Static method in class sim.util.distribution.Probability
Returns the sum of the terms 0 through k of the Negative Binomial Distribution.
negativeBinomialComplemented(int, int, double) - Static method in class sim.util.distribution.Probability
Returns the sum of the terms k+1 to infinity of the Negative Binomial distribution.
Network - Class in sim.field.network
The Network is a field which stores binary graph and multigraph structures of all kinds, using hash tables to allow reasonably rapid dynamic modification.
Network(boolean) - Constructor for class sim.field.network.Network
Constructs a directed or undirected graph.
Network() - Constructor for class sim.field.network.Network
Constructs a directed graph
Network(Network) - Constructor for class sim.field.network.Network
Constructs copy of an existing graph.
Network.IndexOutIn - Class in sim.field.network
The structure stored in the indexOutInHash hash table.
Network.IndexOutIn(int, Bag, Bag) - Constructor for class sim.field.network.Network.IndexOutIn
 
NetworkPortrayal2D - Class in sim.portrayal.network
Portrays network fields.
NetworkPortrayal2D() - Constructor for class sim.portrayal.network.NetworkPortrayal2D
 
NEVER_SCALE - Static variable in class sim.portrayal.network.SimpleEdgePortrayal2D
 
NEVER_SCALE - Static variable in class sim.portrayal.simple.LabelledPortrayal2D
 
newInstance(long, String[]) - Method in interface sim.engine.MakesSimState
Creates a SimState subclass with the given random number seed and command-line arguments passed into main(...).
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(int, int, int, double) - Method in class sim.portrayal3d.grid.ValueGridPortrayal3D
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.
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.
nextBoolean() - Method in class sim.util.distribution.Uniform
Returns a uniformly distributed random boolean.
nextBurr1(double, int, MersenneTwisterFast) - Static method in class sim.util.distribution.Distributions
Returns a random number from the Burr II, VII, VIII, X Distributions.
nextBurr2(double, double, int, MersenneTwisterFast) - Static method in class sim.util.distribution.Distributions
Returns a random number from the Burr III, IV, V, VI, IX, XII distributions.
nextByte() - Method in class ec.util.MersenneTwisterFast
 
nextBytes(byte[]) - Method in class ec.util.MersenneTwisterFast
 
nextCauchy(MersenneTwisterFast) - Static method in class sim.util.distribution.Distributions
Returns a cauchy distributed random number from the standard Cauchy distribution C(0,1).
nextChar() - Method in class ec.util.MersenneTwisterFast
 
nextDouble() - Method in class ec.util.MersenneTwisterFast
Returns a random double in the half-open range from [0.0,1.0).
nextDouble(boolean, boolean) - Method in class ec.util.MersenneTwisterFast
Returns a double in the range from 0.0 to 1.0, possibly inclusive of 0.0 and 1.0 themselves.
nextDouble() - Method in class sim.util.distribution.AbstractDiscreteDistribution
Returns a random number from the distribution; returns (double) nextInt().
nextDouble() - Method in class sim.util.distribution.AbstractDistribution
Returns a random number from the distribution.
nextDouble() - Method in class sim.util.distribution.Beta
Returns a random number from the distribution.
nextDouble(double, double) - Method in class sim.util.distribution.Beta
Returns a beta distributed random number; bypasses the internal state.
nextDouble() - Method in class sim.util.distribution.BreitWigner
Returns a random number from the distribution.
nextDouble(double, double, double) - Method in class sim.util.distribution.BreitWigner
Returns a random number from the distribution; bypasses the internal state.
nextDouble(double, double, double) - Method in class sim.util.distribution.BreitWignerMeanSquare
Returns a mean-squared random number from the distribution; bypasses the internal state.
nextDouble() - Method in class sim.util.distribution.ChiSquare
Returns a random number from the distribution.
nextDouble(double) - Method in class sim.util.distribution.ChiSquare
Returns a random number from the distribution; bypasses the internal state.
nextDouble() - Method in class sim.util.distribution.Empirical
Returns a random number from the distribution.
nextDouble() - Method in class sim.util.distribution.Exponential
Returns a random number from the distribution.
nextDouble(double) - Method in class sim.util.distribution.Exponential
Returns a random number from the distribution; bypasses the internal state.
nextDouble() - Method in class sim.util.distribution.ExponentialPower
Returns a random number from the distribution.
nextDouble(double) - Method in class sim.util.distribution.ExponentialPower
Returns a random number from the distribution; bypasses the internal state.
nextDouble() - Method in class sim.util.distribution.Gamma
Returns a random number from the distribution.
nextDouble(double, double) - Method in class sim.util.distribution.Gamma
Returns a random number from the distribution; bypasses the internal state.
nextDouble() - Method in class sim.util.distribution.Hyperbolic
Returns a random number from the distribution.
nextDouble(double, double) - Method in class sim.util.distribution.Hyperbolic
Returns a hyperbolic distributed random number; bypasses the internal state.
nextDouble() - Method in class sim.util.distribution.Logarithmic
Returns a random number from the distribution.
nextDouble(double) - Method in class sim.util.distribution.Logarithmic
Returns a random number from the distribution; bypasses the internal state.
nextDouble() - Method in class sim.util.distribution.Normal
Returns a random number from the distribution.
nextDouble(double, double) - Method in class sim.util.distribution.Normal
Returns a random number from the distribution; bypasses the internal state.
nextDouble() - Method in class sim.util.distribution.StudentT
Returns a random number from the distribution.
nextDouble(double) - Method in class sim.util.distribution.StudentT
Returns a random number from the distribution; bypasses the internal state.
nextDouble() - Method in class sim.util.distribution.Uniform
Returns a uniformly distributed random number in the open interval (min,max) (excluding min and max).
nextDouble() - Method in class sim.util.distribution.VonMises
Returns a random number from the distribution.
nextDouble(double) - Method in class sim.util.distribution.VonMises
Returns a random number from the distribution; bypasses the internal state.
nextDoubleFromTo(double, double) - Method in class sim.util.distribution.Uniform
Returns a uniformly distributed random number in the open interval (from,to) (excluding from and to).
nextErlang(double, double, MersenneTwisterFast) - Static method in class sim.util.distribution.Distributions
Returns an erlang distributed random number with the given variance and mean.
nextFloat() - Method in class ec.util.MersenneTwisterFast
Returns a random float in the half-open range from [0.0f,1.0f).
nextFloat(boolean, boolean) - Method in class ec.util.MersenneTwisterFast
Returns a float in the range from 0.0f to 1.0f, possibly inclusive of 0.0f and 1.0f themselves.
nextFloatFromTo(float, float) - Method in class sim.util.distribution.Uniform
Returns a uniformly distributed random number in the open interval (from,to) (excluding from and to).
nextGaussian() - Method in class ec.util.MersenneTwisterFast
 
nextGeometric(double, MersenneTwisterFast) - Static method in class sim.util.distribution.Distributions
Returns a discrete geometric distributed random number; Definition.
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.
nextInt() - Method in class sim.util.distribution.AbstractDiscreteDistribution
Returns a random number from the distribution.
nextInt() - Method in class sim.util.distribution.AbstractDistribution
Returns a random number from the distribution; returns (int) Math.round(nextDouble()).
nextInt() - Method in class sim.util.distribution.Binomial
Returns a random number from the distribution.
nextInt(int, double) - Method in class sim.util.distribution.Binomial
Returns a random number from the distribution with the given parameters n and p; bypasses the internal state.
nextInt() - Method in class sim.util.distribution.EmpiricalWalker
Returns a random integer k with probability pdf(k).
nextInt() - Method in class sim.util.distribution.HyperGeometric
Returns a random number from the distribution.
nextInt(int, int, int) - Method in class sim.util.distribution.HyperGeometric
Returns a random number from the distribution; bypasses the internal state.
nextInt(int, int, int, MersenneTwisterFast) - Method in class sim.util.distribution.HyperGeometric
Returns a random number from the distribution; bypasses the internal state.
nextInt() - Method in class sim.util.distribution.NegativeBinomial
Returns a random number from the distribution.
nextInt(int, double) - Method in class sim.util.distribution.NegativeBinomial
Returns a random number from the distribution; bypasses the internal state.
nextInt() - Method in class sim.util.distribution.Poisson
Returns a random number from the distribution.
nextInt(double) - Method in class sim.util.distribution.Poisson
Returns a random number from the distribution; bypasses the internal state.
nextInt() - Method in class sim.util.distribution.PoissonSlow
Returns a random number from the distribution.
nextInt() - Method in class sim.util.distribution.Uniform
Returns a uniformly distributed random number in the closed interval [min,max] (including min and max).
nextInt() - Method in class sim.util.distribution.Zeta
Returns a random number from the distribution.
nextIntFromTo(int, int) - Method in class sim.util.distribution.Uniform
Returns a uniformly distributed random number in the closed interval [from,to] (including from and to).
nextIntSlow() - Method in class sim.util.distribution.PoissonSlow
Returns a random number from the distribution.
nextLambda(double, double, MersenneTwisterFast) - Static method in class sim.util.distribution.Distributions
Returns a lambda distributed random number with parameters l3 and l4.
nextLaplace(MersenneTwisterFast) - Static method in class sim.util.distribution.Distributions
Returns a Laplace (Double Exponential) distributed random number from the standard Laplace distribution L(0,1).
nextLogistic(MersenneTwisterFast) - Static method in class sim.util.distribution.Distributions
Returns a random number from the standard Logistic distribution Log(0,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.
nextLongFromTo(long, long) - Method in class sim.util.distribution.Uniform
Returns a uniformly distributed random number in the closed interval [from,to] (including from and to).
nextPowLaw(double, double, MersenneTwisterFast) - Static method in class sim.util.distribution.Distributions
Returns a power-law distributed random number with the given exponent and lower cutoff.
nextShort() - Method in class ec.util.MersenneTwisterFast
 
nextTriangular(MersenneTwisterFast) - Static method in class sim.util.distribution.Distributions
Returns a random number from the standard Triangular distribution in (-1,1).
nextWeibull(double, double, MersenneTwisterFast) - Static method in class sim.util.distribution.Distributions
Returns a weibull distributed random number.
nextZipfInt(double, MersenneTwisterFast) - Static method in class sim.util.distribution.Distributions
Returns a zipfian distributed random number with the given skew.
NO_INTERPOLATION - Static variable in class sim.util.distribution.Empirical
 
nodeExists(Object) - Method in class sim.field.network.Network
 
Normal - Class in sim.util.distribution
Normal (aka Gaussian) distribution; See the math definition and animated definition.
Normal(double, double, MersenneTwisterFast) - Constructor for class sim.util.distribution.Normal
Constructs a normal (gauss) distribution.
normal(double) - Static method in class sim.util.distribution.Probability
Returns the area under the Normal (Gaussian) probability density function, integrated from minus infinity to x (assumes mean is zero, variance is one).
normal(double, double, double) - Static method in class sim.util.distribution.Probability
Returns the area under the Normal (Gaussian) probability density function, integrated from minus infinity to x.
normalInverse(double) - Static method in class sim.util.distribution.Probability
Returns the value, x, for which the area under the Normal (Gaussian) probability density function (integrated from minus infinity to x) is equal to the argument y (assumes mean is zero, variance is one); formerly named ndtri.
normalize() - Method in class sim.util.Double2D
Normalizes the vector (sets its length to 1).
normalize() - Method in class sim.util.Double3D
Normalizes the vector (sets its length to 1).
normalize() - Method in class sim.util.MutableDouble2D
 
normalize() - Method in class sim.util.MutableDouble3D
Normalizes me (sets my length to 1.0), returning me.
NUM_DISPLAYS_KEY - Static variable in class sim.display.Console
 
NumberTextField - Class in sim.util.gui
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(String, 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.
numObjectsAtLocation(Double2D) - Method in class sim.field.continuous.Continuous2D
Returns the number of the objects at a given location, or 0 if there are no such objects or if location is null.
numObjectsAtLocation(Double3D) - Method in class sim.field.continuous.Continuous3D
Returns the number of the objects at a given location, or 0 if there are no such objects or if location is null.
numObjectsAtLocation(int, int) - Method in class sim.field.grid.DenseGrid2D
 
numObjectsAtLocation(Int2D) - Method in class sim.field.grid.DenseGrid2D
 
numObjectsAtLocation(int, int, int) - Method in class sim.field.grid.DenseGrid3D
 
numObjectsAtLocation(Int3D) - Method in class sim.field.grid.DenseGrid3D
 
numObjectsAtLocation(int, int) - Method in class sim.field.grid.SparseGrid2D
Returns the number of objects stored in the grid at the given location.
numObjectsAtLocation(int, int, int) - Method in class sim.field.grid.SparseGrid3D
Returns the number of objects stored in the grid at the given location.
numObjectsAtLocation(Object) - Method in class sim.field.SparseField
Returns the number of objects at a given location.
numObjectsAtLocationOfObject(Object) - Method in class sim.field.continuous.Continuous2D
Returns the number of objects at the exact same location as a given object, including the object itself, or 0 if the object is not in the Field.
numObjectsAtLocationOfObject(Object) - Method in class sim.field.continuous.Continuous3D
Returns the number of objects at the exact same location as a given object, including the object itself, or 0 if the object is not in the Field.
numObjectsAtLocationOfObject(Object) - Method in class sim.field.SparseField
Returns the number of objects at the same location as a given object, including the object itself, or 0 if the object is not in the SparseField.
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
numShapes() - Method in class sim.portrayal3d.simple.BranchGroupPortrayal3D
Unused: returns 0 always.
numShapes() - Method in class sim.portrayal3d.simple.ConePortrayal3D
 
numShapes() - Method in class sim.portrayal3d.simple.CylinderPortrayal3D
 
numShapes() - Method in class sim.portrayal3d.simple.PrimitivePortrayal3D
Returns the number of shapes handled by this primitive or Shape3D.
numShapes() - Method in class sim.portrayal3d.simple.Shape3DPortrayal3D
 
numShapes() - Method in class sim.portrayal3d.simple.SpherePortrayal3D
 

O

object - Variable in class sim.portrayal.LocationWrapper
The ORIGINAL object
object - Variable in class sim.util.Properties
 
ObjectGrid2D - Class in sim.field.grid
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
 
ObjectGrid2D(Object[][]) - Constructor for class sim.field.grid.ObjectGrid2D
 
ObjectGrid3D - Class in sim.field.grid
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
 
ObjectGrid3D(Object[][][]) - Constructor for class sim.field.grid.ObjectGrid3D
 
ObjectGridPortrayal2D - Class in sim.portrayal.grid
A portrayal for grids containing objects, such as maybe agents or agent bodies.
ObjectGridPortrayal2D() - Constructor for class sim.portrayal.grid.ObjectGridPortrayal2D
 
ObjectGridPortrayal2D.Message - Class in sim.portrayal.grid
 
ObjectGridPortrayal2D.Message(String) - Constructor for class sim.portrayal.grid.ObjectGridPortrayal2D.Message
 
ObjectGridPortrayal3D - Class in sim.portrayal3d.grid
Portrays ObjectGrid2D and ObjectGrid3D in 3D space.
ObjectGridPortrayal3D() - Constructor for class sim.portrayal3d.grid.ObjectGridPortrayal3D
 
objectHash - Variable in class sim.field.SparseField
Bags of objects hashed by location.
objectsHitBy(Rectangle2D.Double) - Method in class sim.display.Display2D
Returns LocationWrappers for all the objects which fall within the coordinate rectangle specified by rect.
objectsHitBy(Point2D) - Method in class sim.display.Display2D
Returns LocationWrappers for all the objects which overlap with the point specified by 'point'.
objectToDraw(Bag, Bag) - Method in interface sim.portrayal.grid.DrawPolicy
Specifies objects which should be drawn at a given location, and which objects should not.
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.portrayal.simple.OrientedPortrayal2D
The post-scaling length offset
offset - Variable in class sim.portrayal.simple.OvalPortrayal2D
 
offsetx - Variable in class sim.portrayal.simple.LabelledPortrayal2D
The post-scaling offset from the object's origin.
offsety - Variable in class sim.portrayal.simple.LabelledPortrayal2D
The post-scaling offset from the object's origin.
ONLY_INDICATOR - Static variable in class sim.display.Console
Used in the 'simulation.classes' file to indicate that nonstandard classes may not be accessed.
onlyLabelWhenSelected - Variable in class sim.portrayal.simple.LabelledPortrayal2D
 
OPEN_HAND_CURSOR_P - Static variable in class sim.display.Display2D
 
optionButton - Variable in class sim.display.Display2D
The button which pops up the option pane
optionButton - Variable in class sim.display3d.Display3D
The button which pops up the option pane
optionPane - Variable in class sim.display.Display2D
Our option pane
optionPane - Variable in class sim.display3d.Display3D
 
OPTIONS_ICON - Static variable in class sim.display.Display2D
 
OPTIONS_ICON_P - Static variable in class sim.display.Display2D
 
Orientable2D - Interface in sim.portrayal
An Orientable2D object can have its orientation changed in radians.
orientation2D() - Method in interface sim.portrayal.Oriented2D
 
Oriented2D - Interface in sim.portrayal
An Oriented2D object provides an orientation in radians.
OrientedPortrayal2D - Class in sim.portrayal.simple
A wrapper for other Portrayal2Ds which provides some kind of pointing object (typically a line) along the object's specified orientation angle.
OrientedPortrayal2D(SimplePortrayal2D, int, double, Paint, int) - Constructor for class sim.portrayal.simple.OrientedPortrayal2D
 
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 scale = 0.5, offset = 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 scale = 0.5, offset = 0.
out - Variable in class sim.field.network.Network.IndexOutIn
Bag containing outgoing edges of (leaving) the node
OvalPortrayal2D - Class in sim.portrayal.simple
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
 
OvalPortrayal2D(Paint, boolean) - Constructor for class sim.portrayal.simple.OvalPortrayal2D
 
OvalPortrayal2D(double, boolean) - Constructor for class sim.portrayal.simple.OvalPortrayal2D
 
OvalPortrayal2D(Paint, double, boolean) - Constructor for class sim.portrayal.simple.OvalPortrayal2D
 
owner() - Method in class sim.field.network.Edge
Returns the "owner" field.

P

p - Variable in class sim.util.distribution.Binomial
 
p - Variable in class sim.util.distribution.NegativeBinomial
 
p - Variable in class sim.util.distribution.Poisson
 
p0 - Variable in class sim.util.distribution.Poisson
 
P0 - Static variable in class sim.util.distribution.Probability
COEFFICIENTS FOR METHOD normalInverse() *
p1 - Variable in class sim.util.distribution.Poisson
 
P1 - Static variable in class sim.util.distribution.Probability
 
p1evl(double, double[], int) - Static method in class sim.util.distribution.Polynomial
Evaluates the given polynomial of degree N at x, assuming coefficient of N is 1.0.
p2 - Variable in class sim.util.distribution.Poisson
 
P2 - Static variable in class sim.util.distribution.Probability
 
p3 - Variable in class sim.util.distribution.Poisson
 
p4 - Variable in class sim.util.distribution.Poisson
 
p5 - Variable in class sim.util.distribution.Poisson
 
p6 - Variable in class sim.util.distribution.Poisson
 
paint(Graphics, boolean, 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.AbstractShapePortrayal2D
 
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
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
Deprecated.
use paintComponent() or paint(...)
paintComponent(Graphics) - Method in class sim.display3d.Display3D
Updates the scene graph
paintComponent(Graphics) - Method in class sim.util.gui.ColorWell
 
paintComponent(Graphics) - Method in class sim.util.gui.MiniHistogram
 
paintToMovie(Graphics) - Method in class sim.display.Display2D.InnerDisplay2D
Paints a movie, by drawing to a buffer, then encoding the buffer to disk, then optionally writing the buffer to the provided Graphics2D.
ParallelSequence - Class in sim.engine
Spawns all the sequence elements in parallel on separate threads.
ParallelSequence(Steppable[], int) - Constructor for class sim.engine.ParallelSequence
Creates an immutable ParallelSequence with the specified number of threads, or if threads==ParallelSequence.CPUS, then the number of threads is determined at runtime based on the number of CPUs or cores on the system, or if threads == ParallelSequence.STEPPABLES, then the number of threads is the size of the steps array passed in.
ParallelSequence(Steppable[]) - Constructor for class sim.engine.ParallelSequence
Creates an immutable ParallelSequence with one thread per steppable.
ParallelSequence(Collection, int) - Constructor for class sim.engine.ParallelSequence
Creates an immutable ParallelSequence with the specified number of threads, or if threads==ParallelSequence.CPUS, then the number of threads is determined at runtime based on the number of CPUs or cores on the system, or if threads == ParallelSequence.STEPPABLES, then the number of threads is the size of the collection passed in (and may change as the collection grows or shrinks).
ParallelSequence(Collection) - Constructor for class sim.engine.ParallelSequence
Creates an immutable ParallelSequence with one thread per steppable in the collection.
PATTERN_DASH - Static variable in class sim.util.media.chart.TimeSeriesAttributes
 
PATTERN_DASH_DASH_DOT - Static variable in class sim.util.media.chart.TimeSeriesAttributes
 
PATTERN_DASH_DOT - Static variable in class sim.util.media.chart.TimeSeriesAttributes
 
PATTERN_DASH_DOT_DOT - Static variable in class sim.util.media.chart.TimeSeriesAttributes
 
PATTERN_DOT - Static variable in class sim.util.media.chart.TimeSeriesAttributes
 
PATTERN_LONG_DASH - Static variable in class sim.util.media.chart.TimeSeriesAttributes
 
PATTERN_SOLID - Static variable in class sim.util.media.chart.TimeSeriesAttributes
 
PATTERN_STRETCH_DASH - Static variable in class sim.util.media.chart.TimeSeriesAttributes
 
PATTERN_STRETCH_DOT - Static variable in class sim.util.media.chart.TimeSeriesAttributes
 
pause() - Method in class sim.engine.AsynchronousSteppable
Requests that the AsynchronousSteppable shut down its thread (temporarily) and blocks until this occurs.
pdf(double) - Method in class sim.util.distribution.Beta
Returns the cumulative distribution function.
pdf(int) - Method in class sim.util.distribution.Binomial
Returns the probability distribution function.
pdf(double) - Method in class sim.util.distribution.ChiSquare
Returns the probability distribution function.
pdf(double) - Method in class sim.util.distribution.Empirical
Returns the probability distribution function.
pdf(int) - Method in class sim.util.distribution.Empirical
Returns the probability distribution function.
pdf(int) - Method in class sim.util.distribution.EmpiricalWalker
Returns the probability distribution function.
pdf(double) - Method in class sim.util.distribution.Exponential
Returns the probability distribution function.
pdf(double) - Method in class sim.util.distribution.Gamma
Returns the probability distribution function.
pdf(int) - Method in class sim.util.distribution.HyperGeometric
Returns the probability distribution function.
pdf(int) - Method in class sim.util.distribution.NegativeBinomial
Returns the probability distribution function.
pdf(double) - Method in class sim.util.distribution.Normal
Returns the probability distribution function.
pdf(int) - Method in class sim.util.distribution.Poisson
Returns the probability distribution function.
pdf(double) - Method in class sim.util.distribution.StudentT
Returns the probability distribution function.
pdf(double) - Method in class sim.util.distribution.Uniform
Returns the probability distribution function (assuming a continous uniform distribution).
PDFEncoder - Class in sim.util.media
 
PDFEncoder() - Constructor for class sim.util.media.PDFEncoder
 
performSelection(LocationWrapper) - Method in class sim.display.Display2D
Selects the following object, deselecting other objects if so asked.
performSelection(Point2D) - Method in class sim.display.Display2D
 
performSelection(Rectangle2D.Double) - Method in class sim.display.Display2D
 
performSelection(Bag) - Method in class sim.display.Display2D
 
performSelection(LocationWrapper) - Method in interface sim.display.Manipulating2D
Selects the following object, deselecting other selected objects.
performSelection(LocationWrapper) - Method in class sim.display3d.Display3D
 
performSelection(Bag) - Method in class sim.display3d.Display3D
 
perpDot(Double2D) - Method in class sim.util.Double2D
2D version of the cross product.
perpDot(MutableDouble2D) - Method in class sim.util.MutableDouble2D
2D version of the cross product: returns the dot product of me rotated 90 degrees dotted against the other vector.
PieChartGenerator - Class in sim.util.media.chart
A ChartGenerator for Pie Charts.
PieChartGenerator() - Constructor for class sim.util.media.chart.PieChartGenerator
 
PieChartSeriesAttributes - Class in sim.util.media.chart
A SeriesAttributes used for user control of pie chart series created with PieChartGenerator.
PieChartSeriesAttributes(ChartGenerator, String, int, SeriesChangeListener) - Constructor for class sim.util.media.chart.PieChartSeriesAttributes
 
pk - Variable in class sim.util.distribution.Zeta
 
pk_prev - Variable in class sim.util.distribution.Zeta
 
pm - Variable in class sim.util.distribution.Hyperbolic
 
pmr - Variable in class sim.util.distribution.Hyperbolic
 
pngEncode() - 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.
PNGEncoder - Class in sim.util.media
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.
poisson - Variable in class sim.util.distribution.NegativeBinomial
 
Poisson - Class in sim.util.distribution
Poisson distribution (quick); See the math definition and animated definition.
Poisson(double, MersenneTwisterFast) - Constructor for class sim.util.distribution.Poisson
Constructs a poisson distribution.
poisson(int, double) - Static method in class sim.util.distribution.Probability
Returns the sum of the first k terms of the Poisson distribution.
poissonComplemented(int, double) - Static method in class sim.util.distribution.Probability
Returns the sum of the terms k+1 to Infinity of the Poisson distribution.
PoissonSlow - Class in sim.util.distribution
Poisson distribution; See the math definition and animated definition.
PoissonSlow(double, MersenneTwisterFast) - Constructor for class sim.util.distribution.PoissonSlow
Constructs a poisson distribution.
polevl(double, double[], int) - Static method in class sim.util.distribution.Polynomial
Evaluates the given polynomial of degree N at x.
policy - Variable in class sim.portrayal.grid.DenseGridPortrayal2D
 
policy - Variable in class sim.portrayal.grid.SparseGridPortrayal2D
 
polygonAttributes() - Method in class sim.portrayal3d.FieldPortrayal3D
 
polygonAttributes() - Method in class sim.portrayal3d.grid.ValueGrid2DPortrayal3D
 
polygonAttributes() - Method in class sim.portrayal3d.grid.ValueGridPortrayal3D
 
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.simple.CircledPortrayal3D
 
polygonAttributes() - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
polygonAttributes() - Method in class sim.portrayal3d.simple.SharedPortrayal3D
 
polygonAttributes() - Method in class sim.portrayal3d.simple.SwitchedPortrayal3D
 
polygonAttributes() - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
 
polygonAttributes() - Method in class sim.portrayal3d.simple.ValuePortrayal3D
 
polygonAttributes() - Method in class sim.portrayal3d.SimplePortrayal3D
 
Polynomial - Class in sim.util.distribution
Polynomial functions.
Polynomial() - Constructor for class sim.util.distribution.Polynomial
Makes this class non instantiable, but still let's others inherit from it.
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.
popup - Variable in class sim.display.Display2D
The popup layers menu
popup - Variable in class sim.display3d.Display3D
The popup layers menu
Portrayal - Interface in sim.portrayal
A common interface for portrayal classes.
Portrayal2D - Interface in sim.portrayal
The basic 2D portrayal interface.
Portrayal3D - Interface in sim.portrayal3d
The top-level definition of Portrayals which portray underlying models using, er, Java3D models.
portrayalForAll - Variable in class sim.portrayal.FieldPortrayal
 
portrayalForNonNull - 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
 
possiblyCull() - Method in class sim.util.media.chart.TimeSeriesAttributes
 
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
 
pp - Variable in class sim.util.distribution.Poisson
 
pr - Variable in class sim.util.distribution.Hyperbolic
 
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).
precise - Variable in class sim.portrayal.DrawInfo2D
 
Prefs - Class in sim.display
A simple cover class for Java's preferences system.
Prefs() - Constructor for class sim.display.Prefs
 
pressPause() - Method in class sim.display.Console
Called when the user presses the pause button.
pressPause() - Method in class sim.display.SimpleController
Called when the user presses the pause button.
pressPlay() - Method in class sim.display.Console
Called when the user presses the play button.
pressPlay() - Method in class sim.display.SimpleController
Called when the user presses the play button.
pressStop() - Method in class sim.display.Console
Called when the user presses the stop button.
pressStop() - Method in class sim.display.SimpleController
Called when the user presses the stop button.
primeGenerator(MersenneTwisterFast) - Static method in class sim.engine.SimState
Primes the generator.
PrimitivePortrayal3D - Class in sim.portrayal3d.simple
An abstract superclass for portrayals involving Shape3D or various Primitive (sphere, cone, etc.) objects.
PrimitivePortrayal3D() - Constructor for class sim.portrayal3d.simple.PrimitivePortrayal3D
 
printlnSynchronized(String) - Static method in class sim.engine.SimState
 
printStackTrace(PrintStream) - Method in exception sim.util.CausedRuntimeException
Deprecated.
 
printStackTrace(PrintWriter) - Method in exception sim.util.CausedRuntimeException
Deprecated.
 
printStackTrace() - Method in exception sim.util.CausedRuntimeException
Deprecated.
 
Probability - Class in sim.util.distribution
Custom tailored numerical integration of certain probability distributions.
Probability() - Constructor for class sim.util.distribution.Probability
Makes this class non instantiable, but still let's others inherit from it.
processStimulus(Enumeration) - Method in class sim.display3d.SelectionBehavior
 
processStimulus(Enumeration) - Method in class sim.display3d.ToolTipBehavior
Disregard all stimuli other than ...
Propertied - Interface in sim.util
A Propertied object is one which provides its own Properties rather than letting SimpleProperties scan the object statically.
properties() - Method in interface sim.util.Propertied
Returns my own Properties.
Properties - Class in sim.util
The abstract superclass of Property inspectors.
Properties() - Constructor for class sim.util.Properties
 
propertiesProxy() - Method in interface sim.util.Proxiable
Returns the proxy object to query for Properties instead of me.
propertyEnabled - Static variable in class sim.util.LocationLog
 
PropertyField - Class in sim.util.gui
A simple class designed to allow the user to modify a property in the form of a string, number, boolean value, or option.
PropertyField() - Constructor for class sim.util.gui.PropertyField
Constructs a PropertyField as just a writeable, empty text field.
PropertyField(String) - Constructor for class sim.util.gui.PropertyField
Constructs a PropertyField as a writeable text field with the provided initial value.
PropertyField(String, boolean) - Constructor for class sim.util.gui.PropertyField
Constructs a PropertyField as a text field with the provided initial value, either writeable or not.
PropertyField(String, String) - Constructor for class sim.util.gui.PropertyField
Constructs a labelled PropertyField as a writeable text field with the provided initial value.
PropertyField(String, String, boolean) - Constructor for class sim.util.gui.PropertyField
Constructs a labelled PropertyField as a text field with the provided initial value, either writeable or not.
PropertyField(String, String, boolean, Object, int) - Constructor for class sim.util.gui.PropertyField
Constructs a PropertyField with an optional label, an initial value, a "writeable" flag, an optional domain (for the slider and list options), and a display form (checkboxes, view buttons, text fields, sliders, or lists).
provide() - Method in interface sim.display.ChartUtilities.ProvidesCollection
 
provide() - Method in interface sim.display.ChartUtilities.ProvidesDoubleDoubles
 
provide() - Method in interface sim.display.ChartUtilities.ProvidesDoubles
 
provide() - Method in interface sim.display.ChartUtilities.ProvidesObjects
 
provide() - Method in interface sim.display.ChartUtilities.ProvidesTripleDoubles
 
provideLabels() - Method in interface sim.display.ChartUtilities.ProvidesDoubleDoublesAndLabels
 
provideLabels() - Method in interface sim.display.ChartUtilities.ProvidesDoublesAndLabels
 
Proxiable - Interface in sim.util
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.
PS_PAUSED - Static variable in class sim.display.Console
The play thread is presently paused.
PS_PAUSED - Static variable in class sim.display.SimpleController
The play thread is presently paused.
PS_PLAYING - Static variable in class sim.display.Console
The play thread is presently playing.
PS_PLAYING - Static variable in class sim.display.SimpleController
The play thread is presently playing.
PS_STOPPED - Static variable in class sim.display.Console
The play thread is presently stopped.
PS_STOPPED - Static variable in class sim.display.SimpleController
The play thread is presently stopped.
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

q - Variable in class sim.util.distribution.Poisson
 
Q0 - Static variable in class sim.util.distribution.Probability
 
Q1 - Static variable in class sim.util.distribution.Probability
 
Q2 - Static variable in class sim.util.distribution.Probability
 
QuadPortrayal - Class in sim.portrayal3d.grid.quad
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, double) - Constructor for class sim.portrayal3d.grid.quad.QuadPortrayal
 
QuadPortrayal.DoubleFilter - Class in sim.portrayal3d.grid.quad
 
QuadPortrayal.DoubleFilter(LocationWrapper) - Constructor for class sim.portrayal3d.grid.quad.QuadPortrayal.DoubleFilter
 
QuadPortrayal.Filter - Class in sim.portrayal3d.grid.quad
 
QuadPortrayal.Filter(LocationWrapper) - Constructor for class sim.portrayal3d.grid.quad.QuadPortrayal.Filter
 
QuadPortrayal.IntFilter - Class in sim.portrayal3d.grid.quad
 
QuadPortrayal.IntFilter(LocationWrapper) - Constructor for class sim.portrayal3d.grid.quad.QuadPortrayal.IntFilter
 
QuadPortrayal.ObjectFilter - Class in sim.portrayal3d.grid.quad
 
QuadPortrayal.ObjectFilter(LocationWrapper) - Constructor for class sim.portrayal3d.grid.quad.QuadPortrayal.ObjectFilter
 
queue - Variable in class sim.engine.Schedule
The Schedule's queue.
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.
quit() - Method in class sim.util.media.chart.ChartGenerator
Prepares the chart to be garbage collected.

R

r1 - Variable in class sim.util.distribution.Poisson
 
r2 - Variable in class sim.util.distribution.Poisson
 
r4 - Variable in class sim.util.distribution.Poisson
 
r5 - Variable in class sim.util.distribution.Poisson
 
random - Variable in class sim.engine.SimState
The SimState's random number generator
randomGenerator - Variable in class sim.util.distribution.AbstractDistribution
 
RandomSequence - Class in sim.engine
RandomSequence is a Sequence which executes its Steppable objects in random order each time.
RandomSequence(Steppable[]) - Constructor for class sim.engine.RandomSequence
Creates an immutable RandomSequence.
RandomSequence(Steppable[], boolean) - Constructor for class sim.engine.RandomSequence
Creates an immutable RandomSequence.
RandomSequence(Collection) - Constructor for class sim.engine.RandomSequence
Creates an immutable RandomSequence.
RandomSequence(Collection, boolean) - Constructor for class sim.engine.RandomSequence
Creates an immutable RandomSequence.
RateAdjuster - Class in sim.display
A simple class which maintains a frame rate fixed to no more than a given number of ticks per second.
RateAdjuster(double) - Constructor for class sim.display.RateAdjuster
 
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.
readState(DataInputStream) - Method in class ec.util.MersenneTwisterFast
Reads the entire state of the MersenneTwister RNG from the stream
rebuildGraphicsDefinitions() - Method in class sim.util.media.chart.BoxPlotSeriesAttributes
 
rebuildGraphicsDefinitions() - Method in class sim.util.media.chart.BubbleChartSeriesAttributes
 
rebuildGraphicsDefinitions() - Method in class sim.util.media.chart.HistogramSeriesAttributes
 
rebuildGraphicsDefinitions() - Method in class sim.util.media.chart.PieChartSeriesAttributes
 
rebuildGraphicsDefinitions() - Method in class sim.util.media.chart.ScatterPlotSeriesAttributes
 
rebuildGraphicsDefinitions() - Method in class sim.util.media.chart.SeriesAttributes
Updates features of the series to reflect the current widget settings as specified by the user.
rebuildGraphicsDefinitions() - Method in class sim.util.media.chart.TimeSeriesAttributes
 
rebuildRefreshPopup() - Method in class sim.display.Display2D
 
rebuildRefreshPopup() - Method in class sim.display3d.Display3D
 
rebuildSkipFrame() - Method in class sim.display.Display2D
 
rebuildSkipFrame() - Method in class sim.display3d.Display3D
 
RectanglePortrayal2D - Class in sim.portrayal.simple
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
 
RectanglePortrayal2D(Paint, boolean) - Constructor for class sim.portrayal.simple.RectanglePortrayal2D
 
RectanglePortrayal2D(double, boolean) - Constructor for class sim.portrayal.simple.RectanglePortrayal2D
 
RectanglePortrayal2D(Paint, double, boolean) - Constructor for class sim.portrayal.simple.RectanglePortrayal2D
 
REDRAW_OPTIONS - Static variable in class sim.display.Display2D
 
refresh() - Method in class sim.display.Console
 
refresh() - Method in interface sim.display.Controller
Lazily updates and redraws all the displays and inspectors.
refresh() - Method in class sim.display.SimpleController
 
REFRESH_ICON - Static variable in class sim.display.Display2D
 
REFRESH_ICON_P - Static variable in class sim.display.Display2D
 
refreshbutton - Variable in class sim.display.Display2D
The button which pops up the refresh menu
refreshbutton - Variable in class sim.display3d.Display3D
The button which pops up the refresh menu
refreshPopup - Variable in class sim.display.Display2D
The refresh menu
refreshPopup - Variable in class sim.display3d.Display3D
The field for scaling values
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.
registerFrame(JFrame) - Method in class sim.display.SimpleController
Simulations can call this to add a frame to be listed in the "Display list" of the console
registerInspector(Inspector, Stoppable) - Method in class sim.display.Console
Registers an inspector to be Stopped if necessary in the future.
registerInspector(Inspector, Stoppable) - Method in interface sim.display.Controller
Registers an inspector to be refreshed as appropriate and stopped when the model is restarted.
registerInspector(Inspector, Stoppable) - Method in class sim.display.SimpleController
Registers an inspector to be Stopped if necessary in the future.
remove(Object) - Method in class sim.field.continuous.Continuous2D
 
remove(Object) - Method in class sim.field.continuous.Continuous3D
 
remove(Object) - Method in class sim.field.SparseField
Removes an object if it exists.
remove(Object) - Method in class sim.util.Bag
Removes the object, moving the topmost object into its position.
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(Object) - Method in class sim.field.grid.DenseGrid2D
Removes instances of the given value.
removeAll(Object, boolean) - Method in class sim.field.grid.DenseGrid2D
Removes instances of the given value.
removeAll(Object) - Method in class sim.field.grid.DenseGrid3D
Removes instances of the given value.
removeAll(Object, boolean) - Method in class sim.field.grid.DenseGrid3D
Removes instances of the given value.
removeAll(Collection) - Method in class sim.util.Bag
 
removeAllEdges() - Method in class sim.field.network.Network
Remove all the edges in the network.
removeAllInspectors(boolean) - Method in class sim.display.Console
Stops and removes all inspectors.
removeAllInspectors(boolean) - Method in class sim.display.SimpleController
Stops and removes all inspectors.
removeAllNodes() - Method in class sim.field.network.Network
Synonym for clear(), here only for backward-compatibility.
removeAllSeries() - Method in class sim.util.media.chart.ChartGenerator
Deletes all series from the chart.
removeAppPreferences(GUIState, String) - Static method in class sim.display.Prefs
Deletes certain app-specific preferences for MASON, with the given additional prefix as a namespace.
removeEdge(Edge) - Method in class sim.field.network.Network
Removes an edge and returns it.
removeEmptyBags - Variable in class sim.field.grid.DenseGrid2D
Should we remove bags in the field if they have been emptied, and let them GC, or should we keep them around?
removeEmptyBags - Variable in class sim.field.grid.DenseGrid3D
Should we remove bags in the field if they have been emptied, and let them GC, or should we keep them around?
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.
removeFromAsynchronousRegistry(AsynchronousSteppable) - Method in class sim.engine.SimState
Unregisters an AsynchronousSteppable from the asynchronous registry.
removeGlobalAttribute(int) - Method in class sim.util.media.chart.ChartGenerator
Remooves the global attribute at the given index and returns it.
removeGlobalPreferences(String) - Static method in class sim.display.Prefs
Deletes certain global preferences for MASON, with the given additional prefix as a namespace.
removeListeners() - Method in class sim.display.Display2D.InnerDisplay2D
Deprecated.
Use Display2D.removeListeners instead.
removeListeners() - Method in class sim.display.Display2D
Removes all mouse listeners, mouse motion listeners, and Key listeners from this component.
removeMultiply(Object) - Method in class sim.util.Bag
Removes multiple instantiations of an object
removeNode(Object) - Method in class sim.field.network.Network
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(Object) - Method in class sim.util.Bag
Removes the object, 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.
removeObjectAtLocation(Object, int, int) - Method in class sim.field.grid.DenseGrid2D
 
removeObjectAtLocation(Object, Int2D) - Method in class sim.field.grid.DenseGrid2D
 
removeObjectAtLocation(Object, int, int, int) - Method in class sim.field.grid.DenseGrid3D
 
removeObjectAtLocation(Object, Int3D) - Method in class sim.field.grid.DenseGrid3D
 
removeObjectMultiplyAtLocation(Object, int, int) - Method in class sim.field.grid.DenseGrid2D
 
removeObjectMultiplyAtLocation(Object, Int2D) - Method in class sim.field.grid.DenseGrid2D
 
removeObjectMultiplyAtLocation(Object, int, int, int) - Method in class sim.field.grid.DenseGrid3D
 
removeObjectMultiplyAtLocation(Object, Int3D) - Method in class sim.field.grid.DenseGrid3D
 
removeObjectsAtLocation(Double2D) - Method in class sim.field.continuous.Continuous2D
Removes objects at exactly the given location, and returns a bag of them, or null of no objects are at that location.
removeObjectsAtLocation(Double3D) - Method in class sim.field.continuous.Continuous3D
Removes objects at exactly the given location, and returns a bag of them, or null of no objects are at that location.
removeObjectsAtLocation(int, int) - Method in class sim.field.grid.DenseGrid2D
Removes all the objects stored at the given location and returns them as a Bag (which you are free to modify).
removeObjectsAtLocation(Int2D) - Method in class sim.field.grid.DenseGrid2D
Removes all the objects stored at the given location and returns them as a Bag (which you are free to modify).
removeObjectsAtLocation(int, int, int) - Method in class sim.field.grid.DenseGrid3D
Removes all the objects stored at the given location and returns them as a Bag (which you are free to modify).
removeObjectsAtLocation(Int3D) - Method in class sim.field.grid.DenseGrid3D
Removes all the objects stored at the given location and returns them as a Bag (which you are free to modify).
removeObjectsAtLocation(int, int) - Method in class sim.field.grid.SparseGrid2D
Removes all the objects stored at the given location and returns them as a Bag (which you are free to modify).
removeObjectsAtLocation(int, int, int) - Method in class sim.field.grid.SparseGrid3D
Removes all the objects stored at the given location and returns them as a Bag (which you are free to modify).
removeObjectsAtLocation(Object) - Method in class sim.field.SparseField
Removes objects at the given location, and returns a bag of them, or null of no objects are at that location.
removeOrigin(int, int, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid2D
 
removeOrigin(int, int, int, IntBag, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid3D
 
removeOrigin(int, int, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
removeOrigin(int, int, int, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
removeOriginToroidal(int, int, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid2D
 
removeOriginToroidal(int, int, int, IntBag, IntBag, IntBag) - Method in class sim.field.grid.AbstractGrid3D
 
removeOriginToroidal(int, int, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid2D
 
removeOriginToroidal(int, int, int, IntBag, IntBag, IntBag) - Method in class sim.field.grid.SparseGrid3D
 
removeSeries(int) - Method in class sim.util.media.chart.BoxPlotGenerator
 
removeSeries(int) - Method in class sim.util.media.chart.BubbleChartGenerator
 
removeSeries(int) - Method in class sim.util.media.chart.ChartGenerator
Override this to remove a series from the chart.
removeSeries(int) - Method in class sim.util.media.chart.HistogramGenerator
 
removeSeries(int) - Method in class sim.util.media.chart.PieChartGenerator
 
removeSeries(int) - Method in class sim.util.media.chart.ScatterPlotGenerator
 
removeSeries(int) - Method in class sim.util.media.chart.TimeSeriesChartGenerator
 
removeSteppable(Steppable) - Method in class sim.engine.Sequence
Requests that the provided Steppable be removed from the Sequence prior to the next step() call.
removeSteppables(Steppable[]) - Method in class sim.engine.Sequence
Requests that the provided Steppables be removed from the Sequence prior to the next step() call.
removeSteppables(Collection) - Method in class sim.engine.Sequence
Requests that the provided Steppables be removed from the Sequence prior to the next step() call.
Repeat - Class in sim.engine
Repeat is an abstract Steppable and Stoppable which generalizes the notion of repeated Steppables.
Repeat(Steppable, int) - Constructor for class sim.engine.Repeat
 
REPEAT_KEY - Static variable in class sim.display.Console
 
replaceAll(Object, Object) - Method in class sim.field.grid.DenseGrid2D
Replace instances of one value to another.
replaceAll(Object, Object, boolean) - Method in class sim.field.grid.DenseGrid2D
Replace instances of one value to another.
replaceAll(Object, Object) - Method in class sim.field.grid.DenseGrid3D
Replace instances of one value to another.
replaceAll(Object, Object, boolean) - Method in class sim.field.grid.DenseGrid3D
Replace instances of one value to another.
replaceAll(double, double) - Method in class sim.field.grid.DoubleGrid2D
Replace instances of one value to another.
replaceAll(double, double) - Method in class sim.field.grid.DoubleGrid3D
Replace instances of one value to another.
replaceAll(int, int) - Method in class sim.field.grid.IntGrid2D
Replace instances of one value to another.
replaceAll(int, int) - Method in class sim.field.grid.IntGrid3D
Replace instances of one value to another.
replaceAll(Object, Object) - Method in class sim.field.grid.ObjectGrid2D
Replace instances of one value to another.
replaceAll(Object, Object, boolean) - Method in class sim.field.grid.ObjectGrid2D
Replace instances of one value to another.
replaceAll(Object, Object) - Method in class sim.field.grid.ObjectGrid3D
Replace instances of one value to another.
replaceAll(Object, Object, boolean) - Method in class sim.field.grid.ObjectGrid3D
Replace instances of one value to another.
replaceLargeBags - Variable in class sim.field.grid.DenseGrid2D
When a bag drops to one quarter capacity, should we replace it with a new bag?
replaceLargeBags - Variable in class sim.field.grid.DenseGrid3D
When a bag drops to one quarter capacity, should we replace it with a new bag?
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.
REPLACEMENT_BAG_RATIO - Static variable in class sim.field.grid.DenseGrid2D
A bag to be replaced will be shrunk to this ratio if replaceLargeBags is true
REPLACEMENT_BAG_RATIO - Static variable in class sim.field.grid.DenseGrid3D
A bag to be replaced will be shrunk to this ratio if replaceLargeBags is true
REPLACEMENT_BAG_RATIO - Static variable in class sim.field.SparseField
A bag to be replaced will be shrunk to this ratio if replaceLargeBags is true
replaceSteppables(Collection) - Method in class sim.engine.Sequence
Requests that the provided Steppables replace the existing Steppables in the internal array prior to the next step() call.
replaceSteppables(Steppable[]) - Method in class sim.engine.Sequence
Requests that the provided Steppables replace the existing Steppables in the internal array prior to the next step() call.
requestUpdate() - Method in class sim.display.Display2D
Asks Display2D to update itself next iteration regardless of the current redrawing/updating rule.
requestUpdate() - Method in class sim.display3d.Display3D
Asks Display3D to update itself next iteration regardless of the current redrawing/updating rule.
reset() - Method in class sim.display.Display2D
Resets the Display2D so it reschedules itself and clears out all selections.
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(boolean) - Method in class sim.field.network.Network
Resets the network, clearing it of nodes and edges.
reset() - Method in class sim.portrayal.FieldPortrayal
Deprecated.
Use setDirtyField(false);
reset() - Method in class sim.portrayal.grid.FastHexaObjectGridPortrayal2D
Deprecated.
Resets the underlying FastHexaValueGridPortrayal2D.
reset() - Method in class sim.portrayal.grid.FastObjectGridPortrayal2D
Deprecated.
Use setDirtyField(false); Resets the underlying FastValueGridPortrayal2D.
resetCountdown() - Method in class sim.engine.MultiStep
If we're counting down, then this resets the countdown.
resetCountdown(int) - Method in class sim.engine.MultiStep
If we're counting down, then this resets the countdown to the given value, which should be > 0 and <= n.
resetQueues() - Method in class sim.display.GUIState
Don't call this unless you know what you're doing.
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(double) - Method in class sim.util.Double2D
Scales the vector to length "dist".
resize(double) - Method in class sim.util.Double3D
Scales the vector to length "dist".
resize(int) - Method in class sim.util.DoubleBag
 
resize(int) - Method in class sim.util.IntBag
 
resize(double) - Method in class sim.util.MutableDouble2D
Sets my length, which should be >= 0.
resize(double) - Method in class sim.util.MutableDouble3D
Sets my length, which should be >= 0.
resume() - Method in class sim.engine.AsynchronousSteppable
Deprecated.
use resume(boolean)
resume(boolean) - Method in class sim.engine.AsynchronousSteppable
Fires up the AsynchronousSteppable after a pause().
retainAll(Collection) - Method in class sim.util.Bag
 
reverse() - Method in class sim.util.Bag
Reverses order of the elements in the Bag
reverse() - Method in class sim.util.DoubleBag
Reverses order of the elements in the DoubleBag
reverse() - Method in class sim.util.IntBag
Reverses order of the elements in the IntBag
reverseAllEdges() - Method in class sim.field.network.Network
This reverse the direction of all edges in the graph.
reviseColor(Color, double) - Method in class sim.util.media.chart.SeriesAttributes
Given an opaque color and a desired opacity (from 0.0 to 1.0), returns a new color of the same tint but with the given opacity.
reviseStopper(Stoppable) - Method in class sim.portrayal.Inspector
Gives the user a chance to wrap the Inspector's stopper in a larger stopper, which will then get registered with the Inspector; this larger stopper is also what is passed into Inspector.createFrame(...).
rint() - Method in class sim.field.grid.DoubleGrid2D
Sets each value in the grid to rint(value).
rint() - Method in class sim.field.grid.DoubleGrid3D
Sets each value in the grid to rint(value).
ro - Variable in class sim.util.distribution.Zeta
 
ro_prev - Variable in class sim.util.distribution.Zeta
 
root - Variable in class sim.display3d.Display3D
The root scene graph node in the Java3D universe.
rotate(double) - Method in class sim.util.Double2D
Rotates the Double2D by theta radians
rotate(double) - Method in class sim.util.MutableDouble2D
Rotates me by theta radians, returning me.
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(boolean, boolean) - Method in class sim.engine.AsynchronousSteppable
This method should enter the parallel thread's loop.
run(boolean) - Method in class sim.engine.AsynchronousSteppable
Deprecated.
override run(resuming, restoringFromCheckpoint) instead.

S

s - Variable in class sim.util.distribution.Hyperbolic
 
samb - Variable in class sim.util.distribution.Hyperbolic
 
save(Preferences) - Static method in class sim.display.Prefs
Saves a given Preferences.
savePreferences(Preferences) - Method in class sim.display3d.Display3D.OptionPane3D
Saves the Option Pane Preferences to a given Preferences Node
Scalable2D - Interface in sim.portrayal
A Scalable2D object provides a scale, and can have the same changed.
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.AbstractShapePortrayal2D
 
scale - Variable in class sim.portrayal.simple.OrientedPortrayal2D
The pre-scaling length
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(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.
SCALE_WHEN_SMALLER - Static variable in class sim.portrayal.network.SimpleEdgePortrayal2D
 
SCALE_WHEN_SMALLER - Static variable in class sim.portrayal.simple.LabelledPortrayal2D
 
scaleField - Variable in class sim.display.Display2D
The field for scaling values
scaleField - Variable in class sim.display3d.Display3D
The button which starts or stops a movie
scalex - Variable in class sim.portrayal.simple.LabelledPortrayal2D
The pre-scaling offset from the object's origin.
scaley - Variable in class sim.portrayal.simple.LabelledPortrayal2D
The pre-scaling offset from the object's origin.
ScatterPlotGenerator - Class in sim.util.media.chart
 
ScatterPlotGenerator() - Constructor for class sim.util.media.chart.ScatterPlotGenerator
 
ScatterPlotSeriesAttributes - Class in sim.util.media.chart
 
ScatterPlotSeriesAttributes(ChartGenerator, String, int, double[][], SeriesChangeListener) - Constructor for class sim.util.media.chart.ScatterPlotSeriesAttributes
Produces a ScatterPlotSeriesAttributes object with the given generator, series name, series index, and desire to display margin options.
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 root has been attached to the universe and before the canvas has started rendering.
Schedule - Class in sim.engine
Schedule defines a threadsafe scheduling queue in which events can be scheduled to occur at future time.
Schedule() - Constructor for class sim.engine.Schedule
Creates a Schedule.
schedule - Variable in class sim.engine.SimState
SimState's schedule
Schedule.Key - Class in sim.engine
Timestamps stored as keys in the heap.
Schedule.Key(double, int) - Constructor for class sim.engine.Schedule.Key
 
scheduleAtEnd(Steppable) - Method in class sim.display.GUIState
Schedules an item to occur when the user stops the simulator (when the stop() method is executed), when it stops on its own accord, or when the user has load()ed another simulation to replace it.
scheduleAtExtreme(Steppable, boolean) - Method in class sim.display.GUIState
Deprecated.
use scheduleAtStart and scheduleAtEnd instead
scheduleAtStart(Steppable) - Method in class sim.display.GUIState
Schedules an item to occur when the user starts the simulator (when the start() method is executed) or loads one (when load() is executed).
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
Deprecated.
use scheduleImmediatelyBefore and scheduleImmediatelyAfter instead
scheduleImmediatelyAfter(Steppable) - Method in class sim.display.GUIState
Schedules an item to occur (in no particular order) immediately after the schedule is stepped on the next time step (not including blank steps).
scheduleImmediatelyBefore(Steppable) - Method in class sim.display.GUIState
Schedules an item to occur (in no particular order) immediately before the schedule is stepped on the next time step (not including blank steps).
scheduleImmediateRepeat(boolean, Steppable) - Method in class sim.display.GUIState
Deprecated.
use scheduleRepeatingImmediatelyBefore and scheduleRepeatingImmediatelyAfter instead
scheduleOnce(Steppable) - Method in class sim.engine.Schedule
Schedules the event to occur at getTime() + 1.0, 0 ordering.
scheduleOnce(Steppable, int) - Method in class sim.engine.Schedule
Schedules the event to occur at getTime() + 1.0, and in the ordering provided.
scheduleOnce(double, Steppable) - Method in class sim.engine.Schedule
Schedules the event to occur at the provided time, 0 ordering.
scheduleOnce(double, int, Steppable) - Method in class sim.engine.Schedule
Schedules the event to occur at the provided time, and in the ordering provided.
scheduleOnce(Schedule.Key, Steppable) - Method in class sim.engine.Schedule
Schedules an item.
scheduleOnceIn(double, Steppable) - Method in class sim.engine.Schedule
Schedules the event to occur at getTime() + delta, 0 ordering.
scheduleOnceIn(double, Steppable, int) - Method in class sim.engine.Schedule
Schedules the event to occur at getTime() + delta, and in the ordering provided.
scheduleRepeating(Steppable) - Method in class sim.engine.Schedule
Schedules the event to recur at an interval of 1.0 starting at getTime() + 1.0, and at 0 ordering.
scheduleRepeating(Steppable, double) - Method in class sim.engine.Schedule
Schedules the event to recur at the specified interval starting at getTime() + interval, and at 0 ordering.
scheduleRepeating(Steppable, int, double) - Method in class sim.engine.Schedule
Schedules the event to recur at the specified interval starting at getTime() + interval, and at the provided ordering.
scheduleRepeating(double, Steppable) - Method in class sim.engine.Schedule
Schedules the event to recur at the specified interval starting at the provided time, and at 0 ordering.
scheduleRepeating(double, Steppable, double) - Method in class sim.engine.Schedule
Schedules the event to recur at the specified interval starting at the provided time, in ordering 0.
scheduleRepeating(double, int, Steppable) - Method in class sim.engine.Schedule
Schedules the event to recur at an interval of 1.0 starting at the provided time, and in the ordering provided.
scheduleRepeating(double, int, Steppable, double) - Method in class sim.engine.Schedule
Schedules the event to recur at the specified interval starting at the provided time, and in the ordering provided.
scheduleRepeatingImmediatelyAfter(Steppable) - Method in class sim.display.GUIState
Schedules an item to occur (in no particular order) immediately after all future steps the Schedule takes (not including blank steps).
scheduleRepeatingImmediatelyBefore(Steppable) - Method in class sim.display.GUIState
Schedules an item to occur (in no particular order) immediately before all future steps the Schedule takes (not including blank steps).
scheduleSeries(GUIState, TimeSeriesAttributes, Valuable) - Static method in class sim.display.ChartUtilities
Schedules a series with the MASON simulation.
scheduleSeries(GUIState, HistogramSeriesAttributes, ChartUtilities.ProvidesDoubles) - Static method in class sim.display.ChartUtilities
Schedules a series with the MASON simulation.
scheduleSeries(GUIState, BoxPlotSeriesAttributes, ChartUtilities.ProvidesDoubles) - Static method in class sim.display.ChartUtilities
Schedules a series with the MASON simulation.
scheduleSeries(GUIState, BoxPlotSeriesAttributes, ChartUtilities.ProvidesDoubleDoublesAndLabels) - Static method in class sim.display.ChartUtilities
Schedules a series with the MASON simulation.
scheduleSeries(GUIState, ScatterPlotSeriesAttributes, ChartUtilities.ProvidesDoubleDoubles) - Static method in class sim.display.ChartUtilities
Schedules a series with the MASON simulation.
scheduleSeries(GUIState, BubbleChartSeriesAttributes, ChartUtilities.ProvidesTripleDoubles) - Static method in class sim.display.ChartUtilities
Schedules a series with the MASON simulation.
scheduleSeries(GUIState, PieChartSeriesAttributes, ChartUtilities.ProvidesDoublesAndLabels) - Static method in class sim.display.ChartUtilities
Schedules a series with the MASON simulation.
scheduleSeries(GUIState, PieChartSeriesAttributes, ChartUtilities.ProvidesObjects) - Static method in class sim.display.ChartUtilities
Schedules a series with the MASON simulation.
scheduleSeries(GUIState, PieChartSeriesAttributes, ChartUtilities.ProvidesCollection) - Static method in class sim.display.ChartUtilities
Schedules a series with the MASON simulation.
scheduleSeries(GUIState, BarChartSeriesAttributes, ChartUtilities.ProvidesDoublesAndLabels) - Static method in class sim.display.ChartUtilities
Schedules a series with the MASON simulation.
scheduleSeries(GUIState, BarChartSeriesAttributes, ChartUtilities.ProvidesObjects) - Static method in class sim.display.ChartUtilities
Schedules a series with the MASON simulation.
scheduleSeries(GUIState, BarChartSeriesAttributes, ChartUtilities.ProvidesCollection) - Static method in class sim.display.ChartUtilities
Schedules a series with the MASON simulation.
seal() - Method in class sim.engine.Schedule
Seals the schedule: after a schedule is sealed, no further Steppables may be scheduled on it.
sealed - Variable in class sim.engine.Schedule
Whether the schedule is sealed, as returned by isSealed().
secondPoint - Variable in class sim.portrayal.network.EdgeDrawInfo2D
A pre-scaled point to draw to.
seed() - Method in class sim.engine.SimState
Returns the seed set by the doLoop(...) facility and by the constructor.
selected - Variable in class sim.portrayal.DrawInfo2D
 
SELECTION_MODE_MULTI - Static variable in class sim.display.Display2D
 
SELECTION_MODE_SINGLE - Static variable in class sim.display.Display2D
 
SelectionBehavior - Class in sim.display3d
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
 
Sequence - Class in sim.engine
Sequence is Steppable which holds an array of Steppables.
Sequence(Steppable[]) - Constructor for class sim.engine.Sequence
 
Sequence(Collection) - Constructor for class sim.engine.Sequence
 
seriesAttributes - Variable in class sim.util.media.chart.ChartGenerator
A holder for series attributes components
SeriesAttributes - Class in sim.util.media.chart
The superclass for the series-attributes widgets used by subclasses of ChartGenerator to let the user control individual series' features.
SeriesAttributes(ChartGenerator, String, int, SeriesChangeListener) - Constructor for class sim.util.media.chart.SeriesAttributes
Builds a SeriesAttributes with the provided generator, name for the series, and index for the series.
set(int, int, double) - Method in class sim.field.grid.DoubleGrid2D
Sets location (x,y) to val
set(int, int, int, double) - Method in class sim.field.grid.DoubleGrid3D
Sets location (x,y,z) to val
set(int, int, int) - Method in class sim.field.grid.IntGrid2D
Sets location (x,y) to val
set(int, int, int, int) - Method in class sim.field.grid.IntGrid3D
Sets location (x,y) to val
set(int, int, Object) - Method in class sim.field.grid.ObjectGrid2D
Sets location (x,y) to val
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
 
set(Steppable) - Static method in class sim.util.LocationLog
 
setAbridgedComponent(Component) - Method in class sim.util.gui.DisclosurePanel
 
setAdjustsThickness(boolean) - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
 
setAppearance(TransformGroup, Appearance) - Method in class sim.portrayal3d.simple.PrimitivePortrayal3D
Sets the Appearance of the portrayal.
setAppearanceFlags(Appearance) - Static method in class sim.portrayal3d.SimplePortrayal3D
Sets a variety of flags on an Appearance so that its features can be modified when the scene is live.
setAuxiliaryField(SparseField2D) - Method in class sim.portrayal.network.SpatialNetwork2D
 
setAuxillaryField(SparseField2D) - Method in class sim.portrayal.network.SpatialNetwork2D
 
setAxes(Paint) - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
If you provide a Paint, a thin frame of this paint will be drawn around the (0,0,width,height) space of the field.
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, turns on the backdrop checkbox, and enables the backdrop checkbox.
setBackdrop(Color) - Method in class sim.display3d.Display3D
Sets the color for a flat backdrop, turns on the backdrop checkbox, and enables the backdrop checkbox.
setBackdrop(Image, boolean) - Method in class sim.display3d.Display3D
Sets the image for a backdrop (spherical or flat), turns on the backdrop checkbox, and enables the backdrop checkbox
setBaseWidth(double) - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
Sets the width of the base of the triangle used in drawing the directed edge -- by default, this is 0 (a simple line is drawn).
setBucketLabels(String[]) - Method in class sim.util.gui.MiniHistogram
Sets labels for the buckets provided in setBuckets.
setBuckets(double[]) - Method in class sim.util.gui.MiniHistogram
Sets the displayed bucket array.
setBucketsAndLabels(double[], String[]) - Method in class sim.util.gui.MiniHistogram
 
setBuffering(int) - Method in class sim.portrayal.FieldPortrayal2D
Sets whether or not the FieldPortrayal2D will use a buffering "trick" to draw quickly.
setBuffering(int) - Method in class sim.portrayal.grid.FastHexaObjectGridPortrayal2D
 
setBuffering(int) - Method in class sim.portrayal.grid.FastObjectGridPortrayal2D
 
setCanShowToolTips(boolean) - Method in class sim.display3d.ToolTipBehavior
Sets whether or not the behavior may show tool tips.
setChartPanel(ChartGenerator.ScrollableChartPanel) - Method in class sim.util.media.chart.ChartGenerator
 
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
setColor(Color) - Method in class sim.util.gui.ColorWell
 
setColor(Color) - Method in class sim.util.media.chart.BubbleChartSeriesAttributes
 
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
setCullingMode(int) - Method in class sim.display3d.Display3D
 
setCurrentDisplay(Display3D) - Method in class sim.portrayal3d.FieldPortrayal3D
 
setCurrentDisplay(Display3D) - Method in interface sim.portrayal3d.Portrayal3D
Sets the current Display3D.
setCurrentDisplay(Display3D) - Method in class sim.portrayal3d.simple.CircledPortrayal3D
Sets the current display both here and in the child.
setCurrentDisplay(Display3D) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
Sets the current display both here and in the child.
setCurrentDisplay(Display3D) - Method in class sim.portrayal3d.simple.SharedPortrayal3D
Sets the current display both here and in the child.
setCurrentDisplay(Display3D) - Method in class sim.portrayal3d.simple.SwitchedPortrayal3D
Sets the current display both here and in the child.
setCurrentDisplay(Display3D) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
Sets the current display both here and in the child.
setCurrentDisplay(Display3D) - Method in class sim.portrayal3d.SimplePortrayal3D
 
setCurrentFieldPortrayal(FieldPortrayal3D) - Method in class sim.portrayal3d.simple.CircledPortrayal3D
Sets the current field portrayal both here and in the child.
setCurrentFieldPortrayal(FieldPortrayal3D) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
Sets the current field portrayal both here and in the child.
setCurrentFieldPortrayal(FieldPortrayal3D) - Method in class sim.portrayal3d.simple.SharedPortrayal3D
Sets the current field portrayal both here and in the child.
setCurrentFieldPortrayal(FieldPortrayal3D) - Method in class sim.portrayal3d.simple.SwitchedPortrayal3D
Sets the current field portrayal both here and in the child.
setCurrentFieldPortrayal(FieldPortrayal3D) - Method in class sim.portrayal3d.simple.TransformedPortrayal3D
Sets the current field portrayal both here and in the child.
setCurrentFieldPortrayal(FieldPortrayal3D) - Method in class sim.portrayal3d.SimplePortrayal3D
 
setDashPattern(int) - Method in class sim.util.media.chart.TimeSeriesAttributes
 
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
 
setDataCuller(DataCuller) - Method in class sim.util.media.chart.TimeSeriesChartGenerator
 
setDestroysThreads(boolean) - Method in class sim.engine.ParallelSequence
 
setDirtyField(boolean) - Method in class sim.portrayal.FieldPortrayal
 
setDirtyField(boolean) - Method in class sim.portrayal.grid.FastHexaObjectGridPortrayal2D
 
setDirtyField(boolean) - Method in class sim.portrayal.grid.FastObjectGridPortrayal2D
 
setDisclosed(boolean) - Method in class sim.util.gui.DisclosurePanel
 
setDisclosedComponent(Component) - Method in class sim.util.gui.DisclosurePanel
 
setDisplayingToroidally(boolean) - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
Set this to TRUE to cause the portrayal to display objects multiply (in a toroidal fashion) if they overlap on the edges of the field.
setDomainAxisLabel(String) - Method in class sim.util.media.chart.XYChartGenerator
Deprecated.
Sets the name of the Domain Axis label -- usually this is the X axis.
setDomainAxisRange(double, double) - Method in class sim.util.media.chart.XYChartGenerator
Deprecated. 
setDrawFilled(boolean) - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
setDrawPolicy(DrawPolicy) - Method in class sim.portrayal.grid.DenseGridPortrayal2D
 
setDrawPolicy(DrawPolicy) - Method in class sim.portrayal.grid.SparseGridPortrayal2D
 
setDrawsFrameAndAxesInFront(boolean) - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
 
setEditedColor(Color) - Method in class sim.util.gui.NumberTextField
 
setEditedColor(Color) - Method in class sim.util.gui.PropertyField
 
setElements(Object[]) - Method in class sim.util.media.chart.PieChartSeriesAttributes
 
setElements(Collection) - Method in class sim.util.media.chart.PieChartSeriesAttributes
 
setEnabled(boolean) - Method in class sim.util.gui.NumberTextField
 
setEnabled(boolean) - Method in class sim.util.gui.PropertyField
 
setEncodeAlpha(boolean) - Method in class sim.util.media.PNGEncoder
Set the alpha encoding on or off.
setEnsuresOrder(boolean) - Method in class sim.engine.Sequence
Sets whether the order among the remaining Steppables in the internal array is maintained after removing Steppables via removeSteppable() or removeSteppables().
setField(Object) - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
 
setField(Object) - Method in class sim.portrayal.FieldPortrayal
Sets the field, and sets the dirtyField flag to true.
setField(Object) - Method in class sim.portrayal.grid.DenseGridPortrayal2D
 
setField(Object) - Method in class sim.portrayal.grid.FastHexaObjectGridPortrayal2D
 
setField(Object) - Method in class sim.portrayal.grid.FastObjectGridPortrayal2D
 
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.continuous.ContinuousPortrayal3D
 
setField(Object) - Method in class sim.portrayal3d.grid.ObjectGridPortrayal3D
 
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
 
setField(Object) - Method in class sim.portrayal3d.grid.ValueGridPortrayal3D
 
setFillColor(Color) - Method in class sim.util.media.chart.BoxPlotSeriesAttributes
 
setFillColor(Color) - Method in class sim.util.media.chart.HistogramSeriesAttributes
 
setFillOpacity(double) - Method in class sim.util.media.chart.BoxPlotSeriesAttributes
 
setFillOpacity(double) - Method in class sim.util.media.chart.HistogramSeriesAttributes
 
setFilter(int) - Method in class sim.util.media.PNGEncoder
Set the filter to use
setFixed(boolean) - Method in class sim.util.media.chart.ChartGenerator
 
setFrame(Paint) - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
If you provide a Paint, a thin frame of this paint will be drawn around the (0,0,width,height) space of the field.
setGrowTrailOnlyWhenSelected(boolean) - Method in class sim.portrayal.simple.TrailedPortrayal2D
Deprecated.
use setOnlyGrowTrailWhenSelected
setHistogramType(HistogramType) - Method in class sim.util.media.chart.HistogramGenerator
 
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.portrayal.FieldPortrayal
Specifies that the underlying field is (or is not) to be assumed unchanging -- thus there's no reason to update once we're created.
setImmutableField(boolean) - Method in class sim.portrayal.grid.FastHexaObjectGridPortrayal2D
 
setImmutableField(boolean) - Method in class sim.portrayal.grid.FastObjectGridPortrayal2D
 
setIncrementSeedOnPlay(boolean) - Method in class sim.display.Console
Deprecated.
renamed to setIncrementSeedOnStop
setIncrementSeedOnPlay(boolean) - Method in class sim.display.SimpleController
Deprecated.
renamed to setIncrementSeedOnStop
setIncrementSeedOnStop(boolean) - Method in class sim.display.Console
 
setIncrementSeedOnStop(boolean) - Method in class sim.display.SimpleController
 
setInfo(Object) - Method in class sim.field.network.Edge
 
setInitialValue(double) - Method in class sim.util.gui.NumberTextField
 
setInspectors(Bag, Bag) - Method in class sim.display.Console
Adds new inspectors to the Console's list, 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.
setInspectors(Bag, Bag) - Method in class sim.display.SimpleController
Adds new inspectors to the Console's list, given the provided inspectors, their portrayals, and appropriate names for them.
setInvalidChartTitle(String) - Method in class sim.util.media.chart.ChartGenerator
Sets the invalid chart title if any.
setJob(long) - Method in class sim.engine.SimState
 
setLabels(String[]) - Method in class sim.util.media.chart.BoxPlotSeriesAttributes
 
setLabels(String[]) - Method in class sim.util.media.chart.PieChartSeriesAttributes
 
setLabelScale(double) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
setLabelScaling(int) - Method in class sim.portrayal.network.SimpleEdgePortrayal2D
 
setLabelScaling(int) - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
setLabelShowing(boolean) - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
setLabelShowing(boolean) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
setLength(double) - Method in class sim.portrayal.simple.TrailedPortrayal2D
Sets the length of the trail in TIME.
setLength(double) - Method in class sim.util.MutableDouble2D
Deprecated.
use resize instead [renaming]
setLength(double) - Method in class sim.util.MutableDouble3D
Deprecated.
use resize instead [renaming]
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
Deprecated.
use setOrientationShowing()
setLocation(int, int) - Method in class sim.util.MutableInt2D
Deprecated.
use setTo
setLocation(Point) - Method in class sim.util.MutableInt2D
Deprecated.
use setTo
setLocation(Int2D) - Method in class sim.util.MutableInt2D
Deprecated.
use setTo
setLocation(MutableInt2D) - Method in class sim.util.MutableInt2D
Deprecated.
use setTo
setLocation(int, int, int) - Method in class sim.util.MutableInt3D
Deprecated.
use setTo
setLocation(Int3D) - Method in class sim.util.MutableInt3D
Deprecated.
use setTo
setLocation(MutableInt3D) - Method in class sim.util.MutableInt3D
Deprecated.
use setTo
setMap(ColorMap) - Method in class sim.portrayal.grid.FastHexaObjectGridPortrayal2D
 
setMap(ColorMap) - Method in class sim.portrayal.grid.FastObjectGridPortrayal2D
 
setMap(ColorMap) - Method in class sim.portrayal.grid.ValueGridPortrayal2D
 
setMap(ColorMap) - Method in class sim.portrayal3d.grid.quad.QuadPortrayal
 
setMap(ColorMap) - Method in class sim.portrayal3d.grid.ValueGridPortrayal3D
 
setMaximumJump(double) - Method in class sim.portrayal.simple.TrailedPortrayal2D
Sets the maximum percentage of either the width or height of the field that can be jumped between two successive object locations before it's considered to be a huge leap and that segment won't be drawn.
setMaximumWidth(double) - Method in class sim.util.media.chart.BoxPlotGenerator
 
setMean(double) - Method in class sim.util.distribution.Poisson
Sets the mean.
setMean(double) - Method in class sim.util.distribution.PoissonSlow
Sets the mean.
setMeanShown(boolean) - Method in class sim.util.media.chart.BoxPlotGenerator
 
setMedianShown(boolean) - Method in class sim.util.media.chart.BoxPlotGenerator
 
setMouseChangesOffset(boolean) - Method in class sim.display.Display2D
Sets whether the user can change the offset by right-mouse-button-dragging, (or on OS X) Command-dragging or two-finger-click-dragging.
setName(String) - Method in class sim.util.media.chart.SeriesAttributes
Deprecated.
Sets the name of the series.
setNandP(int, double) - Method in class sim.util.distribution.Binomial
Sets the parameters number of trials and the probability of success.
setNandP(int, double) - Method in class sim.util.distribution.NegativeBinomial
Sets the parameters number of trials and the probability of success.
setNewMenuAllowed(boolean) - Method in class sim.display.Console
 
setNumBins(int) - Method in class sim.util.media.chart.HistogramSeriesAttributes
 
setNumStepsPerStepButtonPress(int) - Method in class sim.display.Console
Sets the number of steps per stepp button press.
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
Changes the location of an object, or adds if it doesn't exist yet.
setObjectLocation(Object, Int2D) - Method in class sim.field.grid.SparseGrid2D
Changes the location of an object, or adds if it doesn't exist yet.
setObjectLocation(Object, int, int, int) - Method in class sim.field.grid.SparseGrid3D
Changes the location of an object, or adds if it doesn't exist yet.
setObjectLocation(Object, Int3D) - Method in class sim.field.grid.SparseGrid3D
Changes the location of an object, or adds if it doesn't exist yet.
setObjectLocation(Object, Object) - Method in class sim.field.SparseField
Changes the location of an object, or adds if it doesn't exist yet.
setObjectPosition(Object, Point2D.Double, DrawInfo2D) - Method in class sim.portrayal.continuous.ContinuousPortrayal2D
 
setObjectPosition(Object, Point2D.Double, DrawInfo2D) - Method in class sim.portrayal.FieldPortrayal2D
Moves (or tries to move) the object to an internal location equivalent to the given position on-screen of the provided object, assuming that the object exists within the underlying field and that this location is acceptable.
setObjectPosition(Object, Point2D.Double, DrawInfo2D) - Method in class sim.portrayal.grid.HexaSparseGridPortrayal2D
 
setObjectPosition(Object, Point2D.Double, DrawInfo2D) - Method in class sim.portrayal.grid.SparseGridPortrayal2D
 
setOffset(double, double) - Method in class sim.display.Display2D
Sets the offset of the origin of the display.
setOffset(Point2D.Double) - Method in class sim.display.Display2D
Sets the offset of the origin of the display.
setOnlyCircleWhenSelected(boolean) - Method in class sim.portrayal.simple.CircledPortrayal2D
 
setOnlyCircleWhenSelected(boolean) - Method in class sim.portrayal3d.simple.CircledPortrayal3D
 
setOnlyDrawWhenSelected(boolean) - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
setOnlyGrowTrailWhenSelected(boolean) - Method in class sim.portrayal.simple.TrailedPortrayal2D
Set this to grow the trail only after the objet has been selected, and delete it when the object has been deselected.
setOnlyLabelWhenSelected(boolean) - Method in class sim.portrayal.simple.LabelledPortrayal2D
 
setOnlyLabelWhenSelected(boolean) - Method in class sim.portrayal3d.simple.LabelledPortrayal3D
 
setOnlyShowTrailWhenSelected(boolean) - Method in class sim.portrayal.simple.TrailedPortrayal2D
Set this to draw the trail only when the object has been selected (or not).
setOpacity(double) - Method in class sim.util.media.chart.BubbleChartSeriesAttributes
 
setOrdering(int) - Method in class sim.engine.Repeat
 
setOrientation2D(double) - Method in interface sim.portrayal.Orientable2D
 
setOrientationHittable(boolean) - Method in class sim.portrayal.simple.OrientedPortrayal2D
Sets whether or not the orientation marker can be hit as part of the object.
setOrientationShowing(boolean) - Method in class sim.portrayal.simple.OrientedPortrayal2D
 
setParent(ValueGridPortrayal2D) - Method in class sim.portrayal.simple.ValuePortrayal2D
Deprecated.
does nothing now
setPickable(boolean) - Method in class sim.portrayal3d.simple.PrimitivePortrayal3D
Sets objects as pickable or not.
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.
setPlotVisible(boolean) - Method in class sim.util.media.chart.BoxPlotSeriesAttributes
 
setPlotVisible(boolean) - Method in class sim.util.media.chart.PieChartSeriesAttributes
 
setPlotVisible(boolean) - Method in class sim.util.media.chart.SeriesAttributes