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

A

AbstractGridViewer - Class in turtlekit.viewer
A viewer that probes the patch grid and displays a representation for it.
AbstractGridViewer() - Constructor for class turtlekit.viewer.AbstractGridViewer
 
AbstractObserver - Class in turtlekit.viewer
An observer that plays the role of viewer in the simulation so that it is automatically inserted in the simulation process.
AbstractObserver() - Constructor for class turtlekit.viewer.AbstractObserver
 
activate() - Method in class turtlekit.kernel.TKEnvironment
 
activate() - Method in class turtlekit.kernel.TKLauncher
 
activate() - Method in class turtlekit.kernel.TKScheduler
 
activate() - Method in class turtlekit.kernel.Turtle
 
activate() - Method in class turtlekit.kernel.TurtleKit
 
activate() - Method in class turtlekit.viewer.AbstractGridViewer
 
activate() - Method in class turtlekit.viewer.AbstractObserver
 
activate() - Method in class turtlekit.viewer.PheromoneViewer
 
activate() - Method in class turtlekit.viewer.PopulationCharter
 
activate() - Method in class turtlekit.viewer.StatesPerSecondCharter
 
adding(Turtle) - Method in class turtlekit.kernel.TurtleActivator
 
addNeighborsPtr(String, CUdeviceptr) - Method in class turtlekit.cuda.CudaEngine
 
addTurleKitActionsTo(JComponent, AbstractAgent) - Static method in class turtlekit.kernel.TurtleKit
arrPointer - Variable in class turtlekit.cuda.CudaPheromone
 

C

cellSize - Variable in class turtlekit.viewer.AbstractGridViewer
 
ChartsUtil - Class in turtlekit.gui.util
Class containing static methods which are shortcuts for creating charts with jfreechart.
ChartsUtil() - Constructor for class turtlekit.gui.util.ChartsUtil
 
color - Variable in class turtlekit.kernel.Turtle
The turtle's color.
community - Variable in class turtlekit.kernel.TKScheduler
 
context - Variable in class turtlekit.cuda.CudaEngine
 
countTurtles() - Method in class turtlekit.kernel.Patch
 
CPU_SobelPheromone - Class in turtlekit.pheromone
 
CPU_SobelPheromone(String, int, int, int, int, int[]) - Constructor for class turtlekit.pheromone.CPU_SobelPheromone
 
CPU_SobelPheromone(String, int, int, float, float, int[]) - Constructor for class turtlekit.pheromone.CPU_SobelPheromone
 
createAgentFrame(AbstractAgent) - Static method in class turtlekit.gui.TKAgentFrame
 
createChart(XYDataset, String, String, String) - Static method in class turtlekit.gui.util.ChartsUtil
Creates a default XYLineChart JFreeChart
createChartPanel(XYDataset, String, String, String) - Static method in class turtlekit.gui.util.ChartsUtil
Creates a panel containing a XYLineChart.
createCudaPheromone(String, float, float) - Method in class turtlekit.kernel.TKEnvironment
 
createMenuBar() - Method in class turtlekit.gui.TKAgentFrame
 
createSimulationInstance() - Method in class turtlekit.kernel.TKLauncher
 
createTurtle(Turtle, double, double) - Method in class turtlekit.kernel.TKEnvironment
Launch a turtle with predefined coordinates
createTurtle(Turtle) - Method in class turtlekit.kernel.TKEnvironment
Launch a turtle with a random location
createTurtle(Turtle, double, double) - Method in class turtlekit.kernel.Turtle
Launch a turtle with predefined coordinates
createTurtle(Turtle) - Method in class turtlekit.kernel.Turtle
Launch a turtle with a random location.
createTurtleHere(Turtle) - Method in class turtlekit.kernel.Turtle
launch a turtle at the creator position (xcor,ycor) and returns the given ID to the new turtle
cuCtxSynchronize() - Method in class turtlekit.cuda.CudaEngine
 
cuCtxSynchronizeAll() - Static method in class turtlekit.cuda.CudaEngine
 
CudaEngine - Class in turtlekit.cuda
 
CudaGPUGradientsPhero - Class in turtlekit.cuda
 
CudaGPUGradientsPhero(String, int, int, float, float) - Constructor for class turtlekit.cuda.CudaGPUGradientsPhero
 
CudaMenu - Class in turtlekit.gui
 
CudaMenu(TKEnvironment) - Constructor for class turtlekit.gui.CudaMenu
 
CudaObject - Interface in turtlekit.cuda
 
CudaPheromone - Class in turtlekit.cuda
 
CudaPheromone(String, int, int, int, int) - Constructor for class turtlekit.cuda.CudaPheromone
 
CudaPheromone(String, int, int, float, float) - Constructor for class turtlekit.cuda.CudaPheromone
 
cuDeviceGetCount() - Method in class turtlekit.cuda.CudaEngine
 

D

defaultBehavior() - Method in class turtlekit.kernel.Turtle
 
diffusion() - Method in class turtlekit.cuda.CudaPheromone
 
diffusion() - Method in class turtlekit.pheromone.CPU_SobelPheromone
 
diffusion() - Method in class turtlekit.pheromone.JavaPheromone
 
diffusion() - Method in class turtlekit.pheromone.Pheromone
 
diffusionAndEvaporation() - Method in class turtlekit.cuda.CudaGPUGradientsPhero
This is faster than calling them sequentially: Only one GPU kernel is called.
diffusionAndEvaporation() - Method in class turtlekit.cuda.CudaPheromone
This is faster than calling them sequentially: Only one GPU kernel is called.
diffusionAndEvaporation() - Method in class turtlekit.pheromone.CPU_SobelPheromone
 
diffusionAndEvaporation() - Method in class turtlekit.pheromone.JavaPheromone
 
diffusionAndEvaporation() - Method in class turtlekit.pheromone.Pheromone
 
distance(double, double) - Method in class turtlekit.kernel.Turtle
returns the distance from the patch (a,b).
distance(Turtle) - Method in class turtlekit.kernel.Turtle
 
distanceNoWrap(double, double) - Method in class turtlekit.kernel.Turtle
return the "on screen distance" between the turtle and the coordinates (a,b).
dropMark(String, Object) - Method in class turtlekit.kernel.Patch
Drop a mark on the patch
dropPheromone(String, float, Float...) - Method in class turtlekit.kernel.Patch
 
dx() - Method in class turtlekit.kernel.Turtle
return the x-increment if the turtle were to take one step forward in its current heading.
dy() - Method in class turtlekit.kernel.Turtle
return the int y-increment if the turtle were to take one step forward in its current heading.

E

emit(String, float) - Method in class turtlekit.kernel.Turtle
Shortcut for getPheromone(pheromone).incValue(xcor(), ycor(), value);
end() - Method in class turtlekit.kernel.TKScheduler
 
end() - Method in class turtlekit.viewer.AbstractGridViewer
 
end() - Method in class turtlekit.viewer.StatesPerSecondCharter
 
ENGINE_GROUP - Static variable in interface turtlekit.agr.TKOrganization
The value of this constant is "engine".
ENVIRONMENT_ROLE - Static variable in interface turtlekit.agr.TKOrganization
The value of this constant is "env".
evaporation() - Method in class turtlekit.cuda.CudaPheromone
 
evaporation() - Method in class turtlekit.pheromone.CPU_SobelPheromone
 
evaporation() - Method in class turtlekit.pheromone.JavaPheromone
 
evaporation() - Method in class turtlekit.pheromone.Pheromone
 
execute(List<Turtle>, Object...) - Method in class turtlekit.kernel.TurtleActivator
 
executeThisEnvironment(String...) - Static method in class turtlekit.kernel.TKEnvironment
This offers a convenient way to create a main method that launches a simulation using the environment class under development.
executeThisLauncher(String...) - Static method in class turtlekit.kernel.TKLauncher
This offers a convenient way to create a main method that launches a simulation using the environment class under development.
executeThisTurtle(int, String...) - Static method in class turtlekit.kernel.Turtle
This offers a convenient way to create a main method that launches a simulation containing the turtle class under development.
executeThisViewer(String...) - Static method in class turtlekit.viewer.AbstractGridViewer
This offers a convenient way to create a main method that launches a simulation using the viewer class under development.

F

f - Variable in class turtlekit.cuda.CudaEngine
 
fd(double) - Method in class turtlekit.kernel.Turtle
Makes turtle moves forward of nb space units
fieldMaxDirPtr - Variable in class turtlekit.cuda.CudaGPUGradientsPhero
 
freeCUObjectsMemory() - Method in class turtlekit.cuda.CudaEngine
Free memory from the currently registered CUObjects
freeMemory() - Static method in class turtlekit.cuda.CudaEngine
Stop the executors and clean memory on registered CUObject
freeMemory() - Method in class turtlekit.cuda.CudaGPUGradientsPhero
 
freeMemory() - Method in interface turtlekit.cuda.CudaObject
 
freeMemory() - Method in class turtlekit.cuda.CudaPheromone
 
freeMemory() - Method in class turtlekit.cuda.GPU_PRNG
 

G

generator - Static variable in class turtlekit.kernel.Turtle
The turtle's PRNG //TODO have a real model
GenericViewer - Annotation Type in turtlekit.viewer
GenericViewer is an annotation tagging a viewer agent which is independent from a particular model so that it will be included in the viewers menu
get(int) - Method in class turtlekit.cuda.CudaPheromone
 
get(int) - Method in class turtlekit.pheromone.CPU_SobelPheromone
 
get(int) - Method in class turtlekit.pheromone.JavaPheromone
 
get(int, int) - Method in class turtlekit.pheromone.Pheromone
 
get(int) - Method in class turtlekit.pheromone.Pheromone
access to underlying buffer
get1DIndex(int, int) - Method in class turtlekit.kernel.TKEnvironment
 
get1DIndex() - Method in class turtlekit.kernel.Turtle
 
get1DIndex(int, int) - Method in class turtlekit.kernel.Turtle
 
get1DIndex(int, int) - Method in class turtlekit.pheromone.Pheromone
 
getBlue() - Method in class turtlekit.pheromone.PheromoneView
 
getCellSize() - Method in class turtlekit.viewer.AbstractGridViewer
 
getCoefficient() - Method in class turtlekit.pheromone.PheromoneCoefficientBoundedRangeModel
 
getColor() - Method in class turtlekit.kernel.Patch
 
getColor() - Method in class turtlekit.kernel.Turtle
 
getCommunity() - Method in class turtlekit.kernel.Turtle
 
getCommunity() - Method in class turtlekit.viewer.AbstractGridViewer
shortcut for getMadkitProperty(TurtleKit.Option.community)
getCommunity() - Method in class turtlekit.viewer.AbstractObserver
shortcut for getMadkitProperty(TurtleKit.Option.community)
getCudaEngine(CudaObject) - Static method in class turtlekit.cuda.CudaEngine
 
getCudaEngine() - Method in class turtlekit.cuda.CudaPheromone
 
getCurrentBehaviorCount() - Method in class turtlekit.kernel.Turtle
When the turtle switches its behavior the value of this counter is 0
getCurrentEnvironment() - Method in class turtlekit.viewer.AbstractGridViewer
 
getDiffusionCoefficient() - Method in class turtlekit.pheromone.Pheromone
 
getDiffusionPercentage() - Method in class turtlekit.pheromone.Pheromone
 
getEnvironment() - Method in class turtlekit.kernel.Turtle
 
getEnvironmentUpdateActivator() - Method in class turtlekit.kernel.TKScheduler
 
getEvaporationCoefficient() - Method in class turtlekit.pheromone.Pheromone
 
getEvaporationPercentage() - Method in class turtlekit.pheromone.Pheromone
 
getEvapPanel() - Method in class turtlekit.pheromone.PheromoneView
 
getFieldValue(Pheromone) - Method in class turtlekit.kernel.Turtle
 
getGreen() - Method in class turtlekit.pheromone.PheromoneView
 
getHeading() - Method in class turtlekit.kernel.Turtle
return the current heading of the turtle
getHeight() - Method in class turtlekit.kernel.TKEnvironment
 
getHeight() - Method in class turtlekit.kernel.TKLauncher
 
getHeight() - Method in class turtlekit.pheromone.Pheromone
 
getHeight() - Method in class turtlekit.viewer.AbstractGridViewer
 
getID() - Method in class turtlekit.kernel.Turtle
the id of this turtle
getKernelFunction(CudaEngine.Kernel) - Method in class turtlekit.cuda.CudaEngine
 
getMark(String) - Method in class turtlekit.kernel.Patch
get a mark deposed on the patch
getMaxDirection(int, int) - Method in class turtlekit.cuda.CudaGPUGradientsPhero
 
getMaxDirection(Pheromone) - Method in class turtlekit.kernel.Turtle
 
getMaxDirection(int, int) - Method in class turtlekit.pheromone.CPU_SobelPheromone
 
getMaxDirection(int, int) - Method in class turtlekit.pheromone.Pheromone
 
getMaximum() - Method in class turtlekit.pheromone.Pheromone
 
getMaxThreads() - Method in class turtlekit.cuda.CudaEngine
 
getMenuBar(AbstractAgent) - Method in class turtlekit.gui.TKDesktopFrame
 
getMinDirection(Pheromone) - Method in class turtlekit.kernel.Turtle
 
getMinDirection(int, int) - Method in class turtlekit.pheromone.CPU_SobelPheromone
 
getMinDirection(int, int) - Method in class turtlekit.pheromone.Pheromone
 
getName() - Method in class turtlekit.pheromone.Pheromone
 
getNearestTurtle(int, boolean, Class<T>) - Method in class turtlekit.kernel.Patch
Gets the nearest turtle of type T in the vicinity of the patch.
getNearestTurtle(int, boolean) - Method in class turtlekit.kernel.Patch
Gets the nearest turtle of type T in the vicinity of the patch.
getNearestTurtle(int) - Method in class turtlekit.kernel.Turtle
Returns the nearest turtle from this one within the inRadius-vicinity as a patch distance.
getNearestTurtle(int, Class<T>) - Method in class turtlekit.kernel.Turtle
Returns the nearest turtle of type T from this one according to its patch distance.
getNearestTurtle(double, Class<T>) - Method in class turtlekit.kernel.Turtle
Returns the nearest turtle of type T from this one according to its real distance.
getNearestTurtleWithRole(int, String, Class<T>) - Method in class turtlekit.kernel.Turtle
Returns the nearest turtle of type T from this one according to its patch distance.
getNearestTurtleWithRole(int, String) - Method in class turtlekit.kernel.Turtle
Returns the nearest turtle of type T from this one according to its patch distance.
getNeighbors(int, boolean) - Method in class turtlekit.kernel.Patch
 
getNeighborsIndexes() - Method in class turtlekit.pheromone.CPU_SobelPheromone
 
getNeighborsIndexes() - Method in class turtlekit.pheromone.JavaPheromone
 
getNeighborsPtr(String) - Method in class turtlekit.cuda.CudaEngine
 
getNextPatch() - Method in class turtlekit.kernel.Turtle
 
getOtherTurtles(int, boolean) - Method in class turtlekit.kernel.Turtle
 
getOtherTurtles(int, boolean, Class<T>) - Method in class turtlekit.kernel.Turtle
 
getOtherTurtlesWithRole(int, boolean, String) - Method in class turtlekit.kernel.Turtle
 
getOtherTurtlesWithRole(int, boolean, String, Class<T>) - Method in class turtlekit.kernel.Turtle
 
getParamterPointer(Pointer...) - Method in class turtlekit.cuda.CudaPheromone
 
getPatch(int, int) - Method in class turtlekit.kernel.TKEnvironment
 
getPatch() - Method in class turtlekit.kernel.Turtle
 
getPatch(int, int) - Method in class turtlekit.viewer.AbstractGridViewer
 
getPatchAt(int, int) - Method in class turtlekit.kernel.Turtle
Get the patch situated at (a,b) units away
getPatchColor() - Method in class turtlekit.kernel.Turtle
 
getPatchGrid() - Method in class turtlekit.kernel.TKEnvironment
 
getPatchGrid() - Method in class turtlekit.viewer.AbstractGridViewer
 
getPatchOtherTurtles() - Method in class turtlekit.kernel.Turtle
 
getPheroMaxDirection(Pheromone) - Method in class turtlekit.kernel.Turtle
Gets the direction where there is a maximum of this pheromone
getPheroMaxReset() - Method in class turtlekit.kernel.TKScheduler
 
getPheroMinDirection(Pheromone) - Method in class turtlekit.kernel.Turtle
Gets the direction where there is a minimum of this pheromone
getPheromone(String) - Method in class turtlekit.kernel.TKEnvironment
Gets the corresponding pheromone or create a new one using defaults parameters : 50% for both the evaporation rate and the diffusion rate.
getPheromone(String, int, int) - Method in class turtlekit.kernel.TKEnvironment
Gets the corresponding pheromone or create a new one using the parameters if available: The first float is the evaporation rate and the second is the diffusion rate.
getPheromone(String, float, float) - Method in class turtlekit.kernel.TKEnvironment
Gets the corresponding pheromone or create a new one using the parameters if available: The first float is the evaporation rate and the second is the diffusion rate.
getPheromone(String) - Method in class turtlekit.kernel.Turtle
Gets the corresponding pheromone or create a new one using defaults parameters : 50% for both the evaporation rate and the diffusion rate.
getPheromones() - Method in class turtlekit.kernel.TKEnvironment
 
getPheromones() - Method in class turtlekit.kernel.Turtle
 
getPointerToFloat(float) - Method in class turtlekit.cuda.CudaPheromone
 
getRed() - Method in class turtlekit.pheromone.PheromoneView
 
getRefreshRate() - Method in class turtlekit.viewer.StatesPerSecondCharter
 
getSelectedPheromone() - Method in class turtlekit.viewer.PheromoneViewer
 
getSimulationTime() - Method in class turtlekit.viewer.AbstractGridViewer
 
getToolBar(AbstractAgent) - Method in class turtlekit.gui.TKDesktopFrame
 
getTurtleActivator() - Method in class turtlekit.kernel.TKScheduler
 
getTurtles(int, boolean, Class<T>) - Method in class turtlekit.kernel.Patch
 
getTurtles(int, boolean) - Method in class turtlekit.kernel.Patch
 
getTurtles(Class<T>) - Method in class turtlekit.kernel.Patch
Get all the turtles on this patch according to their type.
getTurtles() - Method in class turtlekit.kernel.Patch
 
getTurtlesWithRole(int, boolean, String, Class<T>) - Method in class turtlekit.kernel.Patch
 
getTurtlesWithRole(int, boolean, String) - Method in class turtlekit.kernel.Patch
 
getTurtlesWithRole(String, Class<T>) - Method in class turtlekit.kernel.Patch
Get all the turtles on this patch according to their type and role.
getTurtlesWithRole(String) - Method in class turtlekit.kernel.Patch
Get all the turtles which are on this patch and having this role.
getTurtlesWithRoles(String, String, String) - Method in class turtlekit.kernel.TKEnvironment
 
getTurtlesWithRoles(String) - Method in class turtlekit.kernel.TKEnvironment
Gets the turtles with this role in the default community and group
getUnifiedByteBuffer(Pointer, CUdeviceptr, int) - Static method in class turtlekit.cuda.CudaEngine
 
getUnifiedIntArray(Pointer, CUdeviceptr, int) - Static method in class turtlekit.cuda.CudaEngine
 
getUnifiedIntBuffer(Pointer, CUdeviceptr, int) - Static method in class turtlekit.cuda.CudaEngine
 
getValues() - Method in class turtlekit.cuda.CudaPheromone
 
getValuesFloatBuffer() - Method in class turtlekit.cuda.CudaPheromone
 
getValuesFloatBuffer() - Method in class turtlekit.pheromone.CPU_SobelPheromone
 
getValuesFloatBuffer() - Method in class turtlekit.pheromone.JavaPheromone
 
getValuesFloatBuffer() - Method in class turtlekit.pheromone.Pheromone
 
getValuesPinnedMemory() - Method in class turtlekit.cuda.CudaPheromone
 
getValuesPtr() - Method in class turtlekit.cuda.CudaPheromone
 
getViewerActivator() - Method in class turtlekit.kernel.TKScheduler
 
getWidth() - Method in class turtlekit.kernel.TKEnvironment
 
getWidth() - Method in class turtlekit.kernel.TKLauncher
 
getWidth() - Method in class turtlekit.pheromone.Pheromone
 
getWidth() - Method in class turtlekit.viewer.AbstractGridViewer
 
getWorldHeight() - Method in class turtlekit.kernel.Turtle
 
getWorldWidth() - Method in class turtlekit.kernel.Turtle
 
getX() - Method in class turtlekit.kernel.Turtle
 
getY() - Method in class turtlekit.kernel.Turtle
 
giveUpRole(String) - Method in class turtlekit.kernel.Turtle
the turtle will no longer play the specified role
GPU_GRADIENTS - Variable in class turtlekit.kernel.TKEnvironment
 
GPU_PRNG - Class in turtlekit.cuda
 
GPU_PRNG() - Constructor for class turtlekit.cuda.GPU_PRNG
 
GPU_PRNG(long) - Constructor for class turtlekit.cuda.GPU_PRNG
 

H

home() - Method in class turtlekit.kernel.Turtle
Teleports the turtle to the center patch

I

incrementBehaviorCount() - Method in class turtlekit.kernel.Turtle
 
incValue(int, int, float) - Method in class turtlekit.pheromone.Pheromone
 
incValue(int, float) - Method in class turtlekit.pheromone.Pheromone
Adds inc to the current value of the cell with the corresponding index
init() - Static method in class turtlekit.cuda.CudaEngine
 
initCuda() - Method in class turtlekit.cuda.CudaGPUGradientsPhero
 
initCuda() - Method in class turtlekit.cuda.CudaPheromone
 
initCudaArray() - Method in class turtlekit.cuda.CudaPheromone
 
initCudaParameters() - Method in class turtlekit.cuda.CudaPheromone
 
initCudaStream() - Method in class turtlekit.cuda.CudaPheromone
 
initCudaTmpGrid() - Method in class turtlekit.cuda.CudaPheromone
 
initCudaValues() - Method in class turtlekit.cuda.CudaPheromone
 
initFunctions() - Method in class turtlekit.cuda.CudaGPUGradientsPhero
 
initFunctions() - Method in class turtlekit.cuda.CudaPheromone
 
initProbes() - Method in class turtlekit.viewer.AbstractGridViewer
 
initProbes() - Method in class turtlekit.viewer.PheromoneViewer
 
initProperties() - Method in class turtlekit.kernel.TKLauncher
 
isCudaAvailable() - Static method in class turtlekit.cuda.CudaEngine
 
isCudaOn() - Method in class turtlekit.kernel.TKEnvironment
 
isEmpty() - Method in class turtlekit.kernel.Patch
 
isMarkPresent(String) - Method in class turtlekit.kernel.Patch
tests if the corresponding mark is present on the patch (true or false)
isPatchChanged() - Method in class turtlekit.kernel.Turtle
Check if this is true and reset the property.
isPlayingRole(String) - Method in class turtlekit.kernel.Turtle
Tells if the turtle is currently playing this role

J

JavaPheromone - Class in turtlekit.pheromone
 
JavaPheromone(String, int, int, int, int, int[]) - Constructor for class turtlekit.pheromone.JavaPheromone
 
JavaPheromone(String, int, int, float, float, int[]) - Constructor for class turtlekit.pheromone.JavaPheromone
 

L

launchConfigTurtles() - Method in class turtlekit.kernel.TKLauncher
 
LAUNCHING - Static variable in interface turtlekit.agr.TKOrganization
 
launchKernel(CUfunction, Pointer...) - Method in class turtlekit.cuda.CudaPheromone
 
launchScheduler() - Method in class turtlekit.kernel.TKLauncher
 
LaunchTKConfigurations - Class in turtlekit.gui.menu
This class builds a JMenu containing all the MDK configuration files found on the class path.
LaunchTKConfigurations(String) - Constructor for class turtlekit.gui.menu.LaunchTKConfigurations
Builds a new menu.
LaunchTKModels - Class in turtlekit.gui.menu
This class builds a JMenu containing all the MDK configuration files found on the class path.
LaunchTKModels(String) - Constructor for class turtlekit.gui.menu.LaunchTKModels
Builds a new menu.
LaunchTurtleMenu - Class in turtlekit.gui.menu
 
LaunchTurtleMenu(AbstractAgent) - Constructor for class turtlekit.gui.menu.LaunchTurtleMenu
 
LaunchViewerMenu - Class in turtlekit.gui.menu
 
LaunchViewerMenu(AbstractAgent) - Constructor for class turtlekit.gui.menu.LaunchViewerMenu
 
launchViewers() - Method in class turtlekit.kernel.TKLauncher
 
live() - Method in class turtlekit.kernel.TKLauncher
 

M

main(String[]) - Static method in class turtlekit.cuda.CudaEngine
 
main(String[]) - Static method in class turtlekit.kernel.TKLauncher
 
main(String[]) - Static method in class turtlekit.kernel.TurtleKit
 
maxPinnedMemory - Variable in class turtlekit.cuda.CudaGPUGradientsPhero
 
MODEL_GROUP - Static variable in interface turtlekit.agr.TKOrganization
The value of this constant is "model".
MODEL_ROLE - Static variable in interface turtlekit.agr.TKOrganization
The value of this constant is "model".
moveTo(double, double) - Method in class turtlekit.kernel.Turtle
teleport the turtle to patch (a,b).
mySelf() - Method in class turtlekit.kernel.Turtle
Deprecated.
replaced by AbstractAgent.hashCode() return the turtle ID

N

nextDouble() - Method in class turtlekit.cuda.GPU_PRNG
 
nextFloat() - Method in class turtlekit.cuda.GPU_PRNG
 
normalizeX(double) - Method in class turtlekit.kernel.TKEnvironment
Returns the normalized value of x, so that it is inside the environment's boundaries
normalizeX(int) - Method in class turtlekit.kernel.TKEnvironment
Returns the normalized value of x, so that it is inside the environment's boundaries
normalizeX(double) - Method in class turtlekit.kernel.Turtle
Returns the normalized value of x, so that it is inside the environment's boundaries
normalizeX(int) - Method in class turtlekit.kernel.Turtle
Returns the normalized value of x, so that it is inside the environment's boundaries
normalizeY(double) - Method in class turtlekit.kernel.TKEnvironment
Returns the normalized value of y, so that it is inside the environment's boundaries
normalizeY(int) - Method in class turtlekit.kernel.TKEnvironment
Returns the normalized value of y, so that it is inside the environment's boundaries
normalizeY(double) - Method in class turtlekit.kernel.Turtle
Returns the normalized value of y, so that it is inside the environment's boundaries
normalizeY(int) - Method in class turtlekit.kernel.Turtle
Returns the normalized value of y, so that it is inside the environment's boundaries

O

observe() - Method in class turtlekit.viewer.AbstractObserver
automatically invoked for each time step
observe() - Method in class turtlekit.viewer.PopulationCharter
 

P

paintPatch(Graphics, Patch, int, int, int) - Method in class turtlekit.viewer.PheromoneViewer
 
paintPatch(Graphics, Patch, int, int, int) - Method in class turtlekit.viewer.TKDefaultViewer
 
paintTurtle(Graphics, Turtle, int, int) - Method in class turtlekit.viewer.TKDefaultViewer
 
Patch - Class in turtlekit.kernel
 
Patch() - Constructor for class turtlekit.kernel.Patch
 
Pheromone - Class in turtlekit.pheromone
 
Pheromone(String, int, int, int, int) - Constructor for class turtlekit.pheromone.Pheromone
 
Pheromone(String, int, int, float, float) - Constructor for class turtlekit.pheromone.Pheromone
 
PheromoneCoefficientBoundedRangeModel - Class in turtlekit.pheromone
 
PheromoneCoefficientBoundedRangeModel(float) - Constructor for class turtlekit.pheromone.PheromoneCoefficientBoundedRangeModel
 
PheromoneView - Class in turtlekit.pheromone
 
PheromoneView(Pheromone) - Constructor for class turtlekit.pheromone.PheromoneView
 
PheromoneViewer - Class in turtlekit.viewer
 
PheromoneViewer() - Constructor for class turtlekit.viewer.PheromoneViewer
 
playRole(String) - Method in class turtlekit.kernel.Turtle
one way to identify a kind of turtle: give them a Role in the simulation.
PopulationCharter - Class in turtlekit.viewer
 
PopulationCharter() - Constructor for class turtlekit.viewer.PopulationCharter
 

R

randomHeading(int) - Method in class turtlekit.kernel.Turtle
 
randomHeading() - Method in class turtlekit.kernel.Turtle
 
randomLocation() - Method in class turtlekit.kernel.Turtle
Teleports the turtle to a random location
render(Graphics) - Method in class turtlekit.viewer.PheromoneViewer
 
render(Graphics) - Method in class turtlekit.viewer.TKDefaultViewer
 
resetPheroMaxValues() - Method in class turtlekit.kernel.TKEnvironment
reset max values for rendering purposes

S

SCHEDULER_ROLE - Static variable in interface turtlekit.agr.TKOrganization
The value of this constant is "scheduler".
set(int, float) - Method in class turtlekit.cuda.CudaPheromone
 
set(int, float) - Method in class turtlekit.pheromone.CPU_SobelPheromone
 
set(int, float) - Method in class turtlekit.pheromone.JavaPheromone
 
set(int, int, float) - Method in class turtlekit.pheromone.Pheromone
 
set(int, float) - Method in class turtlekit.pheromone.Pheromone
access to underlying buffer
setCellSize(int) - Method in class turtlekit.viewer.AbstractGridViewer
 
setCoefficient(float) - Method in class turtlekit.pheromone.PheromoneCoefficientBoundedRangeModel
 
setColor(Color) - Method in class turtlekit.kernel.Patch
 
setColor(Color) - Method in class turtlekit.kernel.Turtle
 
setCoordinates(int, int) - Method in class turtlekit.kernel.Patch
 
setCudaEngine(CudaEngine) - Method in class turtlekit.cuda.CudaPheromone
 
setCurrentBehaviorCount(int) - Method in class turtlekit.kernel.Turtle
 
setEnvironment(TKEnvironment) - Method in class turtlekit.kernel.Patch
 
setEvaporationPercentage(int) - Method in class turtlekit.pheromone.Pheromone
Deprecated.
setHeading(double) - Method in class turtlekit.kernel.Turtle
set the turtle heading to the value of direction
setHeadingTowards(Turtle) - Method in class turtlekit.kernel.Turtle
Set the heading toward the turtle t.
setHeadingTowards(Turtle, double) - Method in class turtlekit.kernel.Turtle
Set the heading toward the turtle t.
setHeadingTowardsNoWrap(Turtle) - Method in class turtlekit.kernel.Turtle
 
setHeight(int) - Method in class turtlekit.kernel.TKLauncher
 
setMaximum(float) - Method in class turtlekit.pheromone.Pheromone
 
setMonitorTurtleRole(boolean) - Method in class turtlekit.viewer.PopulationCharter
 
setNextAction(String) - Method in class turtlekit.kernel.Turtle
 
setPatchColor(Color) - Method in class turtlekit.kernel.Turtle
 
setRefreshRate(int) - Method in class turtlekit.viewer.StatesPerSecondCharter
set the refresh frequency in ms.
setSelectedPheromone(String) - Method in class turtlekit.viewer.PheromoneViewer
 
setSelectedPheromone(Pheromone) - Method in class turtlekit.viewer.PheromoneViewer
 
setTimeFrame(int) - Method in class turtlekit.viewer.PopulationCharter
 
setup() - Method in class turtlekit.kernel.Turtle
Deprecated.
Turtle.activate() should be overridden instead, beginning by super.activate();
setupFrame(JFrame) - Method in class turtlekit.viewer.AbstractGridViewer
 
setupFrame(JFrame) - Method in class turtlekit.viewer.PheromoneViewer
 
setupFrame(JFrame) - Method in class turtlekit.viewer.PopulationCharter
 
setupFrame(JFrame) - Method in class turtlekit.viewer.StatesPerSecondCharter
 
setValues(FloatBuffer) - Method in class turtlekit.cuda.CudaPheromone
 
setValuesPinnedMemory(Pointer) - Method in class turtlekit.cuda.CudaPheromone
 
setValuesPtr(CUdeviceptr) - Method in class turtlekit.cuda.CudaPheromone
 
setWidth(int) - Method in class turtlekit.kernel.TKLauncher
 
setX(double) - Method in class turtlekit.kernel.Turtle
 
setXY(double, double) - Method in class turtlekit.kernel.Turtle
 
setY(double) - Method in class turtlekit.kernel.Turtle
 
smell(String) - Method in class turtlekit.kernel.Turtle
 
smellAt(String, int, int) - Method in class turtlekit.kernel.Turtle
 
smellAt(Pheromone, int, int) - Method in class turtlekit.kernel.Turtle
 
stateChanged(ChangeEvent) - Method in class turtlekit.pheromone.PheromoneView
 
StatesPerSecondCharter - Class in turtlekit.viewer
A viewer displaying the simulation speed in terms of simulation time units per second
StatesPerSecondCharter() - Constructor for class turtlekit.viewer.StatesPerSecondCharter
 
step() - Method in class turtlekit.kernel.Turtle
Shortcut for fd(1)
stop() - Static method in class turtlekit.cuda.CudaEngine
Stop the executors and clean memory on registered CUObject
submit(Runnable) - Method in class turtlekit.cuda.CudaEngine
 
synchronizeEnvironment(boolean) - Method in class turtlekit.kernel.TKEnvironment
Keep the agents synchronized with the environment dynamics

T

testDevicePtr - Variable in class turtlekit.cuda.CudaPheromone
 
TK_COMMUNITY - Static variable in interface turtlekit.agr.TKOrganization
 
TKAgentFrame - Class in turtlekit.gui
 
TKAgentFrame(AbstractAgent) - Constructor for class turtlekit.gui.TKAgentFrame
 
TKDefaultViewer - Class in turtlekit.viewer
The default viewer for TK 3
TKDefaultViewer() - Constructor for class turtlekit.viewer.TKDefaultViewer
 
TKDesktopFrame - Class in turtlekit.gui
 
TKDesktopFrame() - Constructor for class turtlekit.gui.TKDesktopFrame
 
TKEnvironment - Class in turtlekit.kernel
 
TKEnvironment() - Constructor for class turtlekit.kernel.TKEnvironment
 
TKLauncher - Class in turtlekit.kernel
 
TKLauncher() - Constructor for class turtlekit.kernel.TKLauncher
 
TKMenu - Class in turtlekit.gui.menu
An out of the box menu for MaDKit applications
TKMenu(AbstractAgent) - Constructor for class turtlekit.gui.menu.TKMenu
Builds a menu featuring the following actions:
TKOrganization - Interface in turtlekit.agr
 
TKScheduler - Class in turtlekit.kernel
 
TKScheduler() - Constructor for class turtlekit.kernel.TKScheduler
 
TKToolBar - Class in turtlekit.gui.toolbar
An out of the box toolbar for MaDKit based applications.
TKToolBar(AbstractAgent) - Constructor for class turtlekit.gui.toolbar.TKToolBar
toString() - Method in class turtlekit.kernel.Patch
 
toString() - Method in class turtlekit.kernel.Turtle
 
toString() - Method in enum turtlekit.kernel.TurtleKit.Option
 
toString() - Method in class turtlekit.pheromone.Pheromone
 
towards(Turtle) - Method in class turtlekit.kernel.Turtle
 
towards(double, double) - Method in class turtlekit.kernel.Turtle
returns direction to the patch (a,b).
towardsMaxGradientField(Pheromone) - Method in class turtlekit.kernel.Turtle
 
towardsMinGradientField(Pheromone) - Method in class turtlekit.kernel.Turtle
 
towardsNoWrap(Turtle) - Method in class turtlekit.kernel.Turtle
 
towardsNoWrap(double, double) - Method in class turtlekit.kernel.Turtle
 
turnLeft(double) - Method in class turtlekit.kernel.Turtle
 
turnRight(double) - Method in class turtlekit.kernel.Turtle
 
Turtle - Class in turtlekit.kernel
 
Turtle(String) - Constructor for class turtlekit.kernel.Turtle
 
Turtle() - Constructor for class turtlekit.kernel.Turtle
 
TURTLE_ROLE - Static variable in interface turtlekit.agr.TKOrganization
The value of this constant is "turtle".
TurtleActivator - Class in turtlekit.kernel
The turtle activator : allow to make the turtles work like finite state automata.
TurtleActivator(String) - Constructor for class turtlekit.kernel.TurtleActivator
 
TurtleActivator(String, String) - Constructor for class turtlekit.kernel.TurtleActivator
 
TurtleActivator(String, String, String) - Constructor for class turtlekit.kernel.TurtleActivator
 
TurtleKit - Class in turtlekit.kernel
 
TurtleKit() - Constructor for class turtlekit.kernel.TurtleKit
 
TurtleKit(String...) - Constructor for class turtlekit.kernel.TurtleKit
 
turtlekit.agr - package turtlekit.agr
 
turtlekit.cuda - package turtlekit.cuda
 
turtlekit.cuda.kernels - package turtlekit.cuda.kernels
 
turtlekit.gui - package turtlekit.gui
 
turtlekit.gui.menu - package turtlekit.gui.menu
 
turtlekit.gui.toolbar - package turtlekit.gui.toolbar
 
turtlekit.gui.util - package turtlekit.gui.util
 
turtlekit.kernel - package turtlekit.kernel
 
TurtleKit.Option - Enum in turtlekit.kernel
 
turtlekit.pheromone - package turtlekit.pheromone
 
turtlekit.viewer - package turtlekit.viewer
 
TURTLES_GROUP - Static variable in interface turtlekit.agr.TKOrganization
The value of this constant is "turtles".

U

update() - Method in class turtlekit.gui.menu.LaunchTKConfigurations
 
update() - Method in class turtlekit.gui.menu.LaunchTKModels
 
update() - Method in class turtlekit.kernel.Patch
 
update() - Method in class turtlekit.kernel.TKEnvironment
 
updateFieldMaxDir() - Method in class turtlekit.pheromone.Pheromone
 
updateSeries() - Method in class turtlekit.viewer.PopulationCharter
 

V

valueOf(String) - Static method in enum turtlekit.kernel.TurtleKit.Option
Returns the enum constant of this type with the specified name.
values() - Static method in enum turtlekit.kernel.TurtleKit.Option
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class turtlekit.kernel.TurtleKit
 
VIEWER_ROLE - Static variable in interface turtlekit.agr.TKOrganization
The value of this constant is "viewer".

W

wiggle() - Method in class turtlekit.kernel.Turtle
shortcut for wiggle(45)
wiggle(int) - Method in class turtlekit.kernel.Turtle
 

X

x - Variable in class turtlekit.kernel.Patch
 
xcor() - Method in class turtlekit.kernel.Turtle
 

Y

y - Variable in class turtlekit.kernel.Patch
 
ycor() - Method in class turtlekit.kernel.Turtle
 
A C D E F G H I J L M N O P R S T U V W X Y