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.