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

A

Action - Interface in vitro
Actions encapsulate atomic mutations of a Model.
actionPerformed(ActionEvent) - Method in class vitro.Host
 
actions() - Method in class vitro.Actor
A collection of Actions that are possible for this Actor.
actions - Variable in class vitro.CompositeAction
 
actions() - Method in class vitro.plane.PhysicsActor
 
Actor - Class in vitro
An Actor generically represents some object in a model.
Actor() - Constructor for class vitro.Actor
 
actor - Variable in class vitro.ActorAnnotation
 
actor - Variable in class vitro.graph.CreateAction
 
actor - Variable in class vitro.graph.MoveAction
 
actor - Variable in class vitro.grid.CreateAction
The Actor that will be spawned.
actor - Variable in class vitro.grid.MoveAction
The Actor that is moved.
actor - Variable in class vitro.plane.CreateAction
 
actor - Variable in class vitro.plane.ForceAction
 
actor - Variable in class vitro.plane.VelocityAction
 
actorAgents - Variable in class vitro.Controller
 
ActorAnnotation - Class in vitro
An Annotation meant for associating some textual data with an Actor.
ActorAnnotation(Actor) - Constructor for class vitro.ActorAnnotation
Create a new ActorAnnotation that simply highlights a specific Actor.
ActorAnnotation(Actor, String) - Constructor for class vitro.ActorAnnotation
Create a new ActorAnnotation which applies a label to a specific Actor.
actorAt(Location) - Method in class vitro.grid.Grid
Find the first Actor at a given Location.
actors() - Method in class vitro.Controller
Produce a List of Actors which can act during this timestep.
actors - Variable in class vitro.graph.DestroyAction
 
actors - Variable in class vitro.graph.Node
 
actors - Variable in class vitro.grid.DestroyAction
A mapping from the destroyed Actors to their original Locations.
actors - Variable in class vitro.Model
A Collection of the Actors in this Model.
actors - Variable in class vitro.plane.DestroyAction
 
actorsAt(Location) - Method in class vitro.grid.Grid
Find all Actors at a given Location.
actorsAt(Set<Location>) - Method in class vitro.grid.Grid
Find all Actors in a group of Locations.
add(int, int) - Method in class vitro.grid.Location
Create a new Location relative to this one given X and Y offsets.
add(Vector2) - Method in class vitro.plane.Vector2
 
add(int, Slide) - Method in class vitro.tools.SlideShow
 
add(int, View) - Method in class vitro.tools.SlideShow
 
add(View) - Method in class vitro.tools.SlideShow
 
add(String) - Method in class vitro.tools.SlideShow
 
add(int, E) - Method in class vitro.util.ObservableList
 
add(E) - Method in class vitro.util.ObservableSet
 
added(ObservableCollection, E) - Method in interface vitro.util.CollectionObserver
Fired immediately after an element has been added to an observable collection.
addImage(int, String) - Method in class vitro.tools.SlideShow
 
addImage(String) - Method in class vitro.tools.SlideShow
 
addObserver(CollectionObserver<E>) - Method in interface vitro.util.ObservableCollection
Register a CollectionObserver with this Collection.
addObserver(CollectionObserver<E>) - Method in class vitro.util.ObservableList
 
addObserver(CollectionObserver<Map.Entry<K, V>>) - Method in class vitro.util.ObservableMap
 
addObserver(CollectionObserver<E>) - Method in class vitro.util.ObservableSet
 
ADJACENT - Static variable in class vitro.grid.Grid
A set of x/y deltas for vertically, horizontally and diagonally adjacent cells.
ADJACENT - Static variable in class vitro.grid.GridActor
A set of x/y deltas for vertically, horizontally and diagonally adjacent cells.
Agent<A extends Actor> - Interface in vitro
An Agent makes decisions for one or more Actors.
agents - Variable in class vitro.Controller
 
AlignedBox - Class in vitro.plane
 
AlignedBox(double, double, double, double) - Constructor for class vitro.plane.AlignedBox
 
allCells() - Method in class vitro.grid.Grid
Obtain references to all cells on the Grid.
angle - Variable in class vitro.plane.Frame
 
Annotated - Interface in vitro
Annotated Agents can provide supplementary information to their view.
Annotation - Interface in vitro
Annotations provide a generic way for Agents and other elements of a Model to communicate supplementary information to Views and other components.
annotations() - Method in interface vitro.Annotated
 
annotations() - Method in class vitro.Controller
Obtain a collection of Annotations for the current timestep.
any(Collection<S>) - Static method in class vitro.util.Groups
Extract a random element from a Collection.
apply() - Method in interface vitro.Action
Apply this Action's change to a supplied Model or Models.
apply() - Method in class vitro.CompositeAction
Apply this Action's change to a supplied Model or Models.
apply() - Method in class vitro.graph.CreateAction
 
apply() - Method in class vitro.graph.CreateEdgeAction
 
apply() - Method in class vitro.graph.CreateNodeAction
 
apply() - Method in class vitro.graph.DestroyAction
 
apply() - Method in class vitro.graph.DestroyEdgeAction
 
apply() - Method in class vitro.graph.DestroyNodeAction
 
apply() - Method in class vitro.graph.MoveAction
 
apply() - Method in class vitro.grid.CreateAction
Apply this Action.
apply() - Method in class vitro.grid.DestroyAction
Apply this Action.
apply() - Method in class vitro.grid.MoveAction
Apply this Action.
apply() - Method in class vitro.plane.CreateAction
 
apply() - Method in class vitro.plane.DestroyAction
 
apply() - Method in class vitro.plane.ForceAction
 
apply() - Method in class vitro.plane.VelocityAction
 
asIntegerGrid() - Method in class vitro.util.Maze
 
assign(Object, boolean) - Method in class vitro.util.BoolTable
 
assign(Map<? extends Object, Boolean>) - Method in class vitro.util.BoolTable
 

B

background - Variable in class vitro.ColorScheme
 
bind(Class, Agent) - Method in class vitro.Controller
Associate every Actor that is an instance of a given Class with a specified Agent.
bind(Actor, Agent) - Method in class vitro.Controller
Associate a specific Actor with a specified Agent.
BoolTable - Class in vitro.util
 
BoolTable() - Constructor for class vitro.util.BoolTable
 
Bound - Class in vitro.plane
 
Bound() - Constructor for class vitro.plane.Bound
 
bound() - Method in interface vitro.plane.Collidable
 

C

calculateScaling(Map<K, ? extends Number>, Color, Color) - Static method in class vitro.grid.GridAnnotation
Generate a scaled gradient between two colors based on the values specified in the "scaling" table.
cellMargin - Variable in class vitro.grid.GridView
The margin between the edges of a cell and an Actor.
cellSize - Variable in class vitro.grid.GridView
The size (width and height) of a cell in pixels.
center - Variable in class vitro.plane.Circle
 
choose(A, Set<Action>) - Method in interface vitro.Agent
Select an action from the available options.
choose(A, Set<Action>) - Method in class vitro.RandomAgent
 
choose(A, Set<Action>) - Method in class vitro.TextAgent
 
Circle - Class in vitro.plane
 
Circle(double, double, double) - Constructor for class vitro.plane.Circle
 
classAgents - Variable in class vitro.Controller
 
cleanup() - Method in class vitro.Model
This method will be called by the Controller after all Agents have made their decisions for their respective Actors.
CollectionObserver<E> - Interface in vitro.util
CollectionObservers can be attached to observable collections and receive notification when these collections are modified.
Collidable - Interface in vitro.plane
 
collides(Collidable, Collidable) - Method in class vitro.plane.Plane
 
Collision - Class in vitro.plane
 
Collision(Collidable, Vector2) - Constructor for class vitro.plane.Collision
 
collision(Plane, Collidable, Vector2) - Static method in class vitro.plane.Collision
Can we handle simultaneous collisions?
collisionAction(Collidable) - Method in interface vitro.plane.Collidable
 
collisionVector(Collidable, Vector2) - Method in interface vitro.plane.Collidable
 
coloring - Variable in class vitro.grid.GridAnnotation
A mapping between positions on the Grid and their Color.
colors - Variable in class vitro.grid.GridView
This View's ColorScheme.
ColorScheme - Class in vitro
ColorSchemes collect a group of Colors together and provide an easy way to make Views customizable.
ColorScheme() - Constructor for class vitro.ColorScheme
Create a new ColorScheme with a default grayscale palette.
ColorScheme(Color, Color, Color) - Constructor for class vitro.ColorScheme
Create a new ColorScheme with specified theme colors.
colorScheme() - Method in class vitro.graph.GraphView
 
colorScheme() - Method in class vitro.grid.GridView
Obtain the ColorScheme used by this View.
colorScheme() - Method in interface vitro.View
Obtain the ColorScheme used by this View.
compareTo(Object) - Method in class vitro.grid.GridAnnotation
 
CompositeAction - Class in vitro
A CompositeAction offers an easy way to carry out several existing Actions in sequence as an atomic operation.
CompositeAction(List<Action>) - Constructor for class vitro.CompositeAction
Create a new CompositeAction from a list of Actions.
CompositeAction(Action...) - Constructor for class vitro.CompositeAction
An alternate vararg-based constructor.
configureRaster(Graphics) - Static method in class vitro.Drawing
Configure a Graphics surface for drawing raster graphics- preference speed and pixel-wise interpolation.
configureVector(Graphics) - Static method in class vitro.Drawing
Configure a Graphics surface for drawing vector graphics- antialias and preference rendering quality.
conflicts(Object, boolean) - Method in class vitro.util.BoolTable
 
conflicts(Map<Object, Boolean>) - Method in class vitro.util.BoolTable
 
containsType(Class<C>, Collection<S>) - Static method in class vitro.util.Groups
Check a Collection for elements with a given class.
Controller - Class in vitro
A Controller manages the sequencing of turns in a simulation, associates Agents with one or more Actor and provides access to historical records of Actions and Annotations.
Controller(Model) - Constructor for class vitro.Controller
Construct a new Controller associated with a given Model.
controller() - Method in class vitro.graph.GraphView
 
controller - Variable in class vitro.grid.GridView
This View's Controller.
controller() - Method in class vitro.grid.GridView
Obtain a reference to the Controller associated with this View.
controller() - Method in interface vitro.View
Obtain a reference to the Controller associated with this View.
create(Class, Set<Action>) - Method in class vitro.graph.GraphActor
 
create(Node, Class, Set<Action>) - Method in class vitro.graph.GraphActor
 
create(Position, Class, Set<Action>) - Method in class vitro.graph.GraphActor
 
CreateAction - Class in vitro.graph
 
CreateAction(Graph, Node, Actor) - Constructor for class vitro.graph.CreateAction
 
CreateAction - Class in vitro.grid
A CreateAction encapsulates the process of spawning a new Actor at a specified location.
CreateAction(Grid, Location, Actor) - Constructor for class vitro.grid.CreateAction
Create a new CreateAction.
CreateAction - Class in vitro.plane
 
CreateAction(Plane, Position, Actor) - Constructor for class vitro.plane.CreateAction
 
createEdge(Node, Node) - Method in class vitro.graph.Graph
 
createEdge(Node, Node) - Method in class vitro.graph.GraphView
 
CreateEdgeAction - Class in vitro.graph
 
CreateEdgeAction(Graph, Node, Node) - Constructor for class vitro.graph.CreateEdgeAction
 
createNode() - Method in class vitro.graph.Graph
 
createNode(double, double) - Method in class vitro.graph.GraphView
 
createNode(double, double, String) - Method in class vitro.graph.GraphView
 
CreateNodeAction - Class in vitro.graph
 
CreateNodeAction(Graph) - Constructor for class vitro.graph.CreateNodeAction
 

D

data - Variable in class vitro.DataAnnotation
 
DataAnnotation - Class in vitro
An Annotation meant for associating an arbitrary data structure with the state of the Model.
DataAnnotation(Object) - Constructor for class vitro.DataAnnotation
Construct a new DataAnnotation from a data structure.
DataAnnotation(Object, String) - Constructor for class vitro.DataAnnotation
Construct a new DataAnnotation with an identifying label.
DataView - Class in vitro
DataView contains the backing logic for rendering data structures used by DataAnnotation- it can also be used within your own Views and debugging tools.
DataView(Object, ColorScheme) - Constructor for class vitro.DataView
Construct a DataView for a given set of data structures, honoring specific ColorScheme.
deltas - Static variable in class vitro.util.MazeFactory
 
destroy(Set<Actor>, Set<Action>) - Method in class vitro.graph.GraphActor
 
destroy(Actor, Set<Action>) - Method in class vitro.graph.GraphActor
 
destroy(Class, Set<Action>) - Method in class vitro.graph.GraphActor
 
DestroyAction - Class in vitro.graph
 
DestroyAction(Graph, Actor...) - Constructor for class vitro.graph.DestroyAction
 
DestroyAction - Class in vitro.grid
A DestroyAction encapsulates the process of removing one or more Actors from a Grid.
DestroyAction(Grid, Actor...) - Constructor for class vitro.grid.DestroyAction
Create a new DestroyAction.
DestroyAction - Class in vitro.plane
 
DestroyAction(Plane, Actor...) - Constructor for class vitro.plane.DestroyAction
 
DestroyEdgeAction - Class in vitro.graph
 
DestroyEdgeAction(Graph, Edge) - Constructor for class vitro.graph.DestroyEdgeAction
 
DestroyNodeAction - Class in vitro.graph
 
DestroyNodeAction(Graph, Node) - Constructor for class vitro.graph.DestroyNodeAction
 
DIAGONAL - Static variable in class vitro.grid.Grid
A set of x/y deltas for diagonally adjacent cells.
DIAGONAL - Static variable in class vitro.grid.GridActor
A set of x/y deltas for diagonally adjacent cells.
direction - Variable in enum vitro.util.MazeFactory.Delta
 
displace(Position) - Method in class vitro.plane.Position
 
dockedController(boolean) - Method in class vitro.Host
Should the control pad be docked to the main window?
done() - Method in class vitro.graph.GraphView
 
done() - Method in class vitro.Model
Generically determine when this simulation is complete.
done() - Method in class vitro.Tweener
Check the status of this tween of chain of tweens.
dot(Vector2) - Method in class vitro.plane.Vector2
 
draw(Graphics) - Method in class vitro.DataView
Draw the DataView to the origin of a Graphics surface.
draw(Graphics2D) - Method in class vitro.graph.GraphView
 
draw(Graphics2D) - Method in class vitro.grid.GridView
Render the entire View.
draw(Graphics2D) - Method in interface vitro.View
Draw this view.
drawActor(Graphics2D, Actor) - Method in class vitro.grid.GridView
Render one Actor.
drawActorAnnotation(Graphics2D, ActorAnnotation) - Method in class vitro.grid.GridView
Render one ActorAnnotation.
drawBackground(Graphics2D) - Method in class vitro.grid.GridView
Render the background of this View.
drawBezelRect(Graphics, Rectangle, int, Color, Color, Color) - Static method in class vitro.Drawing
Draw a '3D' bezeled rectangle.
drawBezelRect(Graphics, int, int, int, int, int, Color, Color, Color) - Static method in class vitro.Drawing
Draw a '3D' bezeled rectangle.
drawCell(Graphics2D, int, int) - Method in class vitro.grid.GridView
Render one cell of the Grid, starting at a specified position.
drawCircleCentered(Graphics, int, int, int, Color, Color) - Static method in class vitro.Drawing
Draw a filled circle with a given fill and outline color.
drawGridAnnotation(Graphics2D, GridAnnotation) - Method in class vitro.grid.GridView
Render one GridAnnotation.
Drawing - Class in vitro
A collection of useful utility routines for drawing 2D graphics.
Drawing() - Constructor for class vitro.Drawing
 
drawKey(Graphics, int, int) - Method in class vitro.ColorScheme
Draw a key representing the color mappings in this ColorScheme at a specified location onscreen.
drawRoundRect(Graphics, int, int, int, int, int, Color, Color) - Static method in class vitro.Drawing
Draw a filled rounded rectangle with a given fill and outline color.
drawStringCentered(Graphics, String, int, int) - Static method in class vitro.Drawing
Draw a String centered vertically and horizontal at a given position onscreen.
dx - Variable in enum vitro.util.MazeFactory.Delta
 
dy - Variable in enum vitro.util.MazeFactory.Delta
 

E

e - Variable in class vitro.graph.CreateEdgeAction
 
edge - Variable in class vitro.graph.DestroyEdgeAction
 
Edge - Class in vitro.graph
 
Edge(Node, Node) - Constructor for class vitro.graph.Edge
 
edge - Variable in class vitro.graph.EdgeAnnotation
 
edge - Variable in class vitro.graph.MoveAction
 
EdgeAnnotation - Class in vitro.graph
 
EdgeAnnotation(Edge) - Constructor for class vitro.graph.EdgeAnnotation
 
EdgeAnnotation(Edge, String) - Constructor for class vitro.graph.EdgeAnnotation
 
edges - Variable in class vitro.graph.DestroyNodeAction
 
edges - Variable in class vitro.graph.Graph
 
edges - Variable in class vitro.graph.Node
 
emptyCells() - Method in class vitro.grid.Grid
Obtain references to all cells on the Grid which contain no Actors.
end - Variable in class vitro.graph.CreateEdgeAction
 
end - Variable in class vitro.graph.Edge
 
end - Variable in class vitro.grid.MoveAction
The final Location of the Actor.
entrySet() - Method in class vitro.util.ObservableMap
 
equals(Object) - Method in class vitro.ActorAnnotation
 
equals(Object) - Method in class vitro.CompositeAction
equals(Object) - Method in class vitro.DataAnnotation
 
equals(Object) - Method in class vitro.graph.CreateAction
 
equals(Object) - Method in class vitro.graph.CreateEdgeAction
 
equals(Object) - Method in class vitro.graph.CreateNodeAction
 
equals(Object) - Method in class vitro.graph.DestroyAction
 
equals(Object) - Method in class vitro.graph.DestroyEdgeAction
 
equals(Object) - Method in class vitro.graph.DestroyNodeAction
 
equals(Object) - Method in class vitro.graph.Edge
 
equals(Object) - Method in class vitro.graph.EdgeAnnotation
 
equals(Object) - Method in class vitro.graph.MoveAction
 
equals(Object) - Method in class vitro.graph.Position
 
equals(Object) - Method in class vitro.grid.CreateAction
 
equals(Object) - Method in class vitro.grid.DestroyAction
 
equals(Object) - Method in class vitro.grid.Location
 
equals(Object) - Method in class vitro.grid.MoveAction
 
equals(Object) - Method in class vitro.plane.CreateAction
 
equals(Object) - Method in class vitro.plane.DestroyAction
 
equals(Object) - Method in class vitro.plane.ForceAction
 
equals(Object) - Method in class vitro.plane.Position
 
equals(Object) - Method in class vitro.plane.Vector2
 
equals(Object) - Method in class vitro.plane.VelocityAction
 
eval(Controller, long) - Method in interface vitro.tools.Setup
 
evaluate(Object) - Method in class vitro.util.BoolTable
 

F

Factional - Interface in vitro
The Factional interface is used to indicate that an element can belong to a 'team' in some way.
first(Collection<S>) - Static method in class vitro.util.Groups
Extract the first element from a Collection.
firstOfType(Class<C>, Collection<S>) - Static method in class vitro.util.Groups
Extract an element from a Collection with a given class.
flush() - Method in class vitro.graph.GraphView
 
flush() - Method in class vitro.grid.GridView
Release any transient view state and update the View to reflect the current state of the Model.
flush() - Method in interface vitro.View
Release any transient view state and update the View to reflect the current state of the Model.
force - Variable in class vitro.plane.ForceAction
 
ForceAction - Class in vitro.plane
 
ForceAction(PhysicsActor, Vector2) - Constructor for class vitro.plane.ForceAction
 
Frame - Class in vitro.plane
 
Frame(double, double, double) - Constructor for class vitro.plane.Frame
 

G

generate() - Method in class vitro.util.MazeFactory
 
get(int) - Method in class vitro.tools.SlideShow
 
get(int) - Method in class vitro.util.ObservableList
 
getAction(A) - Method in class vitro.Controller
Determine the Action a given Actor would choose next.
getAgent(A) - Method in class vitro.Controller
Obtain a reference to the Agent that makes decisions for a specific actor.
getLocation(Actor) - Method in class vitro.graph.Graph
 
getNode(Position) - Method in class vitro.graph.Graph
 
getTransition() - Method in class vitro.tools.Slide
 
Graph - Class in vitro.graph
 
Graph() - Constructor for class vitro.graph.Graph
 
GraphAction - Class in vitro.graph
 
GraphAction(Graph) - Constructor for class vitro.graph.GraphAction
 
GraphActor - Class in vitro.graph
 
GraphActor(Graph) - Constructor for class vitro.graph.GraphActor
 
GraphView - Class in vitro.graph
 
GraphView(Graph, Controller, int, int, ColorScheme) - Constructor for class vitro.graph.GraphView
 
GraphView(Graph, Controller, int, int) - Constructor for class vitro.graph.GraphView
 
GraphView(GraphView) - Constructor for class vitro.graph.GraphView
 
Grid - Class in vitro.grid
Grid is a Model implementation representing space as a two-dimensional rectangular grid.
Grid(int, int) - Constructor for class vitro.grid.Grid
Create a new Grid with a specified size.
GridAction - Class in vitro.grid
A GridAction is a more restrictive type of Action that applies specifically to a Grid Model.
GridAction(Grid) - Constructor for class vitro.grid.GridAction
Construct a GridAction.
GridActor - Class in vitro.grid
GridActor provides a number of convenience methods for Actors that are meant to be part of a Grid model.
GridActor(Grid) - Constructor for class vitro.grid.GridActor
Build a new GridActor associated with a specific Model.
GridAnnotation - Class in vitro.grid
GridAnnotations allow users to overlay an array of Colors on their Grid's View.
GridAnnotation(Collection<Location>, Color) - Constructor for class vitro.grid.GridAnnotation
Create a new GridAnnotation.
GridAnnotation(Map<Location, Color>) - Constructor for class vitro.grid.GridAnnotation
Create a new GridAnnotation.
GridAnnotation(Map<Location, ? extends Number>, Color, Color) - Constructor for class vitro.grid.GridAnnotation
Create a new GridAnnotation.
GridView - Class in vitro.grid
GridView is a generic View that can be applied to any GridModel.
GridView(Grid, Controller, int, int, ColorScheme) - Constructor for class vitro.grid.GridView
Construct a new GridView.
Groups - Class in vitro.util
Groups provides a set of utility methods for filtering and manipulating collections.
Groups() - Constructor for class vitro.util.Groups
 

H

hashCode() - Method in class vitro.ActorAnnotation
 
hashCode() - Method in class vitro.CompositeAction
hashCode() - Method in class vitro.DataAnnotation
 
hashCode() - Method in class vitro.graph.CreateAction
 
hashCode() - Method in class vitro.graph.CreateEdgeAction
 
hashCode() - Method in class vitro.graph.CreateNodeAction
 
hashCode() - Method in class vitro.graph.DestroyAction
 
hashCode() - Method in class vitro.graph.DestroyEdgeAction
 
hashCode() - Method in class vitro.graph.DestroyNodeAction
 
hashCode() - Method in class vitro.graph.Edge
 
hashCode() - Method in class vitro.graph.EdgeAnnotation
 
hashCode() - Method in class vitro.graph.MoveAction
 
hashCode() - Method in class vitro.graph.Position
 
hashCode() - Method in class vitro.grid.CreateAction
 
hashCode() - Method in class vitro.grid.DestroyAction
 
hashCode() - Method in class vitro.grid.Location
 
hashCode() - Method in class vitro.grid.MoveAction
 
hashCode() - Method in class vitro.plane.CreateAction
 
hashCode() - Method in class vitro.plane.DestroyAction
 
hashCode() - Method in class vitro.plane.ForceAction
 
hashCode() - Method in class vitro.plane.VelocityAction
 
hasNext() - Method in class vitro.Controller
 
hasPrev() - Method in class vitro.Controller
 
height() - Method in class vitro.DataView
The height of the DataView, in pixels.
height() - Method in class vitro.graph.GraphView
 
height - Variable in class vitro.grid.Grid
The height of the Grid in cells.
height - Variable in class vitro.grid.GridView
The height of this View in pixels.
height() - Method in class vitro.grid.GridView
Obtain the preferred height of this View, in pixels.
height - Variable in class vitro.util.Maze
 
height - Variable in class vitro.util.MazeFactory
 
height() - Method in interface vitro.View
Obtain the preferred height of this View, in pixels.
horizontalMargin - Variable in class vitro.grid.GridView
The x-offset of the grid relative to the View.
Host - Class in vitro
The Host provides a convenient way to run a simulation given a Model, View and Controller.
Host() - Constructor for class vitro.Host
 

I

inactive - Variable in class vitro.ColorScheme
 
index() - Method in class vitro.Controller
 
init(List<Agent>) - Method in interface vitro.tools.Setup
 
intercept - Variable in class vitro.plane.Collision
 
intercepted - Variable in class vitro.plane.Collision
 
internalActors - Variable in class vitro.graph.Node
 
internalEdges - Variable in class vitro.graph.Node
 
iterator() - Method in class vitro.util.ObservableSet
 

K

KEY - Static variable in class vitro.MediaButton
 
keyPressed(KeyEvent) - Method in class vitro.tools.PresentTool
 
keyReleased(KeyEvent) - Method in class vitro.tools.PresentTool
 
keyTyped(KeyEvent) - Method in class vitro.tools.PresentTool
 
known(Object) - Method in class vitro.util.BoolTable
 

L

label - Variable in class vitro.ActorAnnotation
 
label - Variable in class vitro.DataAnnotation
 
label - Variable in class vitro.graph.EdgeAnnotation
 
layoutGrid(int, int) - Method in class vitro.graph.GraphView
 
location() - Method in class vitro.graph.GraphActor
 
location - Variable in class vitro.grid.CreateAction
The Location at which to spawn an Actor.
location() - Method in class vitro.grid.GridActor
Get the Location of this Actor in the current Model.
Location - Class in vitro.grid
A Location represents a position on a Grid.
Location(Grid, int, int) - Constructor for class vitro.grid.Location
Construct a new Location.
locations - Variable in class vitro.grid.Grid
A mapping from Actors in this Model to the Grid cell in which they are currently located.

M

main(String[]) - Static method in class vitro.tools.PresentTool
 
main(SlideShow) - Static method in class vitro.tools.PresentTool
 
main(String[]) - Static method in class vitro.tools.Thunderdome
 
mass - Variable in class vitro.plane.PhysicsActor
 
Maze - Class in vitro.util
 
Maze(int, int) - Constructor for class vitro.util.Maze
 
Maze.Direction - Enum in vitro.util
 
MazeFactory - Class in vitro.util
 
MazeFactory(int, int, int, int, Random) - Constructor for class vitro.util.MazeFactory
 
MazeFactory.Delta - Enum in vitro.util
 
MediaButton - Class in vitro
 
MediaButton(int, int, int) - Constructor for class vitro.MediaButton
 
model - Variable in class vitro.Controller
 
model - Variable in class vitro.graph.Graph
 
model - Variable in class vitro.graph.GraphAction
 
model - Variable in class vitro.graph.GraphActor
 
model - Variable in class vitro.graph.GraphView
 
model - Variable in class vitro.graph.Node
 
model() - Method in class vitro.graph.Node
 
model - Variable in class vitro.grid.Grid
A reference to the current Model.
model - Variable in class vitro.grid.GridAction
The Grid to which this Action is applied.
model - Variable in class vitro.grid.GridActor
A reference to this Actor's Model.
model - Variable in class vitro.grid.GridView
This View's Model.
Model - Class in vitro
A Model is a representation of the state of a simulation.
Model(Set<Actor>) - Constructor for class vitro.Model
Create a new Model, providing a collection for storing Actors.
model - Variable in class vitro.plane.Plane
 
model - Variable in class vitro.plane.PlaneAction
 
model - Variable in class vitro.plane.PlaneActor
 
move(Edge, Set<Action>) - Method in class vitro.graph.GraphActor
 
move(Node, Set<Action>) - Method in class vitro.graph.GraphActor
 
move(Position, Set<Action>) - Method in class vitro.graph.GraphActor
 
move(Location, Set<Action>) - Method in class vitro.grid.GridActor
Find an Action corresponding to moving this Actor to a specific Location.
MoveAction - Class in vitro.graph
 
MoveAction(Graph, Edge, Actor) - Constructor for class vitro.graph.MoveAction
 
MoveAction - Class in vitro.grid
A MoveAction encapsulates the process of Moving an Actor from one Location to another.
MoveAction(Grid, Location, Actor) - Constructor for class vitro.grid.MoveAction
Create a new MoveAction.
moves(Set<Location>) - Method in class vitro.grid.GridActor
Produce a Set of MoveActions corresponding to moving this Actor to each of a Set of Locations.
moveToward(Actor, Set<Action>) - Method in class vitro.graph.GraphActor
 
moveToward(Node, Set<Action>) - Method in class vitro.graph.GraphActor
 
moveToward(Position, Set<Action>) - Method in class vitro.graph.GraphActor
 
MTRandom - Class in vitro.util
An implementation of the Mersenne Twister algorithm.
MTRandom() - Constructor for class vitro.util.MTRandom
Create a new Mersenne Twister generator based on the JVM's nanotime.
MTRandom(long) - Constructor for class vitro.util.MTRandom
Create a new Mersenne Twister generator based on a specified seed.
mul(double) - Method in class vitro.plane.Vector2
 

N

neighbors(Location, int[][]) - Method in class vitro.grid.Grid
Obtain references to Location objects representing neighboring cells.
neighbors(int[][]) - Method in class vitro.grid.GridActor
Obtain references to Location objects representing neighboring cells.
neighbors(Location, int[][]) - Method in class vitro.grid.GridActor
Obtain references to Location objects representing cells neighboring a specific Location.
next() - Method in class vitro.Controller
Advance the simulation.
next(int) - Method in class vitro.util.MTRandom
Get an integer value with the specified number of bits.
nextRound() - Method in class vitro.Controller
This method is used to determine the order in which Actions will be applied.
nextRound() - Method in class vitro.SequentialController
 
nextRound() - Method in class vitro.SimultaneousController
 
nextRound() - Method in class vitro.ThreadedController
 
node - Variable in class vitro.graph.CreateAction
 
node - Variable in class vitro.graph.CreateNodeAction
 
node - Variable in class vitro.graph.DestroyNodeAction
 
Node - Class in vitro.graph
 
Node(Set<Edge>, Set<Actor>, boolean, Graph) - Constructor for class vitro.graph.Node
 
Node(Set<Edge>, Set<Actor>, Graph) - Constructor for class vitro.graph.Node
 
nodes - Variable in class vitro.graph.Graph
 
norm() - Method in class vitro.plane.Vector2
 
normalize() - Method in class vitro.plane.Vector2
 
normSq() - Method in class vitro.plane.Vector2
 

O

ObservableCollection<E> - Interface in vitro.util
ObservableCollections can be used whenever it is useful to monitor mutation of Collections.
ObservableList<E> - Class in vitro.util
An ObservableCollection implementing the List interface by way of extending AbstractList and wrapping an internal List.
ObservableList() - Constructor for class vitro.util.ObservableList
Create a new, empty List.
ObservableList(Collection<? extends E>) - Constructor for class vitro.util.ObservableList
Create a new List with the same elements as another Collection.
ObservableList(Collection<? extends E>, ObservableCollection) - Constructor for class vitro.util.ObservableList
Create a new List with the same elements as another Collection.
ObservableMap<K,V> - Class in vitro.util
An ObservableCollection implementing the Map interface by way of extending AbstractMap and wrapping an internal Map.
ObservableMap() - Constructor for class vitro.util.ObservableMap
Create a new, empty Map.
ObservableMap(Map<? extends K, ? extends V>) - Constructor for class vitro.util.ObservableMap
Create a new Map with the same elements as another Map.
ObservableMap(Map<? extends K, ? extends V>, ObservableCollection) - Constructor for class vitro.util.ObservableMap
Create a new Map with the same elements as another Map.
ObservableSet<E> - Class in vitro.util
An ObservableCollection implementing the Set interface by way of extending AbstractSet and wrapping an internal Set.
ObservableSet() - Constructor for class vitro.util.ObservableSet
Create a new, empty Set.
ObservableSet(Collection<? extends E>) - Constructor for class vitro.util.ObservableSet
Create a new Set with the same elements as another Collection.
ObservableSet(Collection<? extends E>, ObservableCollection) - Constructor for class vitro.util.ObservableSet
Create a new Set with the same elements as another Collection.
ofType(Class<C>, Collection<S>) - Static method in class vitro.util.Groups
Extract elements from a Collection with a given class.
ORTHOGONAL - Static variable in class vitro.grid.Grid
A set of x/y deltas for vertically or horizontally adjacent cells.
ORTHOGONAL - Static variable in class vitro.grid.GridActor
A set of x/y deltas for vertically or horizontally adjacent cells.
outline - Variable in class vitro.ColorScheme
 

P

paint(Graphics) - Method in class vitro.MediaButton
 
paint(Graphics) - Method in class vitro.tools.PresentTool
 
passable(Actor, Location) - Method in class vitro.grid.Grid
Check the passability of a given Location with respect to a given Actor.
passable(Actor, Set<Location>) - Method in class vitro.grid.Grid
Find the Locations that a given Actor could move to.
passable(Actor) - Method in class vitro.grid.Location
Check the passability of this Location respecting the passable() predicate of the parent Grid.
passable(int, int, Maze.Direction) - Method in class vitro.util.Maze
 
passableNeighbors(Actor, int[][]) - Method in class vitro.grid.Grid
Performs the same function as neighbors(), but only returns Locations which would be passable to a specified Actor.
passableNeighbors(Location, int[][]) - Method in class vitro.grid.Grid
Performs the same function as neighbors(), but only returns Locations which would be passable to any Actor.
passableNeighbors(Location, int[][]) - Method in class vitro.grid.GridActor
Performs the same function as neighbors(), but only returns Locations which would be passable to a this Actor.
passableNeighbors(int[][]) - Method in class vitro.grid.GridActor
Performs the same function as neighbors(), but only returns Locations which would be passable to a this Actor.
path(Node, Node) - Method in class vitro.graph.Graph
 
path(Node) - Method in class vitro.graph.Node
 
path(Actor) - Method in class vitro.graph.Node
 
pathNodes(Node) - Method in class vitro.graph.Node
 
PAUSE - Static variable in class vitro.MediaButton
 
PhysicsActor - Class in vitro.plane
More realistic would be to keep tabs on momentum, so that changes in mass will be appropriately expressed.
PhysicsActor(Plane, double, Vector2) - Constructor for class vitro.plane.PhysicsActor
 
PhysicsActor(Plane, double) - Constructor for class vitro.plane.PhysicsActor
 
Plane - Class in vitro.plane
 
Plane() - Constructor for class vitro.plane.Plane
 
PlaneAction - Class in vitro.plane
 
PlaneAction(Plane) - Constructor for class vitro.plane.PlaneAction
 
PlaneActor - Class in vitro.plane
 
PlaneActor(Plane) - Constructor for class vitro.plane.PlaneActor
 
PLAY - Static variable in class vitro.MediaButton
 
point0 - Variable in class vitro.plane.AlignedBox
 
point1 - Variable in class vitro.plane.AlignedBox
 
position - Variable in class vitro.graph.CreateAction
 
Position - Class in vitro.graph
 
Position(Node) - Constructor for class vitro.graph.Position
 
position - Variable in class vitro.plane.CreateAction
 
position() - Method in class vitro.plane.PlaneActor
 
Position - Class in vitro.plane
 
Position(double, double) - Constructor for class vitro.plane.Position
 
Position(Vector2) - Constructor for class vitro.plane.Position
 
position() - Method in class vitro.Tweener
A Point representing the current tweened position.
positions - Variable in class vitro.plane.Plane
 
PresentTool - Class in vitro.tools
 
PresentTool(Dimension, SlideShow) - Constructor for class vitro.tools.PresentTool
 
prev() - Method in class vitro.Controller
Restore the simulation to the previous state.
previousActions() - Method in class vitro.Controller
 
pumpingNeighbors(int[][]) - Method in class vitro.grid.GridActor
Performs the same function as neighbors(), but will "pump on" a delta for as long as the resulting Location is passable to this Actor.
put(Actor, int, int) - Method in class vitro.grid.Grid
Place a new Actor at a specified Location.
put(K, V) - Method in class vitro.util.ObservableMap
 

R

radius - Variable in class vitro.plane.Circle
 
random - Variable in class vitro.util.MazeFactory
 
RandomAgent<A extends Actor> - Class in vitro
A generic Agent implementation which always chooses randomly from the available options.
RandomAgent() - Constructor for class vitro.RandomAgent
 
reachable(Node) - Method in class vitro.graph.Graph
 
reachable(Node, int) - Method in class vitro.graph.Graph
 
reachable() - Method in class vitro.graph.Node
 
reachable(int) - Method in class vitro.graph.Node
 
reachableActors() - Method in class vitro.graph.Node
 
reachableActors(int) - Method in class vitro.graph.Node
 
reflect(Vector2) - Method in class vitro.plane.Vector2
 
refract(Vector2, double, double) - Method in class vitro.plane.Vector2
 
remove(int) - Method in class vitro.tools.SlideShow
 
remove(int) - Method in class vitro.util.ObservableList
 
removed(ObservableCollection, E) - Method in interface vitro.util.CollectionObserver
Fired immediately after an element has been removed from an observable collection.
RESET - Static variable in class vitro.MediaButton
 
reset() - Method in class vitro.Tweener
Reset this Tweener and any later chained Tweener to the initial start point of the animation.
reverse() - Method in class vitro.util.ReversibleMap
Obtain a reference to this Map's inverse.
ReversibleMap<K,V> - Class in vitro.util
ReversibleMap provides a convenient way to maintain a two-way map between keys and values.
ReversibleMap() - Constructor for class vitro.util.ReversibleMap
Create a new, empty Map.
ReversibleMap(Map<? extends K, ? extends V>) - Constructor for class vitro.util.ReversibleMap
Create a new Map with the same elements as another Map.
rotate(double) - Method in class vitro.plane.Frame
 
RUN_TIMEOUT - Static variable in class vitro.tools.Thunderdome
 

S

secondary - Variable in class vitro.ColorScheme
 
SequentialController - Class in vitro
A Controller implementation in which each Agent has the opportunity to choose an Action and then it is immediately applied.
SequentialController(Model) - Constructor for class vitro.SequentialController
Create a new SequentialController to drive a specified Model.
serialVersionUID - Static variable in class vitro.util.MTRandom
 
set(int, Slide) - Method in class vitro.tools.SlideShow
 
set(int, E) - Method in class vitro.util.ObservableList
 
setColor(Object, Color) - Method in class vitro.ColorScheme
Manually configure the key color for a specific object.
setColorScheme(ColorScheme) - Method in class vitro.MediaButton
 
setIcon(int) - Method in class vitro.MediaButton
 
setPassable(int, int, Maze.Direction, boolean) - Method in class vitro.util.Maze
 
setSeed(long) - Method in class vitro.util.MTRandom
Set this generator's seed.
setTransition(Slide.Transition) - Method in class vitro.tools.Slide
 
Setup - Interface in vitro.tools
 
show(View) - Method in class vitro.Host
Display the given view and allow the simulation to run.
SimultaneousController - Class in vitro
A Controller implementation in which every Agent has the opportunity to select an Action before any are applied.
SimultaneousController(Model) - Constructor for class vitro.SimultaneousController
Create a new SimultaneousController to drive a specified Model.
size() - Method in class vitro.tools.SlideShow
 
size() - Method in class vitro.util.ObservableList
 
size() - Method in class vitro.util.ObservableSet
 
Slide - Class in vitro.tools
 
Slide() - Constructor for class vitro.tools.Slide
 
Slide.Transition - Enum in vitro.tools
 
SlideShow - Class in vitro.tools
 
SlideShow() - Constructor for class vitro.tools.SlideShow
 
start - Variable in class vitro.graph.CreateEdgeAction
 
start - Variable in class vitro.graph.Edge
 
start - Variable in class vitro.grid.MoveAction
The initial Location of the Actor.
STEP_BACK - Static variable in class vitro.MediaButton
 
STEP_FORWARD - Static variable in class vitro.MediaButton
 
STOP - Static variable in class vitro.MediaButton
 
store() - Method in class vitro.util.ObservableList
Obtain a reference to the backing store used by this List.
store() - Method in class vitro.util.ObservableMap
Obtain a reference to the backing store used by this Map.
store() - Method in class vitro.util.ObservableSet
Obtain a reference to the backing store used by this Set.
stringHeight(Graphics, String) - Static method in class vitro.Drawing
Get the height of a String in pixels given the current drawing context.
stringWidth(Graphics, String) - Static method in class vitro.Drawing
Get the width of a String in pixels given the current drawing context.
sub(Vector2) - Method in class vitro.plane.Vector2
 

T

team() - Method in interface vitro.Factional
Which team is this object associated with? The integer returned is just a team identifier and need only be consistent between members of the same team.
TextAgent<A extends Actor> - Class in vitro
A generic Agent implementation which prompts a user via stdio to select from available Actions.
TextAgent() - Constructor for class vitro.TextAgent
 
ThreadedController - Class in vitro
 
ThreadedController(Model, long) - Constructor for class vitro.ThreadedController
 
Thunderdome - Class in vitro.tools
 
Thunderdome() - Constructor for class vitro.tools.Thunderdome
 
tick(double) - Method in class vitro.graph.GraphView
 
tick(double) - Method in class vitro.grid.GridView
Advance the state of the simulation.
tick() - Method in class vitro.tools.PresentTool
 
tick(double) - Method in class vitro.Tweener
Advance the timer for this tween or chain of tweens.
tick(double) - Method in interface vitro.View
Advance the state of the simulation.
toString() - Method in class vitro.ActorAnnotation
 
toString() - Method in class vitro.CompositeAction
toString() - Method in class vitro.DataAnnotation
 
toString() - Method in class vitro.graph.CreateAction
 
toString() - Method in class vitro.graph.CreateEdgeAction
 
toString() - Method in class vitro.graph.CreateNodeAction
 
toString() - Method in class vitro.graph.DestroyAction
 
toString() - Method in class vitro.graph.DestroyEdgeAction
 
toString() - Method in class vitro.graph.DestroyNodeAction
 
toString() - Method in class vitro.graph.Edge
 
toString() - Method in class vitro.graph.EdgeAnnotation
 
toString() - Method in class vitro.graph.MoveAction
 
toString() - Method in class vitro.graph.Node
 
toString() - Method in class vitro.grid.CreateAction
 
toString() - Method in class vitro.grid.DestroyAction
 
toString() - Method in class vitro.grid.Location
 
toString() - Method in class vitro.grid.MoveAction
 
toString() - Method in class vitro.plane.CreateAction
 
toString() - Method in class vitro.plane.DestroyAction
 
toString() - Method in class vitro.plane.Frame
 
toString() - Method in class vitro.plane.Position
 
toString() - Method in class vitro.plane.Vector2
 
toString() - Method in class vitro.plane.VelocityAction
 
toString() - Method in class vitro.util.BoolTable
 
toString() - Method in class vitro.util.Maze
 
transform(double, double, double) - Method in class vitro.plane.Frame
 
translate(double, double) - Method in class vitro.plane.Frame
 
translate(double, double) - Method in class vitro.plane.Position
 
translate(Vector2) - Method in class vitro.plane.Position
 
tween(double, double, double) - Method in class vitro.Tweener
The actual interpolation function.
Tweener - Class in vitro
A utility class for producing 2D eased animation "tweens" or interpolation.
Tweener(int, double, Tweener) - Constructor for class vitro.Tweener
Produce a chained 1D tween.
Tweener(Point, double, Tweener) - Constructor for class vitro.Tweener
Produce a chained 2D tween.
Tweener(int, int, double, Tweener) - Constructor for class vitro.Tweener
Produce a chained 2D tween.
Tweener(int, int, double) - Constructor for class vitro.Tweener
Produce a 1D tween.
Tweener(Point, Point, double) - Constructor for class vitro.Tweener
Produce a 2D tween.
Tweener(int, int, int, int, double) - Constructor for class vitro.Tweener
Produce a 1D tween.

U

undo() - Method in interface vitro.Action
Revert any changes made during apply().
undo() - Method in class vitro.CompositeAction
Revert any changes made during apply().
undo() - Method in class vitro.graph.CreateAction
 
undo() - Method in class vitro.graph.CreateEdgeAction
 
undo() - Method in class vitro.graph.CreateNodeAction
 
undo() - Method in class vitro.graph.DestroyAction
 
undo() - Method in class vitro.graph.DestroyEdgeAction
 
undo() - Method in class vitro.graph.DestroyNodeAction
 
undo() - Method in class vitro.graph.MoveAction
 
undo() - Method in class vitro.grid.CreateAction
Roll back this Action.
undo() - Method in class vitro.grid.DestroyAction
Roll back this Action.
undo() - Method in class vitro.grid.MoveAction
Roll back this Action.
undo() - Method in class vitro.plane.CreateAction
 
undo() - Method in class vitro.plane.DestroyAction
 
undo() - Method in class vitro.plane.ForceAction
 
undo() - Method in class vitro.plane.VelocityAction
 
unique(Object) - Method in class vitro.ColorScheme
Produce a unique, consistent color based on an object reference.
uniqueColors - Variable in class vitro.ColorScheme
 

V

valid() - Method in class vitro.grid.Location
Confirm this Location is within the bounds of its Grid.
valueOf(String) - Static method in enum vitro.tools.Slide.Transition
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum vitro.util.Maze.Direction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum vitro.util.MazeFactory.Delta
Returns the enum constant of this type with the specified name.
values() - Static method in enum vitro.tools.Slide.Transition
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum vitro.util.Maze.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum vitro.util.MazeFactory.Delta
Returns an array containing the constants of this enum type, in the order they are declared.
Vector2 - Class in vitro.plane
 
Vector2(double, double) - Constructor for class vitro.plane.Vector2
 
velocity - Variable in class vitro.plane.PhysicsActor
 
VelocityAction - Class in vitro.plane
 
VelocityAction(Plane, PhysicsActor) - Constructor for class vitro.plane.VelocityAction
 
verticalMargin - Variable in class vitro.grid.GridView
The y-offset of the grid relative to the View.
View - Interface in vitro
A View provides a visualization of the current state of a Model and may further visualize Actions as they modify this state.
vitro - package vitro
 
vitro.graph - package vitro.graph
 
vitro.grid - package vitro.grid
 
vitro.plane - package vitro.plane
 
vitro.tools - package vitro.tools
 
vitro.util - package vitro.util
 

W

width() - Method in class vitro.DataView
The width of the DataView, in pixels.
width() - Method in class vitro.graph.GraphView
 
width - Variable in class vitro.grid.Grid
The width of the Grid in cells.
width - Variable in class vitro.grid.GridView
The width of this View in pixels.
width() - Method in class vitro.grid.GridView
Obtain the preferred width of this View, in pixels.
width - Variable in class vitro.util.Maze
 
width - Variable in class vitro.util.MazeFactory
 
width() - Method in interface vitro.View
Obtain the preferred width of this View, in pixels.

X

x - Variable in class vitro.grid.Location
The grid column of this Location.
x - Variable in class vitro.plane.Frame
 
x - Variable in class vitro.plane.Position
 
x - Variable in class vitro.plane.Vector2
 
x() - Method in class vitro.Tweener
Obtain the tweened x-coordinate in a 2D tween or the only tweened x-coordinate in a 1D tween, in pixels.
xd() - Method in class vitro.Tweener
A more accurate representation than x() for small tweens.
xStart - Variable in class vitro.util.MazeFactory
 

Y

y - Variable in class vitro.grid.Location
The grid row of this Location.
y - Variable in class vitro.plane.Frame
 
y - Variable in class vitro.plane.Position
 
y - Variable in class vitro.plane.Vector2
 
y() - Method in class vitro.Tweener
Obtain the tweened y-coordinate, in pixels.
yd() - Method in class vitro.Tweener
A more accurate representation than y() for small tweens.
yStart - Variable in class vitro.util.MazeFactory
 

Z

ZERO - Static variable in class vitro.plane.Position
 
ZERO - Static variable in class vitro.plane.Vector2
 

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