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

A

ACCEPTED - Static variable in class org.generation5.ai.TuringMachine
The machine acceptance state.
ALL_C - Static variable in class org.generation5.ai.PrisonersDilemmaAgent
Cooperate for all
ALL_D - Static variable in class org.generation5.ai.PrisonersDilemmaAgent
Defect for all
ANTIALIAS - Static variable in class org.generation5.util.TimeSeries
Anti-alias all captured images (default).
AStarMap - class org.generation5.ai.AStarMap.
AStarMap is simply derived from StandardMap2D to provide further functionality to visualize the A* algorithm.
AStarMap() - Constructor for class org.generation5.ai.AStarMap
Creates a new instance of AStarMap
AStarMap(int, int) - Constructor for class org.generation5.ai.AStarMap
Creates a new instance with dimensional information.
AStarMap(BufferedImage) - Constructor for class org.generation5.ai.AStarMap
Creates a new instance from a BufferedImage.
AStarPathfinder - class org.generation5.ai.AStarPathfinder.
Implements the A* algorithm.
AStarPathfinder() - Constructor for class org.generation5.ai.AStarPathfinder
Creates a new instance of AStarPathfinder
AStarPathfinder.AStarNode - class org.generation5.ai.AStarPathfinder.AStarNode.
The pathfinder node.
AStarPathfinder.AStarNode() - Constructor for class org.generation5.ai.AStarPathfinder.AStarNode
The default constructor.
AStarPathfinder.AStarNode(int, int) - Constructor for class org.generation5.ai.AStarPathfinder.AStarNode
The default constructor with positional information.
Activation - interface org.generation5.nn.Activation.
The interface for the neural network activation function.
Activation.None - class org.generation5.nn.Activation.None.
No activation function.
Activation.None() - Constructor for class org.generation5.nn.Activation.None
 
Activation.Sigmoid - class org.generation5.nn.Activation.Sigmoid.
Sigmoid activation function.
Activation.Sigmoid() - Constructor for class org.generation5.nn.Activation.Sigmoid
 
Activation.Stepped - class org.generation5.nn.Activation.Stepped.
A stepped activation function.
Activation.Stepped() - Constructor for class org.generation5.nn.Activation.Stepped
 
Activation.Tanh - class org.generation5.nn.Activation.Tanh.
Hyperbolic tangent activation function.
Activation.Tanh() - Constructor for class org.generation5.nn.Activation.Tanh
 
AutoTimeSeries - class org.generation5.util.AutoTimeSeries.
This class extends TimeSeries by automatically creating a time-series across an interval period, or given at step numbers.
AutoTimeSeries() - Constructor for class org.generation5.util.AutoTimeSeries
Creates a new instance of TimeSeries
aStar - Variable in class org.generation5.ai.AStarMap
The pathfinder (used for drawing the routes).
actionPerformed(ActionEvent) - Method in class org.generation5.swing.VisStepApplet
Called when the animation timer is triggered.
actions - Variable in class org.generation5.swing.VisStepApplet
The actions for this applet for the start, step, reset and timer actions.
activate - Variable in class org.generation5.nn.FFNLayer
The activation function this layer uses.
activation - Variable in class org.generation5.nn.NeuralNetwork
The activation function.
addAutomaton(int, int, int) - Method in class org.generation5.bio.CellularAutomataLayered
Add an automaton to the world with state and position information.
addAutomaton(CAAgent) - Method in class org.generation5.bio.CellularAutomataLayered
Adds an automaton of type CAAgent.
addChild(AStarPathfinder.AStarNode) - Method in class org.generation5.ai.AStarPathfinder.AStarNode
Add a child to the node.
addCity(int, int) - Static method in class org.generation5.util.TravellingSalesman
Add a city to the world at position (x,y).
addCity(int, int, String) - Static method in class org.generation5.util.TravellingSalesman
Add a city of position x, y with specified label.
addPlayer(int, BoardGameAgent) - Method in class org.generation5.ai.BoardGame
Add a player to the game.
addPlayer(int, BoardGameAgent, Color) - Method in class org.generation5.ai.BoardGame
Add a player, and specify the colour.
addPoint(Color) - Method in class org.generation5.util.Gradient
Add a colour to the gradient list.
addPoints(int) - Method in class org.generation5.ai.PrisonersDilemmaAgent
Increment the points for the agent.
addSnapshot(Visualizable, int, int) - Method in class org.generation5.util.TimeSeries
Add a snapshot to the time-series image.
addSnapshot(BufferedImage) - Method in class org.generation5.util.TimeSeries
Directly add an image to the time-series.
addState(FSM.State) - Method in class org.generation5.ai.FSM
Add a state to the FSM.
addStates(FSM.State[]) - Method in class org.generation5.ai.FSM
Adds an array of states to the FSM.
addToOpen(AStarPathfinder.AStarNode) - Method in class org.generation5.ai.AStarPathfinder
Add the new child to the open list, ordering by the f-value.
addTransition(int, FSM.State) - Method in class org.generation5.ai.FSM.State
Add a transition to the state.
addTransition(FSM.State, int, FSM.State) - Method in class org.generation5.ai.FSM
Add a transition to the finite state machine.
addTransition(FSM.State, int, FSM.State) - Method in class org.generation5.ai.TuringMachine
Add a transition state between the specified start and end states for the given transition symbol.
agentPoints - Variable in class org.generation5.ai.PrisonersDilemmaAgent
Number of points agent has acquired
allowMouseInteraction - Variable in class org.generation5.swing.VisStepApplet
Denotes whether the applet allows for mouse interaction.
animTimer - Variable in class org.generation5.swing.VisStepApplet
The animation/control timer.
antiAliasing - Variable in class org.generation5.swing.VisualizationPanel
Boolean value to specify whether anti-aliasing is to be used.
atFoodSource(DirectedCAAgent) - Method in class org.generation5.demos.SwarmAntCA
 
atNest(DirectedCAAgent) - Method in class org.generation5.demos.SwarmAntCA
 
autoGenerate - Variable in class org.generation5.util.AutoTimeSeries
Determies whether the time-series is to be automatically generated when calls to render are called.
averageFitness - Variable in class org.generation5.bio.GeneticAlgorithm
The average fitness for this generation.
averageFitnesses - Variable in class org.generation5.bio.GeneticAlgorithm
The average fitness linked list.
avoidR - Static variable in class org.generation5.bio.FlockingAgent
 
avoidW - Static variable in class org.generation5.bio.FlockingAgent
 

B

BAND_ALL - Static variable in class org.generation5.vision.Histogram
All the bands
BAND_BLUE - Static variable in class org.generation5.vision.Histogram
The blue band
BAND_GREEN - Static variable in class org.generation5.vision.Histogram
The green band
BAND_GREY - Static variable in class org.generation5.vision.Histogram
The grey band
BAND_RED - Static variable in class org.generation5.vision.Histogram
The red band
BORDERS - Static variable in class org.generation5.util.TimeSeries
Draw both inner and outer borders (default).
BOTTOM - Static variable in class org.generation5.bio.DirectedCAAgent
 
BOTTOM_LEFT - Static variable in class org.generation5.bio.DirectedCAAgent
 
BOTTOM_RIGHT - Static variable in class org.generation5.bio.DirectedCAAgent
 
BT709 - Static variable in class org.generation5.vision.GreyscaleFilter
BT709 Greyscale: Red: 0.2125 Green: 0.7154 Blue: 0.0721
BoardGame - class org.generation5.ai.BoardGame.
This class is designed to faciliate development of board games, with AI agent players (see BoardGameAgent).
BoardGame(int, int, int) - Constructor for class org.generation5.ai.BoardGame
Create an instance of BoardGame, specifying the dimensions and number of players involved.
BoardGameAgent - class org.generation5.ai.BoardGameAgent.
Abstract class designed to facilitate board game agent development.
BoardGameAgent() - Constructor for class org.generation5.ai.BoardGameAgent
Create a new instance of BoardGameAgent.
BoardGameAgent(int) - Constructor for class org.generation5.ai.BoardGameAgent
Create a new instance of BoardGameAgent.
BorderTracingOp - class org.generation5.vision.BorderTracingOp.
Placeholder - this class is not yet implemented!
BorderTracingOp() - Constructor for class org.generation5.vision.BorderTracingOp
Creates a new instance of BorderTracingOp
backColor - Variable in class org.generation5.util.TimeSeries
The background colour.
bestFitnesses - Variable in class org.generation5.bio.GeneticAlgorithm
The best fitness linked list.
boardGame - Variable in class org.generation5.ai.BoardGameAgent
The board game this agent is connected with.
borderList - Variable in class org.generation5.vision.BorderTracingOp
 
bufferPosition - Variable in class org.generation5.bio.CellularAutomata
The buffer position (only 0 or 1).
bufferSize - Variable in class org.generation5.bio.CellularAutomata
The size of the buffer (default = 1)

C

CAAgent - class org.generation5.bio.CAAgent.
Implements a simple CA agent to be used with CellularAutomataLayered, where the CA agent is an embodied entity within the CA world.
CAAgent() - Constructor for class org.generation5.bio.CAAgent
Default constructor.
CAAgent(int, int) - Constructor for class org.generation5.bio.CAAgent
Creates a CA2DInfo instance with positional information.
CAAgent(int, int, int) - Constructor for class org.generation5.bio.CAAgent
Creates a CA2DInfo instance with positional and state information.
CONNECTIVITY_EIGHT - Variable in class org.generation5.vision.BorderTracingOp
 
CONNECTIVITY_FOUR - Variable in class org.generation5.vision.BorderTracingOp
 
COOPERATE - Static variable in class org.generation5.ai.PrisonersDilemmaAgent
Cooperate with partner
CellularAutomata - class org.generation5.bio.CellularAutomata.
This class provides the necessary functionality for simple 2-dimensional cellular automata.
CellularAutomata() - Constructor for class org.generation5.bio.CellularAutomata
Default constructor.
CellularAutomata(int, int) - Constructor for class org.generation5.bio.CellularAutomata
Constructor with size initialization.
CellularAutomata(int, int, int) - Constructor for class org.generation5.bio.CellularAutomata
Constructor with size initialization and setup options.
CellularAutomataLayered - class org.generation5.bio.CellularAutomataLayered.
Expands upon the cellular automata class by adding a separate layer of automata that are independent of the world states.
CellularAutomataLayered() - Constructor for class org.generation5.bio.CellularAutomataLayered
Default constructor.
CellularAutomataLayered(int, int) - Constructor for class org.generation5.bio.CellularAutomataLayered
Create an instance of CellularAutomataLayered with world size information.
CellularAutomataLayered(int, int, int) - Constructor for class org.generation5.bio.CellularAutomataLayered
Create a new instance of CellularAutomataLayered with positional information and optional settings.
ConvolutionFilter - class org.generation5.vision.ConvolutionFilter.
This class implements a convolution filter.
ConvolutionFilter() - Constructor for class org.generation5.vision.ConvolutionFilter
Creates a new instance of ConvolutionFilter
ConvolutionFilter(Kernel) - Constructor for class org.generation5.vision.ConvolutionFilter
Creates a new instance of a convolution filter with the given kernel.
ConwaysLifeCA - class org.generation5.demos.ConwaysLifeCA.
This class implements Conway's Life using the CellularAutomata classes and double-buffering for speed.
ConwaysLifeCA() - Constructor for class org.generation5.demos.ConwaysLifeCA
Default constructor
ConwaysLifeCA(int, int) - Constructor for class org.generation5.demos.ConwaysLifeCA
Constructor with size initializors.
caPercentage - Variable in class org.generation5.demos.TermitesCA
The percentage of the cellular automata within the world.
caSize - Variable in class org.generation5.bio.CellularAutomata
Size of the individual CA cells in pixels.
caWorld - Variable in class org.generation5.bio.CellularAutomata
The world array
caWorld_x - Variable in class org.generation5.bio.CellularAutomata
Width of the CA world
caWorld_y - Variable in class org.generation5.bio.CellularAutomata
Height of the CA world
calculateFitness() - Method in interface org.generation5.bio.Evolvable
Calculate the fitness of this object.
calculateFitness() - Method in class org.generation5.bio.EvolveStandard
The fitness function.
calculateFitness() - Method in class org.generation5.demos.EvoDiophantine
Diophantine fitness is calculated as the error between the target value and the calculated value.
calculateFitness() - Method in class org.generation5.demos.EvoHelloWorld
The fitness is calculated as the sum of the differences between the data string and the target string.
calculateFitness() - Method in class org.generation5.demos.EvoTravellingSalesman
Calculate the fitness of this route.
calculateFitness() - Method in class org.generation5.nn.EvoFeedForwardNN
Calculate the fitness for this network.
calculateGrey(int, int, int) - Method in class org.generation5.vision.GreyscaleFilter
Calculate the grey value according to the grey conversion set.
calculateNet(double[]) - Method in class org.generation5.nn.PerceptronNN
Calculate the sum of the weighted inputs.
calculateRanges() - Method in class org.generation5.util.Plot
Calculates the ranges for the X and Y coordinates.
centroidR - Static variable in class org.generation5.bio.FlockingAgent
 
centroidW - Static variable in class org.generation5.bio.FlockingAgent
 
checkClosed(AStarPathfinder.AStarNode) - Method in class org.generation5.ai.AStarPathfinder
Check the closed list for the given node.
checkOpen(AStarPathfinder.AStarNode) - Method in class org.generation5.ai.AStarPathfinder
Check the open list for a given node.
cityCoordinates - Static variable in class org.generation5.util.TravellingSalesman
The city coordinates.
clearWorld() - Method in class org.generation5.bio.CellularAutomata
Clears the world.
closedGradient - Variable in class org.generation5.ai.AStarMap
The closed list gradient (blue).
clrBackground - Variable in class org.generation5.bio.CellularAutomata
Background colour
clrBackground - Variable in class org.generation5.bio.Flock
The background of the flock.
clrBackground - Variable in class org.generation5.swing.VisStepApplet
The background color.
clrBackground - Variable in class org.generation5.vision.Histogram
The background colour of the visualized histogram
clrGrid - Variable in class org.generation5.bio.CellularAutomata
Colour of the grid, if used
clrStates - Variable in class org.generation5.bio.CellularAutomataLayered
The colours representing the automaton states.
clrWorld - Variable in class org.generation5.bio.CellularAutomata
World colour
collisionDetection - Variable in class org.generation5.bio.CellularAutomataLayered
Collision detection can be used for CellularAutomataLayered-derived classes to ensure that two agents do not occupy the same world position.
colourBins - Variable in class org.generation5.vision.Histogram
The bins for the three colour bands
cols - Variable in class org.generation5.bio.Flock
The number of columns in the flocking world (this is equivalent to pixel width).
cols - Static variable in class org.generation5.bio.FlockingAgent
The height of the flocking agent's world.
columns - Variable in class org.generation5.util.TimeSeries
The number of columns in the time-series diagram.
compareTo(Object) - Method in class org.generation5.bio.EvolveStandard
Compares two EvolveStandard objects and sorts by fitness.
compareTo(Object) - Method in class org.generation5.demos.EvoTravellingSalesman
Implementation for the Comparable interface.
compareTo(Object) - Method in class org.generation5.nn.EvoFeedForwardNN
Compare to another feedforward network.
computeNewHeading(int) - Method in class org.generation5.bio.FlockingAgent
 
connectWith(FFNLayer) - Method in class org.generation5.nn.FFNLayer
Connects this layer with another layer.
connected - Variable in class org.generation5.nn.FFNLayer
The next layer that this layer is connected to.
connectivity - Variable in class org.generation5.vision.BorderTracingOp
 
copyR - Static variable in class org.generation5.bio.FlockingAgent
 
copyW - Static variable in class org.generation5.bio.FlockingAgent
 
correctlyClassified - Variable in class org.generation5.nn.PerceptronNN
The number of correctly
create(BufferedImage) - Method in class org.generation5.vision.Histogram
Create the histogram for a given image.
createChildren(AStarPathfinder.AStarNode) - Method in class org.generation5.ai.AStarPathfinder
Create the children surrounding the current best node.
createCumulative() - Method in class org.generation5.vision.Histogram
Create the cumulative bins.
createGradient() - Method in class org.generation5.util.Gradient
Create the gradient using the current gradient list.
createGradient(int) - Method in class org.generation5.util.Gradient
Create the gradient using the current gradient list.
createKernel(double) - Static method in class org.generation5.vision.GaussianFilter
This creates a gaussian filter with a given standard deviation.
createNodeID(Pathfinder.Node) - Method in interface org.generation5.ai.Navigable
Generate a unique ID for a given node.
createNodeID(Pathfinder.Node) - Method in class org.generation5.util.StandardMap2D
Create the node ID from positional information.
cumulativeBins - Variable in class org.generation5.vision.Histogram
The cumulative histogram bins.
currentIteration - Variable in class org.generation5.bio.GeneticAlgorithm
The current iteration of the genetic algorithm, incremented upon each call to doStep.
currentIteration - Variable in class org.generation5.nn.KohonenTrainer
The current training iteration.
currentState - Variable in class org.generation5.ai.FSM
The current state in the FSM is in.

D

DEFECT - Static variable in class org.generation5.ai.PrisonersDilemmaAgent
Defect against partner
DOUBLE_BUFFERING - Static variable in class org.generation5.bio.CellularAutomata
Double buffering
DOWN - Static variable in class org.generation5.demos.LangtonAntCA
Ant to move down
DO_LINE - Static variable in class org.generation5.vision.Histogram
Draw the histogram as a line
DO_SOLID - Static variable in class org.generation5.vision.Histogram
Draw the histograms as a solid shape.
DREW - Static variable in class org.generation5.ai.PrisonersDilemmaAgent
Drew the last round (returned by run)
DictyosteliumCA - class org.generation5.demos.DictyosteliumCA.
This class implements Conway's Life using the CellularAutomata classes and double-buffering for speed.
DictyosteliumCA() - Constructor for class org.generation5.demos.DictyosteliumCA
Create an instance of the Dicty CA.
DictyosteliumCA(int, int) - Constructor for class org.generation5.demos.DictyosteliumCA
Create an instance of the Dicty CA with size information.
DirectedCAAgent - class org.generation5.bio.DirectedCAAgent.
An extension of CAAgent that adds a directional functionality.
DirectedCAAgent() - Constructor for class org.generation5.bio.DirectedCAAgent
Creates a new instance of DirectedCAAgent
DirectedCAAgent(int, int, int) - Constructor for class org.generation5.bio.DirectedCAAgent
 
DirectedCAAgent(int, int, int, int) - Constructor for class org.generation5.bio.DirectedCAAgent
 
dataInteger - Variable in class org.generation5.bio.CAAgent
An integer to be used at programmer's discretion.
dataString - Variable in class org.generation5.demos.EvoHelloWorld
The mutable data string.
datasetColors - Variable in class org.generation5.util.Plot2D
The colours to use for the different data-sets.
ddt - Static variable in class org.generation5.bio.FlockingAgent
 
deltaK - Variable in class org.generation5.nn.KohonenTrainer
The amount at which k should be reduced.
direction - Variable in class org.generation5.bio.DirectedCAAgent
 
dist(double, double, double, double) - Static method in class org.generation5.bio.FlockingAgent
 
doAnimate() - Method in class org.generation5.ai.TuringMachine
doAnimate animates the Turing Machine transitioning from one tape position to the next.
doStep() - Method in interface org.generation5.Steppable
Move the class forward one time-step.
doStep() - Method in class org.generation5.ai.AStarPathfinder
Iterate the pathfinder through one step.
doStep() - Method in class org.generation5.ai.BoardGame
Step the board game.
doStep() - Method in class org.generation5.ai.TuringMachine
Steps the Turing Machine using the tape position and input tape: transition(inputTape.charAt(tapePosition));
doStep() - Method in class org.generation5.bio.CellularAutomata
This abstract function is where the main workings of the CA should take place.
doStep() - Method in class org.generation5.bio.Flock
Advance the boids world by one time-step.
doStep() - Method in class org.generation5.bio.GeneticAlgorithm
Steps through one iteration of the genetic algorithm.
doStep() - Method in class org.generation5.demos.ConwaysLifeCA
Advance the world one timestep.
doStep() - Method in class org.generation5.demos.DictyosteliumCA
Advance the world forward one time-step.
doStep() - Method in class org.generation5.demos.LangtonAntCA
Advance the ants one timestep.
doStep() - Method in class org.generation5.demos.LangtonLoopCA
Iterate the loop one timestep.
doStep() - Method in class org.generation5.demos.SpatialIPD
Advance the Spatial IPD one timestep.
doStep() - Method in class org.generation5.demos.SwarmAntCA
 
doStep() - Method in class org.generation5.demos.TermitesCA
Advances the world by one timestep.
doStep() - Method in class org.generation5.demos.WireWorldCA
Iterate the CA one time-step.
doStep() - Method in class org.generation5.demos.Wolfram1DCA
Advance the world by one timestep.
doStep() - Method in class org.generation5.nn.KohonenTrainer
Iterates one step of the Kohonen training algorithm.
doStep() - Method in class org.generation5.nn.NeuralNetworkTrainer
Advance the training one step.
dot(double, double, double, double) - Static method in class org.generation5.bio.FlockingAgent
 
doubleBuffering - Variable in class org.generation5.bio.CellularAutomata
A quick way to ascertain whether double buffering is enabled
drawAxes - Variable in class org.generation5.util.Plot
Draw the axes.
drawAxes(Graphics, int, int) - Method in class org.generation5.util.Plot
Draws the axes on the given graphics context.
drawFlags - Variable in class org.generation5.util.TimeSeries
The drawing options for the diagram.
drawGrid - Variable in class org.generation5.bio.CellularAutomata
Toggle to draw a grid - note this does NOT expand CA cell sizes, so caSize must be set to 3 or higher
drawGrid(boolean) - Method in class org.generation5.bio.CellularAutomata
Set or reset the drawGrid flag.
drawLSystem(String, double, int, Graphics) - Method in class org.generation5.bio.LSystem
Draws the L-System itself.
drawOptions - Variable in class org.generation5.vision.Histogram
Additional options for drawing.
dt - Static variable in class org.generation5.bio.FlockingAgent
 

E

ENCLOSED - Static variable in class org.generation5.bio.CellularAutomata
Enclosed geometry.
ERROR_DIFFUSION - Static variable in class org.generation5.vision.ThresholdFilter
Error-diffusion thresholding.
EqualizeFilter - class org.generation5.vision.EqualizeFilter.
This filter performs histogram equalization on their a greyscale or RGB image.
EqualizeFilter() - Constructor for class org.generation5.vision.EqualizeFilter
Creates a new instance of EqualizeFilter
EvoDiophantine - class org.generation5.demos.EvoDiophantine.
EvoDiophantine is an example of a genetic algorithm solving a diophantine equation.
EvoDiophantine() - Constructor for class org.generation5.demos.EvoDiophantine
Creates a new instance of EvoDiophantine
EvoFeedForwardNN - class org.generation5.nn.EvoFeedForwardNN.
This class implements an evolutionary feedforward network.
EvoFeedForwardNN(int) - Constructor for class org.generation5.nn.EvoFeedForwardNN
Creates a new instance of EvoFeedForwardNN
EvoHelloWorld - class org.generation5.demos.EvoHelloWorld.
Attempts to evolve a target string, defaulting to "Hello World!".
EvoHelloWorld() - Constructor for class org.generation5.demos.EvoHelloWorld
Creates a new instance of EvoHelloWorld
EvoTravellingSalesman - class org.generation5.demos.EvoTravellingSalesman.
This class implements a simple evolvable solution to the travelling salesman problem.
EvoTravellingSalesman() - Constructor for class org.generation5.demos.EvoTravellingSalesman
Creates a new instance of EvoTravellingSalesman
Evolvable - interface org.generation5.bio.Evolvable.
This interface allows any class to be evolvable by GeneticAlgorithm.
EvolveStandard - class org.generation5.bio.EvolveStandard.
EvolveStandard implements the Evolvable interface and provides default behaviour for fitness values, as well as providing the necessary Comparable implementation for sorting in both ascending and descending order.
EvolveStandard() - Constructor for class org.generation5.bio.EvolveStandard
Creates a new instance of EvolveStandard
elitePercentage - Variable in class org.generation5.bio.GeneticAlgorithm
The percentage of elites to copy to the new population (defaults to 0.05, or 5%).
errorDiffusion(BufferedImage, BufferedImage) - Method in class org.generation5.vision.ThresholdFilter
Performs error diffusion.

F

FFNHiddenLayer - class org.generation5.nn.FFNHiddenLayer.
This class implements a hidden layer for a feedforward network.
FFNHiddenLayer(int) - Constructor for class org.generation5.nn.FFNHiddenLayer
Creates a new instance of FFNHiddenLayer
FFNInputLayer - class org.generation5.nn.FFNInputLayer.
This class implements the input layer for the feedforward network.
FFNInputLayer(int) - Constructor for class org.generation5.nn.FFNInputLayer
Creates a new instance of FFNInputLayer
FFNLayer - class org.generation5.nn.FFNLayer.
An abstract class for the feedforward layers.
FFNLayer() - Constructor for class org.generation5.nn.FFNLayer
Creates a new instance of FFNLayer
FFNOutputLayer - class org.generation5.nn.FFNOutputLayer.
This class implements the output layer for the feedforward network.
FFNOutputLayer() - Constructor for class org.generation5.nn.FFNOutputLayer
Creates a new instance of FFNOutputLayer
FIRST - Static variable in class org.generation5.ai.InfluenceMap
Select the first maximum value.
FSM - class org.generation5.ai.FSM.
Implements a finite-state machine.
FSM() - Constructor for class org.generation5.ai.FSM
Creates a new instance of FSM
FSM(int) - Constructor for class org.generation5.ai.FSM
Creates a new instance of FSM, with the maximum number of allowed states.
FSM(FSM.State) - Constructor for class org.generation5.ai.FSM
Creates a new instance of FSM with an initial state.
FSM(int, FSM.State) - Constructor for class org.generation5.ai.FSM
Creates a new instance of FSM with an initial state and the maximum allowed states.
FSM.State - class org.generation5.ai.FSM.State.
The FSM states.
FSM.State() - Constructor for class org.generation5.ai.FSM.State
Create a new instance of State.
FSM.State(String) - Constructor for class org.generation5.ai.FSM.State
Create a new instance of State, with the state name.
FSM.State(String, double, double) - Constructor for class org.generation5.ai.FSM.State
Create a new instance of the State with name and positional information.
FeedForwardNN - class org.generation5.nn.FeedForwardNN.
A simple implementation of a feedforward network.
FeedForwardNN(int) - Constructor for class org.generation5.nn.FeedForwardNN
Creates a new instance of FeedForwardNN
Filter - class org.generation5.vision.Filter.
This class provides abstract functionality for image processing filter operations.
Filter() - Constructor for class org.generation5.vision.Filter
 
Flock - class org.generation5.bio.Flock.
This class groups FlockingAgent into one flock.
Flock(int, int, int) - Constructor for class org.generation5.bio.Flock
Create a new instance of Flock with size information.
FlockingAgent - class org.generation5.bio.FlockingAgent.
Implements an agent that flocks with other similar agents.
FlockingAgent() - Constructor for class org.generation5.bio.FlockingAgent
Creates a new instance of FlockingAgent.
f - Variable in class org.generation5.ai.AStarPathfinder.AStarNode
The f-value.
featureVectors - Variable in class org.generation5.nn.KohonenNN
The number of feature vectors
filter(BufferedImage, BufferedImage) - Method in class org.generation5.vision.BorderTracingOp
 
filter(BufferedImage, BufferedImage) - Method in class org.generation5.vision.ConvolutionFilter
Convolve the image using the kernel.
filter(BufferedImage, BufferedImage) - Method in class org.generation5.vision.EqualizeFilter
Equalizes an images using its histogram.
filter(BufferedImage, BufferedImage) - Method in class org.generation5.vision.Filter
Perform a filter operation.
filter(BufferedImage) - Method in class org.generation5.vision.Filter
Allows filter to be called with null as the output image by default.
filter(BufferedImage, BufferedImage) - Method in class org.generation5.vision.GreyscaleFilter
Convert an RGB image to greyscale.
filter(BufferedImage, BufferedImage) - Method in class org.generation5.vision.InvertFilter
Invert the input image.
filter(BufferedImage) - Method in class org.generation5.vision.MeanFilter
Blur the image using the mean kernel.
filter(BufferedImage, BufferedImage) - Method in class org.generation5.vision.NoiseFilter
Apply noise to the input image.
filter(BufferedImage, BufferedImage) - Method in class org.generation5.vision.RankFilter
Rank filter an image.
filter(BufferedImage, BufferedImage) - Method in class org.generation5.vision.SobelEdgeDetectorFilter
Run the edge detection algorithm on the image passed.
filter(BufferedImage, BufferedImage) - Method in class org.generation5.vision.ThresholdFilter
Threshold the image according to the mode selected.
fitnessValue - Variable in class org.generation5.bio.EvolveStandard
The fitness value.
fitnessValue - Variable in class org.generation5.demos.EvoTravellingSalesman
The fitness value.
fitnessValue - Variable in class org.generation5.nn.EvoFeedForwardNN
The fitness value for this feedforward network.
flip(int, int) - Method in class org.generation5.demos.EvoTravellingSalesman
Flip two route positions.
flipBuffer() - Method in class org.generation5.bio.CellularAutomata
This function must be called when using double-buffering to swap the buffers around.
flipBuffer() - Method in class org.generation5.bio.GeneticAlgorithm
Flips the genetic algorithm buffer.
flock - Variable in class org.generation5.bio.Flock
The actual flocking agent array.
foodSize - Variable in class org.generation5.demos.SwarmAntCA
 
fsmStates - Variable in class org.generation5.ai.FSM
An array of the states in the finite-state machine.
function(double) - Method in class org.generation5.nn.Activation.None
Returns the weight.
function(double) - Method in class org.generation5.nn.Activation.Sigmoid
Return f(x) = 1/(1+e-x.
function(double) - Method in class org.generation5.nn.Activation.Stepped
Return 1.0 for any value greater than 0.0, otherwise 0.0.
function(double) - Method in class org.generation5.nn.Activation.Tanh
Return f(x) = ex-e-x) /(ex+e-x.
function(double) - Method in interface org.generation5.nn.Activation
The activation function.

G

GAUSSIAN - Static variable in class org.generation5.vision.NoiseFilter
Create Gaussian noise.
GaussianFilter - class org.generation5.vision.GaussianFilter.
Implements simple Gaussian smoothing.
GaussianFilter() - Constructor for class org.generation5.vision.GaussianFilter
Creates a new instance of GaussianFilter
GaussianFilter(double) - Constructor for class org.generation5.vision.GaussianFilter
Creates a new instance of GaussianFilter, with the standard deviation.
GeneticAlgorithm - class org.generation5.bio.GeneticAlgorithm.
GeneticAlgorithm will evolve anything that implements the Evolvable interface.
GeneticAlgorithm() - Constructor for class org.generation5.bio.GeneticAlgorithm
Creates a new instance of GeneticAlgorithm
GeneticAlgorithm(Evolvable[]) - Constructor for class org.generation5.bio.GeneticAlgorithm
Create a instance of the genetic algorithm with an initial population.
Gradient - class org.generation5.util.Gradient.
This class provides a method of creating a smooth gradient between up to 10 evenly distributed colour points.
Gradient() - Constructor for class org.generation5.util.Gradient
Creates a new instance of Gradient.
GreyscaleFilter - class org.generation5.vision.GreyscaleFilter.
This class converts an RGB colour to a greyscale image.
GreyscaleFilter() - Constructor for class org.generation5.vision.GreyscaleFilter
Creates a new instance of GreyscaleFilter
g - Variable in class org.generation5.ai.AStarPathfinder.AStarNode
The g-value.
gameAgents - Variable in class org.generation5.ai.BoardGame
The game agents.
gameBoard - Variable in class org.generation5.ai.BoardGame
The game board.
gaussianNoise(BufferedImage, BufferedImage) - Method in class org.generation5.vision.NoiseFilter
Add gaussian noise to the input image.
generateSnapshots(int, int) - Method in class org.generation5.util.AutoTimeSeries
This method generates the time-series snapshots.
geometryType - Variable in class org.generation5.bio.CellularAutomata
Geometry type.
getAccumulatorImage() - Method in class org.generation5.vision.HoughTransformOp
Return a BufferedImage of the accumulator.
getAccumulatorImage() - Method in class org.generation5.vision.LineHoughTransformOp
Returns the accumulator as an image.
getAt(int, int) - Method in class org.generation5.ai.InfluenceMap
Return the value of the influence map at a given coordinate.
getAverageFitness() - Method in class org.generation5.bio.GeneticAlgorithm
Return the average fitness of this generation.
getAverageFitnesses() - Method in class org.generation5.bio.GeneticAlgorithm
Return the average fitness linked list.
getAxiom() - Method in class org.generation5.bio.LSystem
Retrieve the axiom used.
getBackground() - Method in class org.generation5.swing.VisualizationPanel
Retrieve the background colour.
getBackgroundColor() - Method in class org.generation5.bio.CellularAutomata
Retrieve the background color.
getBackgroundColor() - Method in class org.generation5.bio.Flock
Retrieve the background color.
getBest() - Method in class org.generation5.ai.AStarPathfinder
Assigns the best node from the open list.
getBest() - Method in class org.generation5.bio.GeneticAlgorithm
Retrieves the best Evolvable in the population.
getBestFitness() - Method in class org.generation5.bio.GeneticAlgorithm
Retrieves the best fitness level.
getBestFitnesses() - Method in class org.generation5.bio.GeneticAlgorithm
Return the best fitness linked list.
getBestNode() - Method in class org.generation5.ai.AStarPathfinder
Returns the current best node.
getBoardAt(int, int) - Method in class org.generation5.ai.BoardGame
Return the board value.
getBoardGame() - Method in class org.generation5.ai.BoardGameAgent
Return the board game associated with this agent.
getBoolParameter(String, boolean) - Method in class org.generation5.swing.VisStepApplet
Retrieves a boolean parameter, with a default setting if the parameter is null.
getCA(int) - Method in class org.generation5.bio.CellularAutomataLayered
Retrieve the corresponding CAAgent, which in turn holds positional, state and other information.
getCASize() - Method in class org.generation5.bio.CellularAutomata
Returns the CA size
getCity(int) - Static method in class org.generation5.util.TravellingSalesman
Return the specified city coordinates.
getCityDistance(int, int) - Static method in class org.generation5.util.TravellingSalesman
Retrieves the distance between two cities.
getClosed() - Method in class org.generation5.ai.AStarPathfinder
Return the closed list.
getClosestNeuron(double[]) - Method in class org.generation5.nn.KohonenNN
Retrieves the closest neuron to the input point.
getCollisionDetection() - Method in class org.generation5.bio.CellularAutomataLayered
Returns the collision detection status of this cellular automata world.
getColour(int) - Method in class org.generation5.util.Gradient
Return the ith colour in the gradient.
getCorrectlyClassified() - Method in class org.generation5.nn.PerceptronNN
Return the number of correctly classified training instances.
getCorrectlyClassified(boolean) - Method in class org.generation5.nn.PerceptronNN
Return the number of correctly classified training instances.
getCost(Pathfinder.Node, Pathfinder.Node) - Method in interface org.generation5.ai.Navigable
Return the cost to travel from node 1 to node 2.
getCost(Pathfinder.Node, Pathfinder.Node) - Method in class org.generation5.util.StandardMap2D
 
getCountOf(int) - Method in class org.generation5.ai.BoardGame
Return the number of values with a specified value (player ID).
getCumulativeFrequencies(int) - Method in class org.generation5.vision.Histogram
Returns the array of cumulative frequencies for the given colour band.
getCumulativeFrequency(int, int) - Method in class org.generation5.vision.Histogram
Retrieve the cumulative histogram data.
getCumulativeFrequency(int) - Method in class org.generation5.vision.Histogram
Return a cumulative frequency at a given index for band 0.
getCurrentIteration() - Method in class org.generation5.bio.GeneticAlgorithm
Return the current iteration of the genetic algorithm.
getCurrentIteration() - Method in class org.generation5.nn.KohonenTrainer
Returns the current iteration.
getCurrentPopulation() - Method in class org.generation5.bio.GeneticAlgorithm
Return the current population (double-buffering taken into account).
getCurrentState() - Method in class org.generation5.ai.FSM
Return the current state the FSM is in.
getDX() - Method in class org.generation5.bio.DirectedCAAgent
 
getDY() - Method in class org.generation5.bio.DirectedCAAgent
 
getDblParameter(String, double) - Method in class org.generation5.swing.VisStepApplet
Retrieves a double parameter, with a default setting if the parameter is null.
getDimensionX() - Static method in class org.generation5.util.TravellingSalesman
Retrieve the x-dimension.
getDimensionY() - Static method in class org.generation5.util.TravellingSalesman
Retrieve the y-dimension.
getDirection() - Method in class org.generation5.bio.DirectedCAAgent
 
getDirection(int, int) - Static method in class org.generation5.bio.DirectedCAAgent
 
getDistance(Pathfinder.Node, Pathfinder.Node) - Method in interface org.generation5.ai.Navigable
Return the distance between the node 1 and node 2.
getDistance(Pathfinder.Node, Pathfinder.Node) - Method in class org.generation5.util.StandardMap2D
 
getFeatureVectors() - Method in class org.generation5.nn.KohonenNN
 
getFitness() - Method in interface org.generation5.bio.Evolvable
Return the fitness of this object.
getFitness() - Method in class org.generation5.bio.EvolveStandard
Retrieve the fitness of this instance.
getFitness() - Method in class org.generation5.demos.EvoDiophantine
Return the fitness of this object.
getFitness() - Method in class org.generation5.demos.EvoTravellingSalesman
Return the fitness of this route.
getFitness() - Method in class org.generation5.nn.EvoFeedForwardNN
Return the fitness value for this network.
getFrequencies(int) - Method in class org.generation5.vision.Histogram
Return the frequencies for a given band.
getFrequency(int, int) - Method in class org.generation5.vision.Histogram
Retrieve the current histogram data.
getFrequency(int) - Method in class org.generation5.vision.Histogram
Retrieve the frequency for a given band (band 0).
getGaussianStdDev() - Method in class org.generation5.vision.NoiseFilter
Get the gaussian standard deviation.
getGeometry() - Method in class org.generation5.bio.CellularAutomata
Retrieve the current geometry type
getGoal() - Method in class org.generation5.ai.AStarPathfinder
Returns the goal node.
getGradient() - Method in class org.generation5.util.Gradient
Return the entire gradient as a Color array.
getHeight() - Method in class org.generation5.ai.BoardGame
Get the height of the board.
getHeight() - Method in class org.generation5.ai.InfluenceMap
Return the height of the influence map.
getHeight() - Method in class org.generation5.nn.KohonenNN
Return the height of the network.
getHeight() - Method in class org.generation5.util.StandardMap2D
Return the height of the map.
getImpulseRatio() - Method in class org.generation5.vision.NoiseFilter
Get the impulse frequency.
getInitialState() - Method in class org.generation5.demos.Wolfram1DCA
Retrieves the inital state type - either random or midpoint.
getIntParameter(String, int, int) - Method in class org.generation5.swing.VisStepApplet
Retrieves an integer parameter, with a default setting if the parameter is null.
getIntParameter(String, int) - Method in class org.generation5.swing.VisStepApplet
Retrieves an integer parameter, with a default setting if the parameter is null.
getK() - Method in class org.generation5.nn.KohonenNN
Retrieve the K-value.
getKernel() - Method in class org.generation5.vision.ConvolutionFilter
Return the kernel currently set.
getLineColor() - Method in class org.generation5.vision.LineHoughTransformOp
Get the line colour used.
getLocalPeakNeighbourhood() - Method in class org.generation5.vision.LineHoughTransformOp
Get the local peak neighbourhood.
getMachineState() - Method in class org.generation5.ai.TuringMachine
Return the current machine state.
getMaximum(int) - Method in class org.generation5.ai.InfluenceMap
Returns the maximum value.
getMaximum() - Method in class org.generation5.vision.Histogram
Return the maximum values for each band in the histogram.
getMaximum() - Method in class org.generation5.vision.LineHoughTransformOp
Get the maximum value in the accumulator.
getMaximumDataPoints() - Method in class org.generation5.bio.GeneticAlgorithm
Returns the maximum number of data points the GA is logging.
getMaximumX() - Method in class org.generation5.util.Plot
Return the maximum X-coordinate.
getMaximumY() - Method in class org.generation5.util.Plot
Get the maximum Y-coordinate.
getMean() - Method in class org.generation5.vision.Histogram
Returns the mean values for each band in the histogram.
getMinimumX() - Method in class org.generation5.util.Plot
Return the minimum X-coordinate.
getMinimumY() - Method in class org.generation5.util.Plot
Return the minimum Y-coordinate.
getMostFrequent() - Method in class org.generation5.vision.Histogram
This method returns the most frequent bucket for each band in the histogram.
getMove() - Method in class org.generation5.ai.PrisonersDilemmaAgent
Retrieve the agent's next move according to the current strategy.
getMutationRate() - Method in class org.generation5.bio.GeneticAlgorithm
Retrieve the current mutation rate.
getNeighbourhoodRadius() - Method in class org.generation5.nn.KohonenNN
Retrieve the neighbourhood radius.
getNeighbourhoodSize() - Method in class org.generation5.vision.MeanFilter
Retrieve the current neighbourhood size.
getNeighbourhoodSize() - Method in class org.generation5.vision.RankFilter
Get the neighbourhood size.
getNetwork() - Method in class org.generation5.nn.KohonenTrainer
Return the network being used.
getNetwork() - Method in class org.generation5.nn.NeuralNetworkTrainer
Return the network being used.
getNoiseRate() - Method in class org.generation5.demos.SpatialIPD
Retrieve the noise rate.
getNoiseType() - Method in class org.generation5.vision.NoiseFilter
Get the noise type.
getNumCAs() - Method in class org.generation5.bio.CellularAutomataLayered
Retrieve the number of automata in the world, this should be equal to the number of calls to addAutomaton.
getOpen() - Method in class org.generation5.ai.AStarPathfinder
Return the open list.
getOutput() - Method in class org.generation5.nn.FFNLayer
Retrieve the outputs for this layer.
getParent() - Method in class org.generation5.ai.AStarPathfinder.AStarNode
Return the parent node.
getPathfinder() - Method in class org.generation5.ai.AStarMap
Return the pathfinder being used.
getPhase() - Method in class org.generation5.nn.KohonenTrainer
Return the phase being used by the Kohonen network (1 or 2).
getPieceSize() - Method in class org.generation5.ai.BoardGame
Return the piece size.
getPlayerID() - Method in class org.generation5.ai.BoardGameAgent
Get the player ID.
getPoints() - Method in class org.generation5.ai.PrisonersDilemmaAgent
Retrieve the number of points that the agent has acquired.
getPositionX() - Method in class org.generation5.ai.FSM.State
Retrieve the x-position of the state.
getPositionY() - Method in class org.generation5.ai.FSM.State
Retrieve the y-position of the state.
getRGBDeltas(Color, Color, int) - Method in class org.generation5.util.Gradient
Calculate the RGB deltas between two different colour values and over a given number of timesteps.
getRangeX() - Method in class org.generation5.util.Plot
Return the X-range.
getRangeY() - Method in class org.generation5.util.Plot
Return the Y-range.
getRankPosition() - Method in class org.generation5.vision.RankFilter
Get the rank position.
getRenderSize() - Method in class org.generation5.ai.FSM
Return the current render size.
getRenderSize() - Method in class org.generation5.util.StandardMap2D
Return the render size of the map.
getRule(char) - Method in class org.generation5.bio.LSystem
Retrieve the rule for the specified letter.
getRules() - Method in class org.generation5.demos.Wolfram1DCA
Return the rule specifier.
getSize(double) - Static method in class org.generation5.vision.GaussianFilter
Calculate the size of the kernel required for the standard deviation passed.
getSizeX() - Method in class org.generation5.bio.CellularAutomata
Return the world x-size.
getSizeY() - Method in class org.generation5.bio.CellularAutomata
Return the world y-size.
getSnapshots() - Method in class org.generation5.util.TimeSeries
Return the number of snapshots currently stored.
getStandardDeviation() - Method in class org.generation5.vision.GaussianFilter
Get the standard deviation.
getStandardDeviation() - Method in class org.generation5.vision.Histogram
Returns the standard deviations for each band in the histogram.
getStart() - Method in class org.generation5.ai.AStarPathfinder
Returns the start node.
getState(int) - Method in class org.generation5.ai.FSM
Retrieve the given state from the FSM.
getState() - Method in class org.generation5.bio.CAAgent
 
getStates() - Method in class org.generation5.ai.FSM
Return the number of states in the FSM.
getStatus() - Method in class org.generation5.ai.AStarPathfinder
Return the current status of the pathfinder.
getStatus(int) - Method in class org.generation5.ai.BoardGame
Return the status of this game.
getStatus() - Method in class org.generation5.ai.BoardGame
Simply calls getStatus(0)
getStrParameter(String, String) - Method in class org.generation5.swing.VisStepApplet
Retrieves a string parameter, with a default setting if the parameter is null.
getStrategy() - Method in class org.generation5.ai.PrisonersDilemmaAgent
Retrieve the strategy the PD agent.
getSuperimposed(BufferedImage, double) - Method in class org.generation5.vision.HoughTransformOp
Return an image of the Hough Transform results superimposed on the input image.
getSuperimposed(BufferedImage, double) - Method in class org.generation5.vision.LineHoughTransformOp
Returns the superimposed image.
getTape() - Method in class org.generation5.ai.TuringMachine
Return the input tape in non-mutable String form.
getTargetString() - Static method in class org.generation5.demos.EvoHelloWorld
Return the target string being evolved.
getThresholdLimit() - Method in class org.generation5.vision.ThresholdFilter
Retrieve the thresholding limit for one- or two-point thresholding.
getThresholdMode() - Method in class org.generation5.vision.ThresholdFilter
Return the threshold mode.
getTotalPlayers() - Method in class org.generation5.ai.BoardGame
Get the total number of participating players.
getTrainingPoint() - Method in class org.generation5.nn.KohonenTrainer
Abstract method to allow a deriving class to return a valid training point.
getUnitCount() - Method in class org.generation5.nn.FFNHiddenLayer
 
getUnitCount() - Method in class org.generation5.nn.FFNInputLayer
 
getUnitCount() - Method in class org.generation5.nn.FFNLayer
Get the number of units in this layer.
getUnitCount() - Method in class org.generation5.nn.FFNOutputLayer
 
getUpperLimit() - Method in class org.generation5.vision.ThresholdFilter
Retrieve the upper threshold limit for two-point thresholding.
getVisualization() - Method in class org.generation5.nn.NeuralNetwork
Return the current visualization.
getWeight(int) - Method in class org.generation5.nn.PerceptronNN
Return the perceptron weight at the given index.
getWeights() - Method in class org.generation5.nn.KohonenNN
Return the array of PlotPoints used to store the weights.
getWidth() - Method in class org.generation5.ai.BoardGame
Get the width of the board.
getWidth() - Method in class org.generation5.ai.InfluenceMap
Return the width of the influence map.
getWidth() - Method in class org.generation5.nn.KohonenNN
Return the width of the network.
getWidth() - Method in class org.generation5.util.StandardMap2D
Return the width of the map.
getWorldAt(int, int) - Method in class org.generation5.bio.CellularAutomata
Returns the pixel state at a given position.
getX() - Method in class org.generation5.ai.AStarPathfinder.AStarNode
Return the x-position of the node.
getX() - Method in interface org.generation5.ai.Pathfinder.Node
 
getX() - Method in class org.generation5.bio.CAAgent
 
getY() - Method in class org.generation5.ai.AStarPathfinder.AStarNode
Return the y-position of the node.
getY() - Method in interface org.generation5.ai.Pathfinder.Node
 
getY() - Method in class org.generation5.bio.CAAgent
 
goals - Variable in class org.generation5.demos.SwarmAntCA
 
greyscaleType - Variable in class org.generation5.vision.GreyscaleFilter
The greyscale type (BT709, Y or RMY)
gridPoints1 - Variable in class org.generation5.util.PlotGrid
A two dimensional array of the grid points.
gridPoints2 - Variable in class org.generation5.util.PlotGrid
The grid points as a three-dimensional array of doubles.
gx - Variable in class org.generation5.ai.AStarMap
Goal x-position.
gy - Variable in class org.generation5.ai.AStarMap
Goal y-position.

H

HISTOGRAM - Static variable in class org.generation5.util.Plot2D
Draw the data-series as a histogram
Histogram - class org.generation5.vision.Histogram.
This class provides a simple way of calculating a histogram for a given image.
Histogram() - Constructor for class org.generation5.vision.Histogram
Creates a new instance of Histogram
Histogram(BufferedImage) - Constructor for class org.generation5.vision.Histogram
Creates a new instance of Histogram, as well as specifying an image to calculate a histogram for.
Histogram(BufferedImage, int) - Constructor for class org.generation5.vision.Histogram
As Histogram(BufferedImage) with additional drawing options.
HoughTransformOp - class org.generation5.vision.HoughTransformOp.
This abstract class is for subclasses to implement different derivates of Hough Transforms.
HoughTransformOp() - Constructor for class org.generation5.vision.HoughTransformOp
Creates a new instance of HoughTransform
h - Variable in class org.generation5.ai.AStarPathfinder.AStarNode
The h-value.
hasFinished - Variable in class org.generation5.nn.KohonenTrainer
Denotes whether the network has finished training.
height - Variable in class org.generation5.ai.BoardGame
The height of the board.
height - Variable in class org.generation5.nn.KohonenNN
The height of the network.
height - Variable in class org.generation5.util.StandardMap2D
The height of the map.
houghAccumulator - Variable in class org.generation5.vision.LineHoughTransformOp
The accumulator.

I

IMPULSE - Static variable in class org.generation5.vision.NoiseFilter
Create impulse noise.
INFINITE - Static variable in class org.generation5.bio.CellularAutomata
Infinite geometry (unsupported)
INNER_BORDER - Static variable in class org.generation5.util.TimeSeries
Draw inner borders.
INNER_TRACE - Variable in class org.generation5.vision.BorderTracingOp
 
IN_PROGRESS - Static variable in class org.generation5.ai.AStarPathfinder
Returned by getStatus if the pathfinder is still running.
ImageHelper - class org.generation5.util.ImageHelper.
This utility class provides simple helper functions to aid image loading, saving and rendering within the Generation5 classes.
ImageHelper() - Constructor for class org.generation5.util.ImageHelper
Creates a new instance of ImageHelper
InfluenceMap - class org.generation5.ai.InfluenceMap.
A class encapsulating basic influence mapping functionality.
InfluenceMap() - Constructor for class org.generation5.ai.InfluenceMap
Creates a new instance of InfluenceMap
InfluenceMap(int, int) - Constructor for class org.generation5.ai.InfluenceMap
Create a new instance of InfluenceMap with size information.
InvertFilter - class org.generation5.vision.InvertFilter.
This filter inverts an image.
InvertFilter() - Constructor for class org.generation5.vision.InvertFilter
Creates a new instance of InvertFilter
imgArray - Variable in class org.generation5.util.TimeSeries
The image linked list.
impulseNoise(BufferedImage, BufferedImage) - Method in class org.generation5.vision.NoiseFilter
Add impulse noise to the image.
impulseRatio - Variable in class org.generation5.vision.NoiseFilter
The frequency of the impulse noise.
inPopulation() - Method in class org.generation5.bio.GeneticAlgorithm
The current population
incrementAt(int, int, int) - Method in class org.generation5.ai.InfluenceMap
Increment the influence map by a given increment.
influenceGradient - Variable in class org.generation5.ai.BoardGame
The gradient used to render the influence map.
influenceMap - Variable in class org.generation5.ai.InfluenceMap
The influence map itself.
init() - Method in interface org.generation5.Steppable
A standard initialization function.
init() - Method in class org.generation5.ai.AStarPathfinder
Initialize the pathfinder.
init() - Method in class org.generation5.ai.BoardGame
Initialize the board game.
init() - Method in class org.generation5.ai.BoardGameAgent
Initialize the agent.
init() - Method in class org.generation5.ai.TuringMachine
Initializes the Turing Machine to its default settings.
init() - Method in class org.generation5.bio.CellularAutomata
This abstract function is where the initialization of the CA should take place.
init() - Method in class org.generation5.bio.Flock
 
init() - Method in class org.generation5.bio.GeneticAlgorithm
Initialize the genetic algorithm.
init() - Method in class org.generation5.demos.ConwaysLifeCA
Randomly initializes the world.
init() - Method in class org.generation5.demos.DictyosteliumCA
Initialize the world.
init() - Method in class org.generation5.demos.LangtonAntCA
Initializes the world with one ant in the centre of the world.
init() - Method in class org.generation5.demos.LangtonLoopCA
Initialize the Langton loop.
init() - Method in class org.generation5.demos.SpatialIPD
Initialize the world to a random collection of strategies.
init() - Method in class org.generation5.demos.SwarmAntCA
 
init() - Method in class org.generation5.demos.TermitesCA
Initializes the world.
init() - Method in class org.generation5.demos.WireWorldCA
Initialize WireWorld.
init() - Method in class org.generation5.demos.Wolfram1DCA
Initializes the 1D CA.
init() - Method in class org.generation5.nn.KohonenTrainer
Initializes the trainer.
init() - Method in class org.generation5.nn.NeuralNetworkTrainer
Initialize the training algorithm.
init() - Method in class org.generation5.swing.VisStepApplet
Initializes the applet.
initMisc(Random, int, int, double, double, double) - Static method in class org.generation5.bio.FlockingAgent
 
initRadii(double, double, double, double) - Static method in class org.generation5.bio.FlockingAgent
 
initTime(double, double) - Static method in class org.generation5.bio.FlockingAgent
 
initWeights(double, double, double, double, double) - Static method in class org.generation5.bio.FlockingAgent
 
initialState - Variable in class org.generation5.demos.Wolfram1DCA
The initial state of the CA, either RANDOM or MIDPOINT.
initialize() - Method in class org.generation5.nn.FeedForwardNN
Initialize the network.
initialize() - Method in class org.generation5.nn.KohonenNN
Initialize the network.
initialize(double, double) - Method in class org.generation5.nn.KohonenNN
Initialize the network.
initialize() - Method in class org.generation5.nn.NeuralNetwork
Initialize the neural network.
initialize() - Method in class org.generation5.nn.PerceptronNN
Initialize the perceptron.
initializeRules() - Method in class org.generation5.bio.LSystem
Initializes the rules to be self-referential, essentially resetting them.
innerBorder - Variable in class org.generation5.util.TimeSeries
The inner border colour.
innerBorder(BufferedImage, BufferedImage) - Method in class org.generation5.vision.BorderTracingOp
 
inputData - Variable in class org.generation5.nn.EvoFeedForwardNN
The input test data.
inputTape - Variable in class org.generation5.ai.TuringMachine
The input tape.
ipdAgents - Variable in class org.generation5.demos.SpatialIPD
The agents used in the world.
isCellFree(int, int) - Method in class org.generation5.bio.CellularAutomataLayered
Check to see if a world cell is free or not.
isComplete() - Method in class org.generation5.nn.KohonenTrainer
Returns whether the training is complete (hasFinished).
isComplete() - Method in class org.generation5.nn.NeuralNetworkTrainer
Returns true is training is complete.
isGreyscale - Variable in class org.generation5.vision.Histogram
Is the image greyscale?
isGreyscale() - Method in class org.generation5.vision.Histogram
Has this histogram been created for a greyscale image?
isRunning - Variable in class org.generation5.swing.VisStepApplet
Denotes whether the applet is running.
isSelfReferring() - Method in class org.generation5.ai.FSM.State
Is this node self-referential?
isValid(Pathfinder.Node) - Method in interface org.generation5.ai.Navigable
Determines whether the given node is valid.
isValid(int, int) - Method in class org.generation5.util.StandardMap2D
 
isValid(Pathfinder.Node) - Method in class org.generation5.util.StandardMap2D
 
isWithinBoard(int, int) - Method in class org.generation5.ai.BoardGame
A utility method to check whether the given coordinate is within the board game bounds.
iterateCA(CellularAutomata, String[]) - Static method in class org.generation5.bio.CellularAutomata
This method calls iterateCA but with the parameters encoded as a String array, ideally suited to be passed from the command-line.
iterateCA(CellularAutomata, int, int, String, int) - Static method in class org.generation5.bio.CellularAutomata
This is a default testing method that many of the cellular automata main methods use.
iterations - Variable in class org.generation5.demos.SwarmAntCA
 

K

KohonenNN - class org.generation5.nn.KohonenNN.
This class provides a simple implementation of a two-dimensional Kohonen self- organizing map.
KohonenNN() - Constructor for class org.generation5.nn.KohonenNN
Creates a new instance of KohonenNN
KohonenNN(int, int) - Constructor for class org.generation5.nn.KohonenNN
Create a new instance of the network with additional size information.
KohonenNN(int, int, int) - Constructor for class org.generation5.nn.KohonenNN
 
KohonenTrainer - class org.generation5.nn.KohonenTrainer.
This class implements the Kohonen training algorithm.
KohonenTrainer() - Constructor for class org.generation5.nn.KohonenTrainer
Creates a new instance of KohonenTrainer
k - Variable in class org.generation5.nn.KohonenNN
The learning constant.
kernel - Variable in class org.generation5.vision.ConvolutionFilter
The kernel to be used.
kohonenNN - Variable in class org.generation5.nn.KohonenTrainer
The Kohonen network.

L

LAST - Static variable in class org.generation5.ai.InfluenceMap
Select the last maximum value.
LEFT - Static variable in class org.generation5.ai.TuringMachine
Move the tape left.
LEFT - Static variable in class org.generation5.bio.DirectedCAAgent
 
LEFT - Static variable in class org.generation5.demos.LangtonAntCA
Ant to move left
LINES - Static variable in class org.generation5.util.Plot2D
Draw the data-series as lines.
LOST - Static variable in class org.generation5.ai.PrisonersDilemmaAgent
Lost the last round (returned by run)
LSystem - class org.generation5.bio.LSystem.
The class provides basic L-System functionality.
LSystem() - Constructor for class org.generation5.bio.LSystem
Default constructor.
LSystem(String) - Constructor for class org.generation5.bio.LSystem
Constructor with initial rule specifier (axiom)
LangtonAntCA - class org.generation5.demos.LangtonAntCA.
Implements Langton's Ant.
LangtonAntCA() - Constructor for class org.generation5.demos.LangtonAntCA
Default constructor
LangtonAntCA(int, int) - Constructor for class org.generation5.demos.LangtonAntCA
Constructor with additional size information.
LangtonLoopCA - class org.generation5.demos.LangtonLoopCA.
Implements Langton's self-replicating loop.
LangtonLoopCA() - Constructor for class org.generation5.demos.LangtonLoopCA
Creates a new instance of LangtonLoopCA
LangtonLoopCA(int, int) - Constructor for class org.generation5.demos.LangtonLoopCA
Creates an instance of LangtonLoopCA with world size information.
LineHoughTransformOp - class org.generation5.vision.LineHoughTransformOp.
This class implements a Line Hough transform.
LineHoughTransformOp() - Constructor for class org.generation5.vision.LineHoughTransformOp
Creates a new instance of LineHoughTransformOp
lastRoundResult - Variable in class org.generation5.ai.PrisonersDilemmaAgent
What was the result of the last round?
learningRate - Variable in class org.generation5.nn.PerceptronNN
The learning rate.
len(double, double) - Static method in class org.generation5.bio.FlockingAgent
 
lineColor - Variable in class org.generation5.vision.LineHoughTransformOp
The line colour used for the superimposed image (default WHITE).
linkChild(AStarPathfinder.AStarNode, int, int) - Method in class org.generation5.ai.AStarPathfinder
Link the children to the parent node.
listClosed - Variable in class org.generation5.ai.AStarPathfinder
The closed list.
listOpen - Variable in class org.generation5.ai.AStarPathfinder
The open list.
localPeakNeighbourhood - Variable in class org.generation5.vision.LineHoughTransformOp
The local peak neighbourhood.
logData - Variable in class org.generation5.bio.GeneticAlgorithm
Determines whether average and best fitness data should be logged.

M

MACHINE_LEFT - Static variable in class org.generation5.ai.TuringMachine
Move the machine left (equivalent to RIGHT).
MACHINE_RIGHT - Static variable in class org.generation5.ai.TuringMachine
Move the machine right (equal to LEFT).
MACHINE_STOP - Static variable in class org.generation5.ai.TuringMachine
A final, stopping state (equivalent to STOP).
MAXIMUM - Static variable in class org.generation5.vision.RankFilter
Retrieve the maximum from the neighbourhood.
MEDIAN - Static variable in class org.generation5.vision.RankFilter
Calculate the median for the neighbourhood.
MIDPOINT - Static variable in class org.generation5.demos.Wolfram1DCA
Start the CA with one mid point
MINIMUM - Static variable in class org.generation5.vision.RankFilter
Retrieve the minimum from the neighbourhood.
MeanFilter - class org.generation5.vision.MeanFilter.
A mean filter implemented as a convolution filter.
MeanFilter() - Constructor for class org.generation5.vision.MeanFilter
Creates a new instance of MeanFilter.
MeanFilter(int) - Constructor for class org.generation5.vision.MeanFilter
Creates a new instance of MeanFilter of the specified neighbourhood size.
machineState - Variable in class org.generation5.ai.TuringMachine
The state the machine is in (ACCEPTED, UNDECIDED, REJECTED).
main(String[]) - Static method in class org.generation5.ai.FSM
A simple test function.
main(String[]) - Static method in class org.generation5.ai.PrisonersDilemmaAgent
Simple test using an iterated prisoner's dilemma situtation.
main(String[]) - Static method in class org.generation5.bio.Flock
A test function that writes the 640x480 boids world once every 10 time-steps for 250 iterations.
main(String[]) - Static method in class org.generation5.bio.LSystem
Test function that writes a couple of simple L-System examples of varying types as well as depths.
main(String[]) - Static method in class org.generation5.demos.ConwaysLifeCA
Standard test function using iterateCA.
main(String[]) - Static method in class org.generation5.demos.DictyosteliumCA
Runs a test program.
main(String[]) - Static method in class org.generation5.demos.EvoDiophantine
Run the genetic algorithm on the specified coefficients and target values.
main(String[]) - Static method in class org.generation5.demos.EvoHelloWorld
Run the genetic algorithm with a target string.
main(String[]) - Static method in class org.generation5.demos.EvoTravellingSalesman
 
main(String[]) - Static method in class org.generation5.demos.LangtonAntCA
 
main(String[]) - Static method in class org.generation5.demos.LangtonLoopCA
 
main(String[]) - Static method in class org.generation5.demos.SpatialIPD
 
main(String[]) - Static method in class org.generation5.demos.SwarmAntCA
 
main(String[]) - Static method in class org.generation5.demos.TermitesCA
 
main(String[]) - Static method in class org.generation5.demos.WireWorldCA
 
main(String[]) - Static method in class org.generation5.demos.Wolfram1DCA
 
main(String[]) - Static method in class org.generation5.nn.EvoFeedForwardNN
 
main(String[]) - Static method in class org.generation5.nn.FeedForwardNN
 
main(String[]) - Static method in class org.generation5.nn.NeuralNetworkException
 
main(String[]) - Static method in class org.generation5.nn.PerceptronNN
A simple test perceptron that learns the logic-OR gate.
main(String[]) - Static method in class org.generation5.util.AutoTimeSeries
 
main(String[]) - Static method in class org.generation5.util.Gradient
Test function.
main(String[]) - Static method in class org.generation5.util.TimeSeries
 
main(String[]) - Static method in class org.generation5.util.TravellingSalesman
A basic test function.
main(String[]) - Static method in class org.generation5.vision.BorderTracingOp
 
main(String[]) - Static method in class org.generation5.vision.GaussianFilter
Utility method.
main(String[]) - Static method in class org.generation5.vision.LineHoughTransformOp
Simple test function.
main(String[]) - Static method in class org.generation5.vision.MeanFilter
Utility method for the class.
main(String[]) - Static method in class org.generation5.vision.NoiseFilter
Simple test function.
main(String[]) - Static method in class org.generation5.vision.RankFilter
Utility method for the class.
mapValues - Variable in class org.generation5.util.StandardMap2D
The value of the map.
mate(Evolvable) - Method in interface org.generation5.bio.Evolvable
Mate with another Evolvable type.
mate(Evolvable) - Method in class org.generation5.bio.EvolveStandard
Abstract function to mate with another object to produce an offspring for the next generation.
mate(Evolvable) - Method in class org.generation5.demos.EvoDiophantine
One-point crossover of the equation values.
mate(Evolvable) - Method in class org.generation5.demos.EvoHelloWorld
Mate two strings with a simple one-point crossover.
mate(Evolvable) - Method in class org.generation5.demos.EvoTravellingSalesman
Mate two routes together.
mate(Evolvable) - Method in class org.generation5.nn.EvoFeedForwardNN
Mate with another network.
maxAccValue - Variable in class org.generation5.vision.LineHoughTransformOp
The maximum accumulator value.
maxX - Variable in class org.generation5.util.Plot
Maximum X-range
maxY - Variable in class org.generation5.util.Plot
Maximum Y-range.
maximumCities - Static variable in class org.generation5.util.TravellingSalesman
The maximum number of cities in the world.
maximumDataPoints - Variable in class org.generation5.bio.GeneticAlgorithm
The maximum number of data points to store in the linked lists.
maximumIterations - Variable in class org.generation5.bio.GeneticAlgorithm
The maximum number of iterations (currently unused).
maximumX - Static variable in class org.generation5.util.TravellingSalesman
The maximum x-dimension for the city coordinates.
maximumY - Static variable in class org.generation5.util.TravellingSalesman
The maximum y-dimension for the city coordinates.
minV - Static variable in class org.generation5.bio.FlockingAgent
 
minX - Variable in class org.generation5.util.Plot
Minimum X-range
minY - Variable in class org.generation5.util.Plot
Minimum Y-range
minimizeFitness - Variable in class org.generation5.bio.EvolveStandard
Whether the genetic algorithm minimize or maximize the fitness.
mouseClicked(MouseEvent) - Method in class org.generation5.swing.VisStepApplet.DefaultActions
No default action for mouse clicks.
mouseClicked(MouseEvent) - Method in interface org.generation5.swing.VisStepListener
Called when a mouse is clicked on the visualization panel.
move(int, int[]) - Method in class org.generation5.ai.BoardGame
Make the move.
move(CellularAutomataLayered) - Method in class org.generation5.bio.DirectedCAAgent
 
moveCAAbsolute(int, int, int) - Method in class org.generation5.bio.CellularAutomataLayered
Move a given automaton to a new position.
moveCARelative(int, int, int) - Method in class org.generation5.bio.CellularAutomataLayered
Move a given automaton to a new position relative to its current.
moveLeft() - Method in class org.generation5.bio.DirectedCAAgent
 
moveRight() - Method in class org.generation5.bio.DirectedCAAgent
 
mutate() - Method in interface org.generation5.bio.Evolvable
Mutate the class data.
mutate() - Method in class org.generation5.bio.EvolveStandard
Abstract function to mutate the object.
mutate() - Method in class org.generation5.demos.EvoDiophantine
Mutates one of the equation values by a random value between -2 and 2.
mutate() - Method in class org.generation5.demos.EvoHelloWorld
Mutate this string between -2 and +2 characters.
mutate() - Method in class org.generation5.demos.EvoTravellingSalesman
Mutates a route.
mutate() - Method in class org.generation5.nn.EvoFeedForwardNN
Mutate this feedforward network.
mutationRate - Variable in class org.generation5.bio.GeneticAlgorithm
The mutation rate (default to 0.05, or 5%).
myFlock - Static variable in class org.generation5.bio.FlockingAgent
The flock this agent is in.
myLastMove - Variable in class org.generation5.ai.PrisonersDilemmaAgent
The move this agent last played
myNetwork - Variable in class org.generation5.nn.FFNLayer
The network this layer belongs to.

N

NONE - Static variable in class org.generation5.util.Plot2D
Don't draw the data series.
NONE - Static variable in class org.generation5.util.TimeSeries
No drawing options specified.
Navigable - interface org.generation5.ai.Navigable.
A simple interface to allow pathfinders like the A* algorithm to navigate through the environment.
NeuralNetwork - class org.generation5.nn.NeuralNetwork.
A neural network framework class.
NeuralNetwork() - Constructor for class org.generation5.nn.NeuralNetwork
 
NeuralNetworkException - exception org.generation5.nn.NeuralNetworkException.
A simple class for neural network exceptions.
NeuralNetworkException() - Constructor for class org.generation5.nn.NeuralNetworkException
Creates a new instance of NeuralNetworkException
NeuralNetworkException(String) - Constructor for class org.generation5.nn.NeuralNetworkException
Creates a new instance of NeuralNetworkException with a reason for the error.
NeuralNetworkTrainer - class org.generation5.nn.NeuralNetworkTrainer.
This class is intended to provide a common interface for the more complicated neural network training algorithms, such as a multi-stage Kohonen training algorithm.
NeuralNetworkTrainer() - Constructor for class org.generation5.nn.NeuralNetworkTrainer
Creates a new instance of NeuralNetworkTrainer
NoiseFilter - class org.generation5.vision.NoiseFilter.
Implements simple black-and-white (impulse/salt and pepper) noise and Gaussian noise.
NoiseFilter() - Constructor for class org.generation5.vision.NoiseFilter
Creates a new instance of NoiseFilter
NoiseFilter(int) - Constructor for class org.generation5.vision.NoiseFilter
Create a new instance of NoiseFilter, specifying the noise type.
NoiseFilter(int, double) - Constructor for class org.generation5.vision.NoiseFilter
Create a new instance of NoiseFilter, specifying the noise type and parameters.
Notifier - interface org.generation5.nn.Notifier.
The neural network notifier interface.
navMap - Variable in class org.generation5.ai.AStarPathfinder
The current navigable environment.
neighbourSize - Variable in class org.generation5.demos.Wolfram1DCA
The neighbourhood size.
neighbourhoodRadius - Variable in class org.generation5.nn.KohonenNN
The neighbourhood radius used during learning.
neighbourhoodSize - Variable in class org.generation5.vision.MeanFilter
The neighbourhood size.
neighbourhoodSize - Variable in class org.generation5.vision.RankFilter
The neighbourhood size.
nestSize - Variable in class org.generation5.demos.SwarmAntCA
 
nestX - Variable in class org.generation5.demos.SwarmAntCA
 
nestY - Variable in class org.generation5.demos.SwarmAntCA
 
nextState - Variable in class org.generation5.ai.TuringMachine.Transition
The next state.
nnLayers - Variable in class org.generation5.nn.FeedForwardNN
The layers in this network.
nodeBest - Variable in class org.generation5.ai.AStarPathfinder
The current best node.
nodeGoal - Variable in class org.generation5.ai.AStarPathfinder
The goal node.
nodeLabels - Static variable in class org.generation5.util.TravellingSalesman
Optional labels for each city.
nodeNumber - Variable in class org.generation5.ai.AStarPathfinder.AStarNode
The node identifier.
nodeStart - Variable in class org.generation5.ai.AStarPathfinder
The start node.
noiseRate - Variable in class org.generation5.demos.SpatialIPD
The noise rate.
noiseType - Variable in class org.generation5.vision.NoiseFilter
The noise type.
normalize(double, double) - Static method in class org.generation5.bio.FlockingAgent
 
notifier - Variable in class org.generation5.nn.NeuralNetworkTrainer
A simple interface that allows a NeuralNetworkTrainer to notify additional classes about events.
notify(int, NeuralNetworkTrainer, Object) - Method in interface org.generation5.nn.Notifier
A neural network notification.
numChildren - Variable in class org.generation5.ai.AStarPathfinder.AStarNode
The number of children the node has.
numFlockingAgents - Variable in class org.generation5.bio.Flock
The number of flocking agents in the flock.
numLayers - Variable in class org.generation5.nn.FeedForwardNN
The number of layers in the feedforward network.
numStates - Variable in class org.generation5.ai.FSM
The number of states in the FSM.
numUnits - Variable in class org.generation5.nn.FFNHiddenLayer
The number of units/nodes in this layer.
numUnits - Variable in class org.generation5.nn.FFNInputLayer
The number of units in this layer.
numberCities - Static variable in class org.generation5.util.TravellingSalesman
The number of cities in the world.
nvx - Variable in class org.generation5.bio.FlockingAgent
The x-velocity to be used in the next frame.
nvy - Variable in class org.generation5.bio.FlockingAgent
The y-velocity to be used in the next frame.
nx - Static variable in class org.generation5.bio.FlockingAgent
 
ny - Static variable in class org.generation5.bio.FlockingAgent
 

O

ONE_POINT - Static variable in class org.generation5.vision.ThresholdFilter
One-point thresholding.
OUTER_BORDER - Static variable in class org.generation5.util.TimeSeries
Draw outer borders.
OUTER_TRACE - Variable in class org.generation5.vision.BorderTracingOp
 
onePoint(BufferedImage, BufferedImage, int) - Method in class org.generation5.vision.ThresholdFilter
Performs one-point thresholding.
openGradient - Variable in class org.generation5.ai.AStarMap
The open list gradient (red).
org.generation5 - package org.generation5
This package only includes classes applicable to the entire JDK.
org.generation5.ai - package org.generation5.ai
General AI classes including agents, pathfinders and finite-state machines.
org.generation5.bio - package org.generation5.bio
Bio-inspired classes including cellular automata, swarm intelligence and genetic algorithms.
org.generation5.demos - package org.generation5.demos
A series of demonstration classes that showcase the core SDK features.
org.generation5.nn - package org.generation5.nn
Neural network example classes including Kohonen, Perceptron and Feedforward networks.
org.generation5.swing - package org.generation5.swing
Extra Swing components useful for visualizing class data.
org.generation5.util - package org.generation5.util
This package provides utility methods and classes.
org.generation5.vision - package org.generation5.vision
Image analysis and machine vision classes.
outPopulation() - Method in class org.generation5.bio.GeneticAlgorithm
The new population.
outerBorder - Variable in class org.generation5.util.TimeSeries
The outer border colour.
outputs - Variable in class org.generation5.nn.FFNLayer
The outputs for this layer.

P

PATH_FOUND - Static variable in class org.generation5.ai.AStarPathfinder
Returned by getStatus if a path has been found.
PATH_NOT_FOUND - Static variable in class org.generation5.ai.AStarPathfinder
Returned by getStatus if a path cannot be found.
PATTERN_DIFFUSION - Static variable in class org.generation5.vision.ThresholdFilter
Pattern-diffusion thresholding.
PAVLOV - Static variable in class org.generation5.ai.PrisonersDilemmaAgent
Pavlov strategy
POINTS - Static variable in class org.generation5.util.Plot2D
Draw the data-series as points.
Pathfinder - interface org.generation5.ai.Pathfinder.
Pathfinder interface.
Pathfinder.Node - interface org.generation5.ai.Pathfinder.Node.
 
PerceptronNN - class org.generation5.nn.PerceptronNN.
An implementation of a perceptron.
PerceptronNN(int) - Constructor for class org.generation5.nn.PerceptronNN
Create a new instance of the Perceptron with the given number of inputs.
Plot - class org.generation5.util.Plot.
An abstract base class providing basic functionality for the plot classes.
Plot() - Constructor for class org.generation5.util.Plot
Creates a new instance of Plot
Plot2D - class org.generation5.util.Plot2D.
Plot2D is a simple utility class designed to plot data.
Plot2D() - Constructor for class org.generation5.util.Plot2D
Creates a new instance of Plot2D
Plot2D(int) - Constructor for class org.generation5.util.Plot2D
Create a new instance of Plot2D, with a given number of data sets.
PlotGrid - class org.generation5.util.PlotGrid.
Plot data as a two-dimensional grid.
PlotGrid() - Constructor for class org.generation5.util.PlotGrid
Creates a new instance of PlotGrid
PlotPoint - class org.generation5.util.PlotPoint.
A simple class encapsulating a two-dimensional point.
PlotPoint() - Constructor for class org.generation5.util.PlotPoint
Create a new PlotPoint instance.
PlotPoint(double, double) - Constructor for class org.generation5.util.PlotPoint
Create a new instance, and set the x/y coordinates.
PrisonersDilemmaAgent - class org.generation5.ai.PrisonersDilemmaAgent.
A simple implementation of an agent that obeys the rules of the prisoner's dilemma.
PrisonersDilemmaAgent() - Constructor for class org.generation5.ai.PrisonersDilemmaAgent
Default constructor (uses TFT strategy).
PrisonersDilemmaAgent(int) - Constructor for class org.generation5.ai.PrisonersDilemmaAgent
Create a new instance of PrisonersDilemmaAgent with a given strategy.
paintComponent(Graphics) - Method in class org.generation5.swing.VisualizationPanel
Paint the content on the panel.
parent - Variable in class org.generation5.ai.AStarPathfinder.AStarNode
The parent of the node.
partnerLastMove - Variable in class org.generation5.ai.PrisonersDilemmaAgent
What your opponent last played
pathStatus - Variable in class org.generation5.ai.AStarPathfinder
The current status of the pathfinder.
patternDiffusion(BufferedImage, BufferedImage) - Method in class org.generation5.vision.ThresholdFilter
Performs pattern diffusion on the input image.
phaseOne - Variable in class org.generation5.nn.KohonenTrainer
The number of phase one training iterations.
phaseTwo - Variable in class org.generation5.nn.KohonenTrainer
The number of phase two training iterations.
pieceSize - Variable in class org.generation5.ai.BoardGame
The size of the pieces when rendered.
playerColors - Variable in class org.generation5.ai.BoardGame
The player colours.
playerID - Variable in class org.generation5.ai.BoardGameAgent
The player ID.
plotData - Variable in class org.generation5.util.Plot2D
The data to plot.
plotTypes - Variable in class org.generation5.util.Plot
The type of plot for a given data series.
population - Variable in class org.generation5.bio.GeneticAlgorithm
The population to evolve.
pos_x - Variable in class org.generation5.bio.CAAgent
The x-position.
pos_y - Variable in class org.generation5.bio.CAAgent
The y-position.
positionTest - Variable in class org.generation5.bio.CellularAutomataLayered
Stores boolean values corresponding to cell occupancy.
positionX - Variable in class org.generation5.ai.FSM.State
The X-position of the state.
positionX - Variable in class org.generation5.bio.FlockingAgent
The x-position of this agent.
positionY - Variable in class org.generation5.ai.FSM.State
The Y-position of the state.
positionY - Variable in class org.generation5.bio.FlockingAgent
The positionY-position of this agent.

R

RANDOM - Static variable in class org.generation5.ai.InfluenceMap
Select a random maximum value.
RANDOM - Static variable in class org.generation5.ai.PrisonersDilemmaAgent
Random strategy
RANDOM - Static variable in class org.generation5.demos.Wolfram1DCA
Start the CA with an random line
REJECTED - Static variable in class org.generation5.ai.TuringMachine
The machine rejection state.
RENDER_LARGE - Static variable in class org.generation5.ai.TuringMachine
Set the render size of the FSM/Turing Machine as large.
RENDER_NORMAL - Static variable in class org.generation5.ai.TuringMachine
Set the render size of the FSM/Turing Machine as normal.
RENDER_SMALL - Static variable in class org.generation5.ai.TuringMachine
Set the render size of the Turing Machine as small.
RIGHT - Static variable in class org.generation5.ai.TuringMachine
Move the tape right.
RIGHT - Static variable in class org.generation5.bio.DirectedCAAgent
 
RIGHT - Static variable in class org.generation5.demos.LangtonAntCA
Ant to move right
RMY - Static variable in class org.generation5.vision.GreyscaleFilter
RMY Greyscale: Red: 0.5 Green: 0.419 Blue: 0.081
RankFilter - class org.generation5.vision.RankFilter.
This class implements a simple rank filter: allowing you to select the median, minimum or maximum for any given neighbourhood size.
RankFilter() - Constructor for class org.generation5.vision.RankFilter
Creates a new instance of RankFilter
RankFilter(int) - Constructor for class org.generation5.vision.RankFilter
Creates a new instance of RankFilter, with the given rank type.
RankFilter(int, int) - Constructor for class org.generation5.vision.RankFilter
Creates a new instance of RankFilter, with the given rank type and neighbourhood size.
randW - Static variable in class org.generation5.bio.FlockingAgent
 
random - Static variable in class org.generation5.bio.EvolveStandard
An instance of java.util.Random, useful for generating a range of random numbers.
random - Static variable in class org.generation5.demos.DictyosteliumCA
An instance of java.util.Random.
random - Static variable in class org.generation5.demos.EvoTravellingSalesman
An instance of java.util.Random, useful for generating a range of random numbers.
randomInitialize() - Method in interface org.generation5.bio.Evolvable
Initialize the class to random values.
randomInitialize() - Method in class org.generation5.bio.EvolveStandard
An abstract function to randomize the object's initial settings.
randomInitialize() - Method in class org.generation5.demos.EvoDiophantine
Initialize the equation values to a number within the specified range.
randomInitialize() - Method in class org.generation5.demos.EvoHelloWorld
Initialize the string to a random collection of characters.
randomInitialize() - Method in class org.generation5.demos.EvoTravellingSalesman
Initialize the route randomly.
randomInitialize() - Method in class org.generation5.nn.EvoFeedForwardNN
Randomly initialize the network.
randomizeWeights(double, double) - Method in class org.generation5.nn.FFNLayer
Randomize the weights between the given range.
rankPosition - Variable in class org.generation5.vision.RankFilter
The type of rank position (median, maximum, minimum).
reduceK(double) - Method in class org.generation5.nn.KohonenNN
Reduce the learning constant by a specified amount.
reduceNeighbourhoodRadius(int) - Method in class org.generation5.nn.KohonenNN
Reduces the neighbourhood radius by the specified amount.
reductionStep - Variable in class org.generation5.nn.KohonenTrainer
The number of iterations to train before reducing the neighbourhood size.
removeAll() - Method in class org.generation5.bio.CellularAutomataLayered
Remove all the automata from the world.
removeAllStates() - Method in class org.generation5.ai.FSM
Remove all states.
render(Graphics, int, int) - Method in interface org.generation5.Visualizable
Render the class data in a graphics context.
render(Graphics, int, int) - Method in class org.generation5.ai.AStarMap
Render the map.
render(Graphics, int, int) - Method in class org.generation5.ai.BoardGame
Render the board game.
render(Graphics, int, int, int) - Method in class org.generation5.ai.FSM.State
Renders the state.
render(Graphics, int, int) - Method in class org.generation5.ai.FSM
Render the FSM in a graphics context.
render(Graphics, int, int) - Method in class org.generation5.ai.TuringMachine
Render the Turing Machine.
render(Graphics, int, int) - Method in class org.generation5.bio.CellularAutomata
This is the default function for drawing the CA world.
render(Graphics, int, int) - Method in class org.generation5.bio.CellularAutomataLayered
Draws the world state, then each automata.
render(Graphics, int, int) - Method in class org.generation5.bio.Flock
Draw the boids world.
render(Graphics, int, int) - Method in class org.generation5.bio.FlockingAgent
 
render(Graphics, int, int) - Method in class org.generation5.bio.LSystem
Draw the L-System.
render(Graphics, int, int) - Method in class org.generation5.demos.SwarmAntCA
 
render(Graphics, int, int) - Method in class org.generation5.demos.Wolfram1DCA
Renders the 1D cellular automata.
render(Graphics, int, int) - Method in class org.generation5.nn.NeuralNetwork
Render the neural network using the assigned visualization.
render(Graphics, int, int) - Method in class org.generation5.swing.VisStepApplet.NullVisualizable
Renders basic visualization.
render(Graphics, int, int) - Method in class org.generation5.util.AutoTimeSeries
Render the time-series on a graphics context.
render(Graphics, int, int) - Method in class org.generation5.util.Plot
Render the plot on a graphics context.
render(Graphics, int, int) - Method in class org.generation5.util.Plot2D
Render the plot on a graphics context.
render(Graphics, int, int) - Method in class org.generation5.util.PlotGrid
Render the grid on a graphics context.
render(Graphics, int, int) - Method in class org.generation5.util.StandardMap2D
Render the map.
render(Graphics, int, int) - Method in class org.generation5.util.TimeSeries
Renders the time-series diagram.
render(Graphics, int, int) - Method in class org.generation5.util.TravellingSalesman
Render the map and route with labels on a graphics context.
render(Graphics, int, int) - Method in class org.generation5.vision.Histogram
Renders the histogram as a line or group of solids.
renderAsFSM(Graphics, int, int) - Method in class org.generation5.ai.TuringMachine
Render the Turing Machine as a finite-state machine.
renderConnections(Graphics, int, int, int) - Method in class org.generation5.ai.FSM.State
Render the connections from this state.
renderHistogram(Graphics, int, int, int) - Method in class org.generation5.util.Plot2D
Render the data as a histogram.
renderLines(Graphics, int, int, int) - Method in class org.generation5.util.Plot2D
Render the data as lines.
renderMap - Variable in class org.generation5.ai.BoardGame
The influence map to render.
renderPoint(Graphics, double, double, int, int) - Method in class org.generation5.util.Plot2D
Render a point.
renderPoints(Graphics, int, int, int) - Method in class org.generation5.util.Plot2D
Render the data series as points.
renderSize - Variable in class org.generation5.ai.FSM
The size of the states to be rendered.
renderSize - Variable in class org.generation5.util.StandardMap2D
The render size of the map.
reset() - Method in interface org.generation5.Steppable
Reset the object.
reset() - Method in class org.generation5.ai.AStarPathfinder.AStarNode
Resets the node.
reset() - Method in class org.generation5.ai.AStarPathfinder
Reset the pathfinder (just calls init).
reset() - Method in class org.generation5.ai.BoardGame
Reset the board game (simply calls init).
reset() - Method in class org.generation5.ai.InfluenceMap
Resets the influence map to zero (calls resetTo(0))
reset() - Method in class org.generation5.ai.PrisonersDilemmaAgent
Reset the agent's points, note that strategy remains untouched
reset() - Method in class org.generation5.ai.TuringMachine
Resets the input tape, removes all the states and calls init.
reset() - Method in class org.generation5.bio.CellularAutomata
Reset the world.
reset() - Method in class org.generation5.bio.Flock
Reset the flock (call init).
reset() - Method in class org.generation5.bio.GeneticAlgorithm
Resets the genetic algorithm.
reset() - Method in class org.generation5.nn.NeuralNetworkTrainer
Reset the training algorithm (defaults to calling init).
reset() - Method in class org.generation5.util.AutoTimeSeries
Reset the time-series options.
reset() - Method in class org.generation5.util.Gradient
Reset the gradient.
resetBoard() - Method in class org.generation5.ai.BoardGame
Reset the board to zero.
resetButton(ActionEvent) - Method in class org.generation5.swing.VisStepApplet.DefaultActions
Stop the timer and run the Steppable's reset method.
resetButton - Variable in class org.generation5.swing.VisStepApplet
 
resetButton(ActionEvent) - Method in interface org.generation5.swing.VisStepListener
Called when the reset button is clicked.
resetCities() - Static method in class org.generation5.util.TravellingSalesman
Removes all cities from the world.
resetTo(int) - Method in class org.generation5.ai.InfluenceMap
Resets the influence map to the specified value.
reverse() - Method in class org.generation5.bio.DirectedCAAgent
 
rnd - Static variable in class org.generation5.bio.FlockingAgent
The random seed used to generate positional data.
route - Variable in class org.generation5.util.TravellingSalesman
The route to use.
routeGradient - Static variable in class org.generation5.util.TravellingSalesman
The gradient rendered for the route.
routeLength(int[]) - Static method in class org.generation5.util.TravellingSalesman
Calculates total distance travelled within the world using the given route.
routeLength() - Method in class org.generation5.util.TravellingSalesman
Returns the length for this route.
rows - Variable in class org.generation5.bio.Flock
The number of rows in the flocking world (this is equivalent to pixel height).
rows - Static variable in class org.generation5.bio.FlockingAgent
The width of the flocking agent's world.
rows - Variable in class org.generation5.util.TimeSeries
The number of rows in the time-series diagram.
rule - Variable in class org.generation5.demos.LangtonLoopCA
The rules are stored in a 5-dimensional array
ruleSpecifier - Variable in class org.generation5.demos.Wolfram1DCA
The rule specifier.
run(PrisonersDilemmaAgent) - Method in class org.generation5.ai.PrisonersDilemmaAgent
Make a run against your 'partner' with prisoner's dilemma rule.
run(double[]) - Method in class org.generation5.nn.FFNLayer
Run this layer on the given inputs.
run(double[]) - Method in class org.generation5.nn.FeedForwardNN
Run the network with the given inputs.
run(double[]) - Method in class org.generation5.nn.KohonenNN
Run the network for a given input.
run(double[]) - Method in class org.generation5.nn.NeuralNetwork
Run the neural network on the given inputs.
run() - Method in class org.generation5.nn.NeuralNetworkTrainer
Run the training algorithm.
run(double[]) - Method in class org.generation5.nn.PerceptronNN
Run the network on the given set of inputs.
run(BufferedImage) - Method in class org.generation5.vision.HoughTransformOp
Run the Hough transform on the input image.
run(BufferedImage) - Method in class org.generation5.vision.LineHoughTransformOp
Runs the line Hough Transform.
runMachine(String, int) - Method in class org.generation5.ai.TuringMachine
This function simply runs the machine with a given input until the input is accepted or rejected.
runMachine(StringBuffer, int) - Method in class org.generation5.ai.TuringMachine
This function simply runs the machine with a given input until the input is accepted or rejected.

S

STATUS_DRAW - Static variable in class org.generation5.ai.BoardGame
The game has been drawn.
STATUS_INPROGRESS - Static variable in class org.generation5.ai.BoardGame
The game is still in progress.
STOP - Static variable in class org.generation5.ai.TuringMachine
A final, stopping state.
STRATEGIES - Static variable in class org.generation5.ai.PrisonersDilemmaAgent
Number of strategies - for selecting random strategy
SobelEdgeDetectorFilter - class org.generation5.vision.SobelEdgeDetectorFilter.
This filter performs a simple edge detection algorithm (Sobel).
SobelEdgeDetectorFilter() - Constructor for class org.generation5.vision.SobelEdgeDetectorFilter
Creates a new instance of SobelEdgeDetector
SpatialIPD - class org.generation5.demos.SpatialIPD.
Implements a spatial version of the iterated prisoner's dilemma.
SpatialIPD() - Constructor for class org.generation5.demos.SpatialIPD
Creates a new instance of SpatialIPD
SpatialIPD(int, int) - Constructor for class org.generation5.demos.SpatialIPD
Creates a new instance with world size information.
StandardMap2D - class org.generation5.util.StandardMap2D.
Implements a standard 2D map.
StandardMap2D() - Constructor for class org.generation5.util.StandardMap2D
Creates a new instance of Map2D
StandardMap2D(int, int) - Constructor for class org.generation5.util.StandardMap2D
Create a new instance of StandardMap2D with dimensional information.
Steppable - interface org.generation5.Steppable.
This interface is used to provide a simple way of providing classes with a standardized structure for time-steppable classes.
SwarmAntCA - class org.generation5.demos.SwarmAntCA.
 
SwarmAntCA() - Constructor for class org.generation5.demos.SwarmAntCA
Creates a new instance of SwarmAntCA
SwarmAntCA(int, int) - Constructor for class org.generation5.demos.SwarmAntCA
 
SwarmAntCA.SwarmAgent - class org.generation5.demos.SwarmAntCA.SwarmAgent.
 
scanStartX - Variable in class org.generation5.vision.BorderTracingOp
 
scanStartY - Variable in class org.generation5.vision.BorderTracingOp
 
selfReferring - Variable in class org.generation5.ai.FSM.State
Specifies whether this FSM node is self-referential.
setActivation(Activation) - Method in class org.generation5.nn.FFNHiddenLayer
Set the activation function.
setActivation(Activation) - Method in class org.generation5.nn.NeuralNetwork
Set the activation function.
setAntiAliasing(boolean) - Method in class org.generation5.swing.VisualizationPanel
Set the anti-aliasing state.
setAt(int, int, int) - Method in class org.generation5.ai.InfluenceMap
Set a point on the influence map to a specified value.
setAutoGenerate(boolean) - Method in class org.generation5.util.AutoTimeSeries
Set whether the time-series is auto-generated or not.
setAxiom(String) - Method in class org.generation5.bio.LSystem
Set the axiom.
setBackground(Color) - Method in class org.generation5.bio.LSystem
Set the background colour.
setBackground(Color) - Method in class org.generation5.swing.VisualizationPanel
Sets the background colour.
setBackgroundColor(Color) - Method in class org.generation5.bio.CellularAutomata
Set the background colour of the CA.
setBackgroundColor(Color) - Method in class org.generation5.bio.Flock
Set the background color.
setBackgroundColor(Color) - Method in class org.generation5.util.TimeSeries
Set the background colour.
setBackgroundColour(Color) - Method in class org.generation5.vision.Histogram
Set the background colour for the visualized histogram.
setBoardAt(int, int, int) - Method in class org.generation5.ai.BoardGame
Set the board at the specified position.
setBoardGame(BoardGame) - Method in class org.generation5.ai.BoardGameAgent
Set the board game associated with this agent.
setBorderColor(Color) - Method in class org.generation5.util.TimeSeries
Set the border colour.
setBorderColors(Color, Color) - Method in class org.generation5.util.TimeSeries
Set the inner and outer border colours separately.
setCASize(int) - Method in class org.generation5.bio.CellularAutomata
Sets the CA size.
setCoefficients(int[], int) - Static method in class org.generation5.demos.EvoDiophantine
Set the coefficients and target of the equation.
setCollisionDetection(boolean) - Method in class org.generation5.bio.CellularAutomataLayered
Set or reset collision detection in the world.
setContent(Visualizable) - Method in class org.generation5.swing.VisualizationPanel
Sets the content to display.
setDX(int) - Method in class org.generation5.bio.DirectedCAAgent
 
setDY(int) - Method in class org.generation5.bio.DirectedCAAgent
 
setData(int, double[]) - Method in class org.generation5.util.Plot2D
Set the data for a given series.
setData(int, long[]) - Method in class org.generation5.util.Plot2D
Set the data from an array of longs.
setData(int, double[][]) - Method in class org.generation5.util.Plot2D
Set the data for a given series.
setData(int, LinkedList) - Method in class org.generation5.util.Plot2D
Set the data for a given series.
setDataSets(int) - Method in class org.generation5.util.Plot2D
Set the number of the datasets.
setDepth(int) - Method in class org.generation5.bio.LSystem
Set the maximum depth the L-System should recursively draw.
setDimension(int, int) - Static method in class org.generation5.util.TravellingSalesman
Set the maximum world dimensions.
setDimensions(int, int, int) - Method in class org.generation5.nn.KohonenNN
Set the dimensions of the network.
setDimensions(int, int) - Method in class org.generation5.util.TimeSeries
Set the row/column layout of the image.
setDirection(int) - Method in class org.generation5.bio.DirectedCAAgent
 
setDrawAxes(boolean) - Method in class org.generation5.util.Plot
Allows the axes to be toggled on and off.
setDrawOptions(int) - Method in class org.generation5.vision.Histogram
Set the draw option for the histogram.
setEndpoints(int, int, int, int) - Method in class org.generation5.ai.AStarPathfinder
Sets the starting and goal points for the pathfinder.
setEndpoints(AStarPathfinder.AStarNode, AStarPathfinder.AStarNode) - Method in class org.generation5.ai.AStarPathfinder
Set the starting and goal points for the pathfinder.
setFlock(FlockingAgent[]) - Static method in class org.generation5.bio.FlockingAgent
 
setForeground(Color) - Method in class org.generation5.bio.LSystem
Set the foreground colour.
setFormat(int) - Method in class org.generation5.util.TimeSeries
Set the drawing options.
setGaussianStdDev(double) - Method in class org.generation5.vision.NoiseFilter
Set the gaussian standard deviation.
setGeometry(int) - Method in class org.generation5.bio.CellularAutomata
Sets the geometry type.
setGoal(AStarPathfinder.AStarNode) - Method in class org.generation5.ai.AStarPathfinder
Set the goal node.
setGridPoints(PlotPoint[][]) - Method in class org.generation5.util.PlotGrid
Set the grid points as a two-dimensional array of PlotPoints.
setGridPoints(double[][][]) - Method in class org.generation5.util.PlotGrid
Set the grid points as a three-dimensional array of doubles.
setHiddenLayer(FFNLayer, int) - Method in class org.generation5.nn.FeedForwardNN
Set the given hidden layer.
setImpulseRatio(double) - Method in class org.generation5.vision.NoiseFilter
Set the impulse frequency.
setInitialState(int) - Method in class org.generation5.demos.Wolfram1DCA
Set the initial world state.
setInputLayer(FFNInputLayer) - Method in class org.generation5.nn.FeedForwardNN
Set the input layer for the network.
setInputTape(String, int) - Method in class org.generation5.ai.TuringMachine
Set the input tape.
setInputTape(StringBuffer, int) - Method in class org.generation5.ai.TuringMachine
Set the input tape.
setK(double) - Method in class org.generation5.nn.KohonenNN
Set k, the learning constant.
setKernel(Kernel) - Method in class org.generation5.vision.ConvolutionFilter
Set the kernel to be used.
setLineColor(Color) - Method in class org.generation5.vision.LineHoughTransformOp
Set the line colour used for the superimposed image.
setLocalPeakNeighbourhood(int) - Method in class org.generation5.vision.LineHoughTransformOp
Set the local peak neighbourhood.
setMapAt(int, int, int) - Method in class org.generation5.util.StandardMap2D
Set the map at the given location with the given value.
setMaximumCities(int) - Static method in class org.generation5.util.TravellingSalesman
Set the maximum number of cities allowed within the world.
setMaximumDataPoints(int) - Method in class org.generation5.bio.GeneticAlgorithm
Set the maximum number of data points that the GA should log.
setMaximumX(double) - Method in class org.generation5.util.Plot
Set the maximum X-coordinate.
setMaximumY(double) - Method in class org.generation5.util.Plot
Set the maximum Y-coordinate.
setMinimumX(double) - Method in class org.generation5.util.Plot
Set the minimum X-coordinate.
setMutationRate(double) - Method in class org.generation5.bio.GeneticAlgorithm
Set the mutation rate (should generally be between 0.0 and 0.2).
setName(String) - Method in class org.generation5.ai.FSM.State
Set the name of the state post-construction.
setNavigable(Navigable) - Method in class org.generation5.ai.AStarPathfinder
Sets the navigable to use in the pathfinder.
setNeighbourhoodRadius(int) - Method in class org.generation5.nn.KohonenNN
Set the neighbourhood radius used during training.
setNeighbourhoodSize(int) - Method in class org.generation5.vision.MeanFilter
Set the neighbourhood size.
setNeighbourhoodSize(int) - Method in class org.generation5.vision.RankFilter
Set the neighbourhood size.
setNetwork(FeedForwardNN) - Method in class org.generation5.nn.FFNLayer
Set the network for this layer.
setNetwork(NeuralNetwork) - Method in class org.generation5.nn.KohonenTrainer
Set the Kohonen network to use in the trainer.
setNetwork(NeuralNetwork) - Method in class org.generation5.nn.NeuralNetworkTrainer
Set the network being used by the trainer.
setNoiseRate(double) - Method in class org.generation5.demos.SpatialIPD
Set the noise rate to be used within the world.
setNoiseType(int) - Method in class org.generation5.vision.NoiseFilter
Set the noise type.
setNotifier(Notifier) - Method in class org.generation5.nn.NeuralNetworkTrainer
Set the notifier for this class.
setOutputLayer(FFNLayer) - Method in class org.generation5.nn.FeedForwardNN
Set the output layer.
setParameters(double, double, int, double) - Method in class org.generation5.bio.LSystem
Set the parameters for the L-System.
setPathfinder(AStarPathfinder) - Method in class org.generation5.ai.AStarMap
Set the pathfinder to display.
setPercentages(double, double) - Method in class org.generation5.demos.TermitesCA
Set the percentages of cellular automata and woodchips.
setPhases(int, int) - Method in class org.generation5.nn.KohonenTrainer
Set the number of iterations for the two training phases.
setPieceColors(Color[]) - Method in class org.generation5.ai.BoardGame
Set the piece colours.
setPieceSize(int) - Method in class org.generation5.ai.BoardGame
Set the piece size.
setPlayerID(int) - Method in class org.generation5.ai.BoardGameAgent
Set the player ID.
setPlotColor(int, Color) - Method in class org.generation5.util.Plot2D
Set the plot colour for a given data series.
setPlotType(int, int) - Method in class org.generation5.util.Plot2D
Sets the plot type for a given data series.
setPopulation(Evolvable[]) - Method in class org.generation5.bio.GeneticAlgorithm
Set the population to an initial array of Evolvables.
setPosition(double, double) - Method in class org.generation5.ai.FSM.State
Set the position of the state.
setPosition(int, int) - Method in class org.generation5.bio.CAAgent
Set the position of this CA.
setRange(int, int) - Method in class org.generation5.demos.EvoDiophantine
Set the range the genetic algorithm checks between.
setRange(double, double, double, double) - Method in class org.generation5.util.Plot
Set the range covered by the plot.
setRankPosition(int) - Method in class org.generation5.vision.RankFilter
Set the rank position.
setRenderMap(InfluenceMap) - Method in class org.generation5.ai.BoardGame
Set the influence map to render.
setRenderMap(InfluenceMap, Gradient) - Method in class org.generation5.ai.BoardGame
Set the influence map to render, along with a gradient.
setRenderSize(int) - Method in class org.generation5.ai.FSM
Set the size (in pixels) to render the states.
setRenderSize(int) - Method in class org.generation5.ai.TuringMachine
Set the render size.
setRenderSize(int) - Method in class org.generation5.util.StandardMap2D
Set the render size of the map.
setRule(char, String) - Method in class org.generation5.bio.LSystem
Set the rule for the given character.
setRules(int, long) - Method in class org.generation5.demos.Wolfram1DCA
Sets the neighbourhood size and the rule specifier.
setSelfReferring(boolean) - Method in class org.generation5.ai.FSM.State
Sets whether the node is self-referential or not.
setSnapshotAt(int) - Method in class org.generation5.util.AutoTimeSeries
Set a snapshot at a particular timestep.
setSnapshotInterval(int) - Method in class org.generation5.util.AutoTimeSeries
Set an interval at which to take a snapshot.
setStandardDeviation(double) - Method in class org.generation5.vision.GaussianFilter
Set the standard deviation used.
setStart(AStarPathfinder.AStarNode) - Method in class org.generation5.ai.AStarPathfinder
Set the start node.
setStartPoint(int, int) - Method in class org.generation5.bio.LSystem
Set the initial starting point to draw the L-System at.
setStartStop(boolean) - Method in class org.generation5.swing.VisStepApplet
Start or stop the animation timer.
setState(FSM.State) - Method in class org.generation5.ai.FSM
Set the current state of the finite-state machine.
setState(int) - Method in class org.generation5.bio.CAAgent
Set the state of this CA.
setStateColour(int, Color) - Method in class org.generation5.bio.CellularAutomataLayered
Sets the colour of the automata states.
setSteppable(Steppable) - Method in class org.generation5.swing.VisStepApplet
Set the steppable data.
setSteppable(Steppable) - Method in class org.generation5.util.AutoTimeSeries
Set the steppable object.
setStrategy(int) - Method in class org.generation5.ai.PrisonersDilemmaAgent
Set the strategy type.
setTapeDirection(int) - Method in class org.generation5.ai.TuringMachine
Set the tape direction.
setTargetString(String) - Static method in class org.generation5.demos.EvoHelloWorld
Set the target string.
setThresholdLimit(int) - Method in class org.generation5.vision.ThresholdFilter
Sets the threshold limit used by one- or two-point thresholding.
setThresholdLimits(int, int) - Method in class org.generation5.vision.ThresholdFilter
Set the upper and lower threshold limits used in two-point thresholding.
setThresholdMode(int) - Method in class org.generation5.vision.ThresholdFilter
Set the threshold mode.
setUpperLimit(int) - Method in class org.generation5.vision.ThresholdFilter
Set the upper threshold limit for two-point thresholding.
setVisualizable(Visualizable) - Method in class org.generation5.swing.VisStepApplet
Set the visualizable data.
setVisualizable(Visualizable) - Method in class org.generation5.util.AutoTimeSeries
Set the visualizable object.
setVisualization(Visualizable) - Method in class org.generation5.nn.NeuralNetwork
Set the visualization to use.
setWeights(double[][]) - Method in class org.generation5.nn.FFNLayer
Set the weights for this layer.
setWeights(int, double[]) - Method in class org.generation5.nn.FFNLayer
Set the weights for a given units.
setWorldAt(int, int, int) - Method in class org.generation5.bio.CellularAutomata
Sets the world at the given position to a given state.
setWorldAtEx(int, int, String) - Method in class org.generation5.bio.CellularAutomata
This function sets a group of cells according to a specially formatted string.
setWorldAtRelative(int, int, int) - Method in class org.generation5.bio.CellularAutomata
Set the world state relative to its current state.
setWorldColors(Color[]) - Method in class org.generation5.bio.CellularAutomata
Similar to setWorldColour, but accepts an array of colours.
setWorldColour(int, Color) - Method in class org.generation5.bio.CellularAutomata
This function sets the various world colours used by the CA.
setWorldSize(int, int) - Method in class org.generation5.bio.CellularAutomata
Sets the world size.
setWorldSize(int, int) - Method in class org.generation5.bio.CellularAutomataLayered
Sets the world size.
setWorldSize(int, int) - Method in class org.generation5.bio.Flock
Set the number of rows and columns in the world.
setWorldSize(int, int) - Method in class org.generation5.demos.SpatialIPD
Set the world size.
setX(int) - Method in class org.generation5.bio.CAAgent
Set only the X-position.
setY(int) - Method in class org.generation5.bio.CAAgent
Set only the Y-position.
standardDeviation - Variable in class org.generation5.vision.GaussianFilter
The standard deviation used in the gaussian spread (defaults to 1.0).
startButton(ActionEvent) - Method in class org.generation5.swing.VisStepApplet.DefaultActions
Start the timer.
startButton - Variable in class org.generation5.swing.VisStepApplet
 
startButton(ActionEvent) - Method in interface org.generation5.swing.VisStepListener
Called when the start button is clicked.
state - Variable in class org.generation5.bio.CAAgent
The agent state.
stateName - Variable in class org.generation5.ai.FSM.State
The name of the state.
stdDev - Variable in class org.generation5.vision.NoiseFilter
The standard deviation used for gaussian noise (default = 10).
stepButton(ActionEvent) - Method in class org.generation5.swing.VisStepApplet.DefaultActions
Stop the timer, and advance the Steppable one timestep using doStep.
stepButton - Variable in class org.generation5.swing.VisStepApplet
 
stepButton(ActionEvent) - Method in interface org.generation5.swing.VisStepListener
Called when the step button is clicked.
steppable - Variable in class org.generation5.swing.VisStepApplet
The steppable content.
steppable - Variable in class org.generation5.util.AutoTimeSeries
The steppable object.
sx - Variable in class org.generation5.ai.AStarMap
Start x-position.
sy - Variable in class org.generation5.ai.AStarMap
Start y-position.

T

TFT - Static variable in class org.generation5.ai.PrisonersDilemmaAgent
Tit-for-tat strategy
TOP - Static variable in class org.generation5.bio.DirectedCAAgent
 
TOP_LEFT - Static variable in class org.generation5.bio.DirectedCAAgent
 
TOP_RIGHT - Static variable in class org.generation5.bio.DirectedCAAgent
 
TORODIAL - Static variable in class org.generation5.bio.CellularAutomata
Torodial geometry.
TWO_POINT - Static variable in class org.generation5.vision.ThresholdFilter
Two-point thresholding.
TermitesCA - class org.generation5.demos.TermitesCA.
Implements the termites algorithm, randomly sorting a collection of woodchips.
TermitesCA() - Constructor for class org.generation5.demos.TermitesCA
Default constructor.
TermitesCA(int, int) - Constructor for class org.generation5.demos.TermitesCA
Create an instance with additional size information.
ThresholdFilter - class org.generation5.vision.ThresholdFilter.
This class encapsulates a variety of thresholding algorithms.
ThresholdFilter() - Constructor for class org.generation5.vision.ThresholdFilter
Creates a new instance of Threshold
ThresholdFilter(int) - Constructor for class org.generation5.vision.ThresholdFilter
Creates a new instances of Threshold, and sets the threshold limit
TimeSeries - class org.generation5.util.TimeSeries.
This class creates a time-series of images.
TimeSeries() - Constructor for class org.generation5.util.TimeSeries
Creates a new instance of TimeSeries
TravellingSalesman - class org.generation5.util.TravellingSalesman.
A utility class that provides the necessary methods for calculating route length, managing cities and rendering the scenario.
TravellingSalesman() - Constructor for class org.generation5.util.TravellingSalesman
Creates a new instance of TravellingSalesman
TuringMachine - class org.generation5.ai.TuringMachine.
This class implements a Turing machine by deriving from a finite-state machine.
TuringMachine() - Constructor for class org.generation5.ai.TuringMachine
Creates a new instance of TuringMachine
TuringMachine.Transition - class org.generation5.ai.TuringMachine.Transition.
This class handles the Turing Machine transitions.
TuringMachine.Transition(FSM.State, int, int) - Constructor for class org.generation5.ai.TuringMachine.Transition
The default constructor that specifies the next state, the write symbol and tape direction.
tapeDirection - Variable in class org.generation5.ai.TuringMachine.Transition
The new tape direction.
tapeDirection - Variable in class org.generation5.ai.TuringMachine
The direction the tape is moving in.
tapePosition - Variable in class org.generation5.ai.TuringMachine
The position the tape is in.
targetString - Static variable in class org.generation5.demos.EvoHelloWorld
The target string to evolve.
thetaStep - Variable in class org.generation5.vision.LineHoughTransformOp
The theta step.
think() - Method in class org.generation5.ai.BoardGameAgent
This abstract method should implement the agent's AI.
threshold - Variable in class org.generation5.ai.InfluenceMap
The random threshold.
thresholdLimit - Variable in class org.generation5.vision.ThresholdFilter
The threshold limit using by one-point thresholding.
thresholdMode - Variable in class org.generation5.vision.ThresholdFilter
The thresholding mode
timer(ActionEvent) - Method in class org.generation5.swing.VisStepApplet.DefaultActions
Advances the applet by one timestep, calling doStep and repainting the visualization panel.
timer(ActionEvent) - Method in interface org.generation5.swing.VisStepListener
Called whenever the timer is triggered.
toGrey(BufferedImage, BufferedImage) - Static method in class org.generation5.vision.GreyscaleFilter
A static utility function to generate a greyscale image.
toString() - Method in class org.generation5.ai.FSM.State
Returns the name of the state.
toString() - Method in class org.generation5.ai.TuringMachine
Converts the Turing Machine to a string.
toString() - Method in class org.generation5.demos.EvoDiophantine
 
toString() - Method in class org.generation5.demos.EvoHelloWorld
Return an immutable version of dataString.
toString() - Method in class org.generation5.demos.EvoTravellingSalesman
Returns the route as a string.
toString() - Method in class org.generation5.vision.ConvolutionFilter
 
toString() - Method in class org.generation5.vision.EqualizeFilter
 
toString() - Method in class org.generation5.vision.GreyscaleFilter
 
toString() - Method in class org.generation5.vision.InvertFilter
 
toString() - Method in class org.generation5.vision.MeanFilter
 
toString() - Method in class org.generation5.vision.RankFilter
 
toString() - Method in class org.generation5.vision.SobelEdgeDetectorFilter
 
toString() - Method in class org.generation5.vision.ThresholdFilter
 
toolbarPanel - Variable in class org.generation5.swing.VisStepApplet
 
train(double[], double[]) - Method in class org.generation5.nn.FeedForwardNN
This class does not implement a training algorithm.
train(double[], double[]) - Method in class org.generation5.nn.KohonenNN
Train the network using KohonenData.
train(double[], double[]) - Method in class org.generation5.nn.NeuralNetwork
Train the neural network on the given training data.
train(double[], double) - Method in class org.generation5.nn.NeuralNetwork
This method is provided as a helper for networks that only have one output, therefore only one expected output.
train(double[]) - Method in class org.generation5.nn.NeuralNetwork
This method is provided as a helper for networks that have no expected output, such as unsupervised networks.
train(double[], double[]) - Method in class org.generation5.nn.PerceptronNN
Train the perceptron using the delta rule.
trainData - Variable in class org.generation5.nn.KohonenTrainer
The training data.
trainingSteps - Variable in class org.generation5.nn.KohonenTrainer
The training steps per iteration.
transition(int) - Method in class org.generation5.ai.FSM.State
Transition this state given the transition identifier.
transition(int) - Method in class org.generation5.ai.FSM
Transition the FSM from one state to another with a given transition identifier.
transition(int) - Method in class org.generation5.ai.TuringMachine
Transitions the Turing Machine from one state to another.
transitionHash - Variable in class org.generation5.ai.FSM.State
The hash table that stores the transitions.
translateCoordinate(double, double, int, int) - Method in class org.generation5.util.Plot
Translates a cartesian coordinate to absolute coordinates for the graphics context.
translateCoordinate(PlotPoint, int, int) - Method in class org.generation5.util.Plot
Translates a cartesian coordinate to absolute coordinates for the graphics context.
translateGeometry(int, int) - Method in class org.generation5.bio.CellularAutomata
Translates a coordinate to the specified geometry.
trialRuns - Variable in class org.generation5.demos.SpatialIPD
The number of trail per agent, per neighbour, per iteration.
twoPoint(BufferedImage, BufferedImage, int, int) - Method in class org.generation5.vision.ThresholdFilter
Perform two-point thresholding on the input image.

U

UNDECIDED - Static variable in class org.generation5.ai.TuringMachine
The machine is in an undecided state.
UP - Static variable in class org.generation5.demos.LangtonAntCA
Ant to move up
update() - Method in class org.generation5.bio.FlockingAgent
 
updateParents(AStarPathfinder.AStarNode) - Method in class org.generation5.ai.AStarPathfinder
Update the parents for the new route.
upperLimit - Variable in class org.generation5.vision.ThresholdFilter
The upper limit used in two-point thresholding.

V

VisStepApplet - class org.generation5.swing.VisStepApplet.
VisStepApplet is meant for visualizable and steppable demonstration applets.
VisStepApplet() - Constructor for class org.generation5.swing.VisStepApplet
Create a new instance of VisStepApplet.
VisStepApplet.DefaultActions - class org.generation5.swing.VisStepApplet.DefaultActions.
These are the default actions for VisStepApplets.
VisStepApplet.DefaultActions() - Constructor for class org.generation5.swing.VisStepApplet.DefaultActions
 
VisStepApplet.NullVisualizable - class org.generation5.swing.VisStepApplet.NullVisualizable.
This class is the default visualization.
VisStepApplet.NullVisualizable() - Constructor for class org.generation5.swing.VisStepApplet.NullVisualizable
 
VisStepListener - interface org.generation5.swing.VisStepListener.
This interface is used to control all actions within VisStepApplet.
Visualizable - interface org.generation5.Visualizable.
This abstract class provides the necessary methods for visualizable data.
VisualizationPanel - class org.generation5.swing.VisualizationPanel.
This JPanel-derived class acts a simple way of displaying classes that implement the Visualizable interface.
VisualizationPanel() - Constructor for class org.generation5.swing.VisualizationPanel
Default constructor
vAvoidA - Static variable in class org.generation5.bio.FlockingAgent
 
vAvoidR - Static variable in class org.generation5.bio.FlockingAgent
 
vAvoidW - Static variable in class org.generation5.bio.FlockingAgent
 
validMove(int, int[]) - Method in class org.generation5.ai.BoardGame
This abstract method must return whether the supplied move is valid for the given player.
verifyOutput(BufferedImage, BufferedImage) - Method in class org.generation5.vision.Filter
This method simply returns: verifyOutput(output, input, input.getWidth(), input.getHeight(), input.getType()); See Filter.verifyOutput(BufferedImage, int, int, int) for full details.
verifyOutput(BufferedImage, BufferedImage, int) - Method in class org.generation5.vision.Filter
This method simply returns: verifyOutput(output, input.getWidth(), input.getHeight(), type); See Filter.verifyOutput(BufferedImage, int, int, int) for full details.
verifyOutput(BufferedImage, int, int, int) - Method in class org.generation5.vision.Filter
This method is designed to allow filters to verify the output image passed.
viewA - Static variable in class org.generation5.bio.FlockingAgent
The viewing angle of the agent.
visualizable - Variable in class org.generation5.swing.VisStepApplet
The visualizable content.
visualizable - Variable in class org.generation5.util.AutoTimeSeries
The visualizable object.
visualization - Variable in class org.generation5.nn.NeuralNetwork
Allows for a visualizer to be assigned to a neural network.
visualizationPanel - Variable in class org.generation5.swing.VisStepApplet
 
vx - Variable in class org.generation5.bio.FlockingAgent
The x-velocity of this agent.
vy - Variable in class org.generation5.bio.FlockingAgent
The y-velocity of this agent.

W

WON - Static variable in class org.generation5.ai.PrisonersDilemmaAgent
Won the last round (returned by run)
WireWorldCA - class org.generation5.demos.WireWorldCA.
This implements the simple cellular automata, Wire World.
WireWorldCA() - Constructor for class org.generation5.demos.WireWorldCA
Creates a new instance of WireWorldCA
WireWorldCA(int, int) - Constructor for class org.generation5.demos.WireWorldCA
Creates a new instance of WireWorldCA with dimensional information.
Wolfram1DCA - class org.generation5.demos.Wolfram1DCA.
Implements Wolfram's one-dimensional cellular automata.
Wolfram1DCA() - Constructor for class org.generation5.demos.Wolfram1DCA
Default constructor.
Wolfram1DCA(int, int) - Constructor for class org.generation5.demos.Wolfram1DCA
Create an instance with world size information.
Wolfram1DCA(int, int, int) - Constructor for class org.generation5.demos.Wolfram1DCA
Create an instance with world size information as well as a starting state.
wcPercentage - Variable in class org.generation5.demos.TermitesCA
The percentage of woodchips within the world.
weights - Variable in class org.generation5.nn.FFNLayer
The weights for this layer.
weights - Variable in class org.generation5.nn.KohonenNN
The network's weights.
weights - Variable in class org.generation5.nn.PerceptronNN
The weights for the inputs.
width - Variable in class org.generation5.ai.BoardGame
The width of the board.
width - Variable in class org.generation5.nn.KohonenNN
The width of the network.
width - Variable in class org.generation5.util.StandardMap2D
The width of the map.
writeBand(File, int) - Method in class org.generation5.vision.Histogram
Write the given histogram band to a FileWriter.
writeCumulativeBand(File, int) - Method in class org.generation5.vision.Histogram
Write cumulative frequencies for a given colour band.
writeCumulativeFrequencies(File) - Method in class org.generation5.vision.Histogram
Write the cumulative frequencies for a greyscale image.
writeCumulativeFrequencies(File, File, File) - Method in class org.generation5.vision.Histogram
Write the cumulative frequencies for an RGB image.
writeFrequencies(File) - Method in class org.generation5.vision.Histogram
Write frequencies for a greyscale histogram.
writeFrequencies(File, File, File) - Method in class org.generation5.vision.Histogram
Write frequencies for an RGB image.
writeImage(String, int, int) - Method in interface org.generation5.Visualizable
Write an image using the class data.
writeImage(String, int, int) - Method in class org.generation5.ai.BoardGame
Write an image to disk.
writeImage(String, int, int) - Method in class org.generation5.ai.FSM
Write the FSM to an image.
writeImage(String, int, int) - Method in class org.generation5.bio.CellularAutomata
This default function writes a PNG image of the CA world.
writeImage(String, int, int) - Method in class org.generation5.bio.Flock
Write an image of the boids world.
writeImage(String, int, int) - Method in class org.generation5.bio.LSystem
Write the L-System to an image file.
writeImage(String, int, int) - Method in class org.generation5.nn.NeuralNetwork
Write an image of the neural network using the assigned visualization.
writeImage(String, int, int) - Method in class org.generation5.swing.VisStepApplet.NullVisualizable
Not implemented.
writeImage(String, int, int) - Method in class org.generation5.util.AutoTimeSeries
Write the series to an image.
writeImage(String, int, int) - Method in class org.generation5.util.Plot
Write the plot to file.
writeImage(String, int, int) - Method in class org.generation5.util.StandardMap2D
Write an image of the map.
writeImage(String, int, int) - Method in class org.generation5.util.TimeSeries
 
writeImage(String, int, int) - Method in class org.generation5.util.TravellingSalesman
Write the map, route and labels to an image.
writeImage(String, int, int) - Method in class org.generation5.vision.Histogram
Write the visualized histogram to an image file.
writeSymbol - Variable in class org.generation5.ai.TuringMachine.Transition
The write symbol.
writeVisualizedImage(String, int, int, Visualizable) - Static method in class org.generation5.util.ImageHelper
This function writes an image of a given Visualizable object.
writeVisualizedImage(String, int, int, Visualizable, boolean) - Static method in class org.generation5.util.ImageHelper
This function writes an image of a given Visualizable object.

X

X_AXIS - Static variable in class org.generation5.bio.CellularAutomata
Specifies CellularAutomata.translateGeometry(int, int) is to translate across the x-axis.
x - Variable in class org.generation5.ai.AStarPathfinder.AStarNode
The x-position of the node.

Y

Y - Static variable in class org.generation5.vision.GreyscaleFilter
Y-Greyscale (YIQ/NTSC): Red: 0.299 Green: 0.587 Blue: 0.114
Y_AXIS - Static variable in class org.generation5.bio.CellularAutomata
Specifies CellularAutomata.translateGeometry(int, int) is to translate across the y-axis.
y - Variable in class org.generation5.ai.AStarPathfinder.AStarNode
The y-position of the node.

A B C D E F G H I K L M N O P R S T U V W X Y
This documentation is part of the Generation5 JDK.