Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractPheromoneGrid<T> - Class in turtlekit.pheromone
- AbstractPheromoneGrid(String, TKEnvironment<?>, float, float) - Constructor for class turtlekit.pheromone.AbstractPheromoneGrid
- addTurtleToEnvironment(Turtle<?>) - Method in class turtlekit.kernel.TKEnvironment
- allAgentsLeaveRole() - Method in class turtlekit.kernel.activator.DateBasedPheromoneActivator
- allAgentsLeaveRole() - Method in class turtlekit.kernel.TurtleActivator
- allAgentsLeaveRole() - Method in class turtlekit.kernel.activator.TurtleDiscreteEventActivator
- allTurtlesActivator() - Method in class turtlekit.kernel.TKScheduler
- anglesDifference(double, double) - Static method in class turtlekit.kernel.MathUtils
- anglesDifferenceSigned(double, double) - Static method in class turtlekit.kernel.MathUtils
-
Angles difference signed.
- applyDynamics() - Method in class turtlekit.pheromone.CPU_SobelPheromone
- applyDynamics() - Method in interface turtlekit.pheromone.Pheromone
- askPatches(Consumer<P>) - Method in class turtlekit.kernel.TKEnvironment
-
Ask patches.
- askPatchesOnStartup(Consumer<Patch>) - Method in class turtlekit.kernel.TKEnvironment
-
Ask patches on startup.
- askTurtes(Consumer<P>) - Method in class turtlekit.kernel.TKEnvironment
-
Ask turtes.
- askTurtles(Consumer<Turtle<?>>) - Method in class turtlekit.kernel.TKEnvironment
-
Ask turtles.
B
- BLUE - Enum constant in enum class turtlekit.pheromone.PheroColorModel.MainColor
- BLUE - Static variable in class turtlekit.pheromone.PheroColorModel
C
- call(Object...) - Method in class jcuda.utils.KernelLauncher
-
Call the function of this KernelLauncher with the current grid size, block size, shared memory size and stream, and with the given arguments.
The given arguments must all be either of the typePointer
, or of a primitive type except boolean. - changeNextBehavior(String) - Method in class turtlekit.kernel.Turtle
-
Changes the next behavior that will be triggered and reset behavior counter.
- checkCommandLineFlag(String[], String) - Static method in class jcuda.utils.CommandLine
-
Returns whether the given command line arguments contain an argument with the given name (the name must be given without the "--" prefix);
- color - Variable in class turtlekit.kernel.Turtle
-
The turtle's color.
- CommandLine - Class in jcuda.utils
-
Command line argument utility functions, similar to the CUTIL functions.
- compare(byte[], byte[]) - Static method in class jcuda.utils.Compare
-
Returns whether the given arrays are equal
- compare(byte[], byte[], float) - Static method in class jcuda.utils.Compare
-
Checks if two arrays are equal within the given limits.
- compare(byte[], byte[], float, float) - Static method in class jcuda.utils.Compare
-
Checks if two arrays are equal within the given limits.
- compare(float[], float[]) - Static method in class jcuda.utils.Compare
-
Returns whether the given arrays are equal
- compare(float[], float[], float) - Static method in class jcuda.utils.Compare
-
Checks if two arrays are equal within the given limits.
- compare(float[], float[], float, float) - Static method in class jcuda.utils.Compare
-
Checks if two arrays are equal within the given limits.
- compare(int[], int[]) - Static method in class jcuda.utils.Compare
-
Returns whether the given arrays are equal
- compare(int[], int[], float) - Static method in class jcuda.utils.Compare
-
Checks if two arrays are equal within the given limits.
- compare(int[], int[], float, float) - Static method in class jcuda.utils.Compare
-
Checks if two arrays are equal within the given limits.
- Compare - Class in jcuda.utils
-
Utility functions for comparing arrays.
- compareL2(float[], float[], float) - Static method in class jcuda.utils.Compare
-
Checks if two arrays are equal using the L2 norm.
- compile(String, String, String...) - Static method in class jcuda.utils.KernelLauncher
-
Create a new KernelLauncher for the function with the given name, that is defined in the given source code.
- computeAverage() - Method in class turtlekit.cuda.CudaAverageField
- computeAverage(int) - Method in class turtlekit.cuda.CudaAverageField
- computeNeighbors - Variable in class turtlekit.cuda.NeighborsIndexes
- context - Variable in class turtlekit.cuda.CudaEngine
- countTurtles() - Method in class turtlekit.kernel.Patch
-
Count turtles.
- CPU_SobelPheromone - Class in turtlekit.pheromone
- CPU_SobelPheromone(String, TKEnvironment<?>, float, float, int[]) - Constructor for class turtlekit.pheromone.CPU_SobelPheromone
- CPUStreamPheromone - Class in turtlekit.pheromone
-
A pheromone grid that uses a float array to store values.
- CPUStreamPheromone(String, TKEnvironment<?>, float, float) - Constructor for class turtlekit.pheromone.CPUStreamPheromone
- create(String, String, boolean, String...) - Static method in class jcuda.utils.KernelLauncher
-
Create a new KernelLauncher for the function with the given name, that is contained in the .CU CUDA source file with the given name.
- create(String, String, String...) - Static method in class jcuda.utils.KernelLauncher
-
Create a new KernelLauncher for the function with the given name, that is contained in the .CU CUDA source file with the given name.
- Create - Class in jcuda.utils
-
Utility class for creating arrays containing random data.
- createCudaPheromone(String, float, float) - Method in class turtlekit.kernel.TKEnvironment
- createDefaultKernelConfiguration() - Method in interface turtlekit.cuda.CudaObject
-
Shortcut for
getCudaEngine().createNewKernelConfiguration(getWidth(), getHeight())
- createDeviceDataGrid(int, Class<T>) - Method in interface turtlekit.cuda.CudaObject
- createDevicePtr(int, Class<T>) - Method in class turtlekit.cuda.CudaEngine
-
Creates the device ptr.
- createKernel(String, String) - Method in interface turtlekit.cuda.CudaObject
-
Shortcut for
return getCudaEngine().createKernel(kernelFunctionName, cuSourceFilePath, getKernelConfiguration())
- createKernel(String, String, KernelConfiguration) - Method in class turtlekit.cuda.CudaEngine
-
Creates a new Cuda kernel using a configuration and a kernel name which could be found in a Cuda source file.
- createNewKernelConfiguration(int, int) - Method in class turtlekit.cuda.CudaEngine
-
Creates a new kernel configuration with a new Cuda stream ID according to 2D data size.
- createPrettyString() - Static method in class jcuda.utils.Timer
-
Creates a "pretty" String containing a summary of all timers that currently exist.
- createRandomDoubleData(int) - Static method in class jcuda.utils.Create
-
Creates a new array with the given size, containing random data
- createRandomFloatData(int) - Static method in class jcuda.utils.Create
-
Creates a new array with the given size, containing random data
- createRandomIntData(int) - Static method in class jcuda.utils.Create
-
Creates a new array with the given size, containing random data
- createTimer(Object) - Static method in class jcuda.utils.Timer
-
Creates a new timer with the given name
- createTurtle(Turtle<?>) - Method in class turtlekit.kernel.TKEnvironment
-
Launch a turtle with a random location
- createTurtle(Turtle<?>) - Method in class turtlekit.kernel.Turtle
-
Launch a turtle with a random location.
- createTurtle(Turtle<?>, double, double) - Method in class turtlekit.kernel.TKEnvironment
-
Launch a turtle with predefined coordinates
- createTurtle(Turtle<?>, double, double) - Method in class turtlekit.kernel.Turtle
-
Launch a turtle with predefined coordinates.
- 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
-
Cu ctx synchronize.
- cuCtxSynchronizeAll() - Static method in class turtlekit.cuda.CudaEngine
-
Cu ctx synchronize all.
- CudaAverageField - Class in turtlekit.cuda
- CudaAverageField(String, int, int, int) - Constructor for class turtlekit.cuda.CudaAverageField
- CudaEngine - Class in turtlekit.cuda
-
The Class CudaEngine.
- CudaFloatBuffer - Class in turtlekit.cuda
- CudaFloatBuffer(CudaObject) - Constructor for class turtlekit.cuda.CudaFloatBuffer
- CudaGPUGradientsPhero - Class in turtlekit.cuda
- CudaGPUGradientsPhero(String, TKEnvironment<?>, float, float) - Constructor for class turtlekit.cuda.CudaGPUGradientsPhero
- CudaIntBuffer - Class in turtlekit.cuda
- CudaIntBuffer(CudaObject) - Constructor for class turtlekit.cuda.CudaIntBuffer
- CudaKernel - Class in turtlekit.cuda
- CudaKernels - Class in turtlekit.cuda
- CudaKernels() - Constructor for class turtlekit.cuda.CudaKernels
- CudaObject - Interface in turtlekit.cuda
- CudaPheromone - Class in turtlekit.cuda
- CudaPheromone(String, TKEnvironment<?>, float, float) - Constructor for class turtlekit.cuda.CudaPheromone
- CudaPheromone(String, TKEnvironment<?>, int, int) - Constructor for class turtlekit.cuda.CudaPheromone
- CudaPheromoneWithBlock - Class in turtlekit.cuda
- CudaPheromoneWithBlock(String, TKEnvironment<?>, float, float) - Constructor for class turtlekit.cuda.CudaPheromoneWithBlock
- CudaPlatform - Class in turtlekit.cuda
-
The Class CudaPlatform.
- CudaPlatform() - Constructor for class turtlekit.cuda.CudaPlatform
- CudaUnifiedBuffer - Class in turtlekit.cuda
- CudaUnifiedBuffer(CudaObject) - Constructor for class turtlekit.cuda.CudaUnifiedBuffer
D
- DataGrid<T> - Class in turtlekit.pheromone
- DataGrid(String, int, int) - Constructor for class turtlekit.pheromone.DataGrid
- DateBasedPheromoneActivator - Class in turtlekit.kernel.activator
- DateBasedPheromoneActivator() - Constructor for class turtlekit.kernel.activator.DateBasedPheromoneActivator
- DEFAULT_DEPTH - Static variable in class turtlekit.cuda.CudaAverageField
- defaultBehavior() - Method in class turtlekit.kernel.Turtle
-
Default behavior.
- DefaultTurtle - Class in turtlekit.kernel
- DefaultTurtle() - Constructor for class turtlekit.kernel.DefaultTurtle
- deleteTimer(Object) - Static method in class jcuda.utils.Timer
-
Deletes the timer with the given name
- die() - Method in class turtlekit.kernel.Turtle
-
Die.
- differenceTwoAngles(double, double) - Method in class turtlekit.kernel.Turtle
-
Deprecated, for removal: This API element is subject to removal in a future version.
- diffuseValuesToTmpGridKernel() - Method in class turtlekit.cuda.CudaPheromone
- diffuseValuesToTmpGridKernel() - Method in class turtlekit.pheromone.CPUStreamPheromone
- diffuseValuesToTmpGridKernel() - Method in interface turtlekit.pheromone.Pheromone
-
Diffuse the values to a temporary grid.
- diffusion() - Method in interface turtlekit.pheromone.Pheromone
-
Apply the diffusion process.
- diffusionAndEvaporation() - Method in class turtlekit.cuda.CudaGPUGradientsPhero
-
This is faster than calling them sequentially: Only one GPU kernel is called.
- diffusionAndEvaporation() - Method in interface turtlekit.pheromone.Pheromone
-
Apply the diffusion and evaporation process.
- diffusionAndEvaporationUpdateKernel() - Method in class turtlekit.cuda.CudaPheromone
- diffusionAndEvaporationUpdateKernel() - Method in class turtlekit.cuda.GPUSobelGradientsPhero
- diffusionAndEvaporationUpdateKernel() - Method in class turtlekit.pheromone.CPUStreamPheromone
- diffusionAndEvaporationUpdateKernel() - Method in interface turtlekit.pheromone.Pheromone
-
Apply the diffusion update and evaporation processes at once.
- diffusionToTmpKernel - Variable in class turtlekit.cuda.CudaPheromone
- diffusionUpdateKernel - Variable in class turtlekit.cuda.CudaPheromone
- diffusionUpdateThenEvaporationKernel - Variable in class turtlekit.cuda.CudaPheromone
- display() - Method in class turtlekit.viewer.TurtlePopulationChartDrawer
- 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
-
Distance.
- distanceNoWrap(double, double) - Method in class turtlekit.kernel.Turtle
-
return the "on screen distance" between the turtle and the coordinates (a,b).
- doIt(Consumer<? super Turtle<?>>) - Method in class turtlekit.kernel.TurtleActivator
- doSimulationStep() - Method in class turtlekit.kernel.TKScheduler
- dropObject(String, Object) - Method in class turtlekit.kernel.Patch
-
Drops a labeled object on the patch
- dropPheromone(String, float, Float...) - Method in class turtlekit.kernel.Patch
-
Drop pheromone.
- 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);
- ensureCapacity(int) - Method in class turtlekit.kernel.Patch
-
Ensure capacity.
- evaporation() - Method in interface turtlekit.pheromone.Pheromone
-
Apply the evaporation process.
- evaporationKernel - Variable in class turtlekit.cuda.CudaPheromone
- evaporationKernel() - Method in class turtlekit.cuda.CudaPheromone
- evaporationKernel() - Method in class turtlekit.pheromone.CPUStreamPheromone
- evaporationKernel() - Method in interface turtlekit.pheromone.Pheromone
-
Apply the evaporation process.
- execute(Object...) - Method in class turtlekit.kernel.activator.TurtleDiscreteEventActivator
- execute(Object...) - Method in class turtlekit.kernel.TurtleActivator
- executeBehavior() - Method in class turtlekit.kernel.Turtle
-
Execute the behavior which has been set using
Turtle.changeNextBehavior(String)
. - executePheromonesInParallel() - Method in class turtlekit.kernel.TKEnvironment
-
Execute pheromones in parallel.
- executePheromonesSequentialy() - Method in class turtlekit.kernel.TKEnvironment
- 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.TurtleKit
-
This offers a convenient way to create a main method that launches a simulation using the launcher 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.TurtleViewer
-
Execute this viewer.
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
- FileIO - Class in jcuda.utils
-
File I/O functions, similar to the CUTIL file functions
- forFunction(String) - Method in class jcuda.utils.KernelLauncher
-
Create a new KernelLauncher which uses the same module as this KernelLauncher, but may be used to execute a different function.
- freeCudaMemory(CUdeviceptr) - Method in class turtlekit.cuda.CudaEngine
-
Free cuda memory.
- freeCudaMemory(Pointer) - Method in class turtlekit.cuda.CudaEngine
-
Free cuda memory.
- freeCudaMemory(Pointer) - Method in interface turtlekit.cuda.CudaObject
- freeCUObjectsMemory() - Method in class turtlekit.cuda.CudaEngine
-
Free memory from the currently registered CUObjects
- freeMemory() - Method in class turtlekit.cuda.CudaAverageField
- freeMemory() - Static method in class turtlekit.cuda.CudaEngine
-
Stop the executors and clean memory on registered CUObjectgr
- 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.CudaUnifiedBuffer
- freeMemory() - Method in class turtlekit.cuda.GPUSobelGradientsPhero
- freeMemory() - Method in class turtlekit.cuda.NeighborsIndexes
G
- get(int) - Method in class turtlekit.cuda.CudaAverageField
- get(int) - Method in class turtlekit.cuda.CudaFloatBuffer
- get(int) - Method in class turtlekit.cuda.CudaIntBuffer
- get(int) - Method in class turtlekit.cuda.CudaPheromone
- get(int) - Method in class turtlekit.pheromone.CPUStreamPheromone
- get(int) - Method in class turtlekit.pheromone.DataGrid
- get(int) - Method in interface turtlekit.pheromone.Pheromone
-
Returns the value at the specified index
- get(int, int) - Method in class turtlekit.pheromone.DataGrid
- get(int, int) - Method in interface turtlekit.pheromone.Pheromone
-
Returns the value at the specified coordinates
- get1DIndex() - Method in class turtlekit.kernel.Turtle
-
Gets the 1 D index.
- get1DIndex(int, int) - Method in class turtlekit.kernel.TKEnvironment
- get1DIndex(int, int) - Method in class turtlekit.kernel.Turtle
-
Gets the 1 D index.
- get1DIndex(int, int) - Method in class turtlekit.pheromone.DataGrid
- get1DIndex(int, int) - Method in interface turtlekit.pheromone.Pheromone
- getAgents() - Method in class turtlekit.kernel.activator.DateBasedPheromoneActivator
- getAgents() - Method in class turtlekit.kernel.activator.TurtleDiscreteEventActivator
- getAgents() - Method in class turtlekit.kernel.TurtleActivator
-
for automatic casting
- getAnyTurtle() - Method in class turtlekit.kernel.Patch
-
Gets any turtle on this patch
- getAvailableDevicesCount() - Static method in class turtlekit.cuda.CudaPlatform
- getAverageTimerValue(Object) - Static method in class jcuda.utils.Timer
-
Returns the average time in milliseconds for the timer, which is the total time for the timer divided by the number of completed (stopped) runs the timer has made.
- getBackgroundColor() - Method in class turtlekit.pheromone.PheroColorModel
- getBaseColor() - Method in class turtlekit.pheromone.PheroColorModel
- getBlockDimX() - Method in class turtlekit.cuda.KernelConfiguration
- getBlockDimY() - Method in class turtlekit.cuda.KernelConfiguration
- getCellSize() - Method in class turtlekit.viewer.TurtleViewer
-
Gets the cell size.
- getCenterPatch() - Method in class turtlekit.kernel.Turtle
-
Gets the center patch.
- getClassFromMainStackTrace() - Static method in class turtlekit.kernel.Utils
- getColor() - Method in class turtlekit.kernel.Patch
-
Gets the color.
- getColor() - Method in class turtlekit.kernel.Turtle
-
Gets the color.
- getColorModel() - Method in class turtlekit.pheromone.AbstractPheromoneGrid
- getColorModel() - Method in interface turtlekit.pheromone.Pheromone
- getCommandLineArgumentFloat(String[], String, float) - Static method in class jcuda.utils.CommandLine
-
Returns the value of the command line argument with the given name as a float.
- getCommandLineArgumentInt(String[], String, int) - Static method in class jcuda.utils.CommandLine
-
Returns the value of the command line argument with the given name as an int.
- getCommandLineArgumentListString(String[], String) - Static method in class jcuda.utils.CommandLine
-
Returns the value of the command line argument with the given name as a list of strings.
- getCommandLineArgumentString(String[], String) - Static method in class jcuda.utils.CommandLine
-
Returns the value of the command line argument with the given name as a String.
- getCommunity() - Method in class turtlekit.kernel.activator.DateBasedPheromoneActivator
- getCommunity() - Method in class turtlekit.kernel.TurtleActivator
- getCommunity() - Method in class turtlekit.kernel.activator.TurtleDiscreteEventActivator
- getCosinus() - Method in class turtlekit.kernel.Turtle
-
Gets the cosinus.
- getCudaEngine() - Method in interface turtlekit.cuda.CudaObject
- getCudaEngine(CudaObject) - Static method in class turtlekit.cuda.CudaEngine
-
Gets the cuda engine.
- getCudaObject() - Method in class turtlekit.cuda.CudaUnifiedBuffer
- getCudaPheromoneWithBlock(String, float, float) - Method in class turtlekit.kernel.TKEnvironment
-
Gets the cuda pheromone with block.
- getCudasLibsPath() - Static method in class turtlekit.cuda.CudaPlatform
-
Gets the cudas libs path.
- getCurrentBehaviorCount() - Method in class turtlekit.kernel.Turtle
-
When the turtle switches its behavior the value of this counter is reset to 1.
- getCurrentBehaviorDuration() - Method in class turtlekit.kernel.Turtle
-
Gets the current behavior duration.
- getDiffusionCoefficient() - Method in class turtlekit.pheromone.AbstractPheromoneGrid
- getDiffusionCoefficient() - Method in interface turtlekit.pheromone.Pheromone
- getDirectionFromTo(Patch, Patch) - Method in class turtlekit.kernel.PatchGrid
-
Gets the direction from to.
- getDirectionToPatch(Patch) - Method in class turtlekit.kernel.Patch
-
Gets the direction to patch.
- getDistanceBetweenPatchCenters(Patch, Patch) - Method in class turtlekit.kernel.PatchGrid
-
Gets the distance between patch centers.
- getDistanceBetweenPatchWithoutTorusMode(Patch, Patch) - Method in class turtlekit.kernel.PatchGrid
-
Gets the distance between patch without torus mode.
- getDistanceToPatch(Patch) - Method in class turtlekit.kernel.Patch
-
Gets the distance to patch.
- getEnvironment() - Method in class turtlekit.kernel.PatchGrid
-
Gets the environment.
- getEnvironment() - Method in class turtlekit.kernel.Turtle
-
Gets the environment.
- getEnvironment() - Method in class turtlekit.viewer.TurtleViewer
-
Gets the environment.
- getEnvironmentUpdateActivator() - Method in class turtlekit.kernel.TKScheduler
- getEvaporationCoefficient() - Method in class turtlekit.pheromone.AbstractPheromoneGrid
- getEvaporationCoefficient() - Method in interface turtlekit.pheromone.Pheromone
-
Return the evaporation coefficient
- getFieldValue(Pheromone<Float>) - Method in class turtlekit.kernel.Turtle
-
Gets the field value.
- getGrid() - Method in class turtlekit.kernel.Turtle
-
Gets the grid.
- getGridDimX() - Method in class turtlekit.cuda.KernelConfiguration
- getGridDimY() - Method in class turtlekit.cuda.KernelConfiguration
- getGridModel() - Method in class turtlekit.kernel.Patch
-
Gets the gridModel the patch is in
- getGridModel() - Method in class turtlekit.kernel.TKEnvironment
-
Gets the grid model.
- getGridModel() - Method in class turtlekit.viewer.TurtleViewer
-
Gets the grid model.
- getGridParallelStream() - Method in class turtlekit.kernel.PatchGrid
-
Gets the grid parallel stream.
- getGroup() - Method in class turtlekit.kernel.activator.DateBasedPheromoneActivator
- getGroup() - Method in class turtlekit.kernel.TurtleActivator
- getGroup() - Method in class turtlekit.kernel.activator.TurtleDiscreteEventActivator
- getHeading() - Method in class turtlekit.kernel.Turtle
-
return the current heading of the turtle.
- getHeadingInRadians() - Method in class turtlekit.kernel.Turtle
-
return the current heading of the turtle.
- getHeight() - Method in interface turtlekit.cuda.CudaObject
- getHeight() - Method in class turtlekit.cuda.NeighborsIndexes
- getHeight() - Method in class turtlekit.kernel.PatchGrid
- getHeight() - Method in class turtlekit.pheromone.DataGrid
- getHeight() - Method in interface turtlekit.pheromone.Pheromone
- getHeight() - Method in class turtlekit.viewer.TurtleViewer
-
Gets the height.
- getHeightPointer() - Method in interface turtlekit.cuda.CudaObject
- getID() - Method in class turtlekit.kernel.Turtle
-
the id of this turtle.
- getJarFilesOnModulePath() - Static method in class turtlekit.cuda.CudaPlatform
-
Gets the jar files on module path.
- getKernelConfiguration() - Method in class turtlekit.cuda.CudaAverageField
- getKernelConfiguration() - Method in interface turtlekit.cuda.CudaObject
-
see
CudaEngine.createNewKernelConfiguration(int, int)
for creating a default one. - getKernelConfiguration() - Method in class turtlekit.cuda.CudaPheromone
- getKernelConfiguration() - Method in class turtlekit.cuda.NeighborsIndexes
- getLogMaxValue() - Method in class turtlekit.pheromone.AbstractPheromoneGrid
- getLogMaxValue() - Method in interface turtlekit.pheromone.Pheromone
- getMainColor() - Method in class turtlekit.pheromone.PheroColorModel
- getMark(String) - Method in class turtlekit.kernel.Patch
-
gets an labeled object previously deposed on the patch
- getMaxDirection(int, int) - Method in class turtlekit.cuda.CudaGPUGradientsPhero
- getMaxDirection(int, int) - Method in class turtlekit.cuda.CudaPheromone
- getMaxDirection(int, int) - Method in class turtlekit.cuda.GPUSobelGradientsPhero
- getMaxDirection(int, int) - Method in class turtlekit.pheromone.CPU_SobelPheromone
- getMaxDirection(int, int) - Method in class turtlekit.pheromone.CPUStreamPheromone
- getMaxDirection(int, int) - Method in interface turtlekit.pheromone.Pheromone
-
Returns the direction with the maximum value
- getMaxDirection(Pheromone<?>) - Method in class turtlekit.kernel.Turtle
-
Gets the max direction.
- getMaxDirectionInVisionCone(Pheromone<?>, double) - Method in class turtlekit.kernel.Turtle
-
Gets the max direction in vision cone.
- getMaxDirectionNoRandom(int, int) - Method in class turtlekit.cuda.CudaPheromone
- getMaxDirectionNoRandom(int, int) - Method in class turtlekit.pheromone.CPUStreamPheromone
- getMaxDirectionNoRandom(AbstractPheromoneGrid<Float>, int) - Static method in class turtlekit.pheromone.GradientsCalculator
- getMaxDirectionRandomWhenEquals(int, int) - Method in class turtlekit.cuda.CudaPheromone
- getMaxDirectionRandomWhenEquals(int, int) - Method in class turtlekit.pheromone.CPUStreamPheromone
- getMaxDirectionRandomWhenEquals(AbstractPheromoneGrid<Float>, int) - Static method in class turtlekit.pheromone.GradientsCalculator
- getMaxEncounteredValue() - Method in class turtlekit.pheromone.AbstractPheromoneGrid
- getMaxEncounteredValue() - Method in interface turtlekit.pheromone.Pheromone
-
Returns the current maximum value in the grid
- getMaxThreads() - Method in class turtlekit.cuda.CudaEngine
-
Gets the max threads.
- getMinDirection(int, int) - Method in class turtlekit.cuda.CudaPheromone
- getMinDirection(int, int) - Method in class turtlekit.cuda.GPUSobelGradientsPhero
- getMinDirection(int, int) - Method in class turtlekit.pheromone.CPU_SobelPheromone
- getMinDirection(int, int) - Method in class turtlekit.pheromone.CPUStreamPheromone
- getMinDirection(int, int) - Method in interface turtlekit.pheromone.Pheromone
-
Returns the direction with the minimum value
- getMinDirection(Pheromone<?>) - Method in class turtlekit.kernel.Turtle
-
Gets the min direction.
- getMinDirectionNoRandom(int, int) - Method in class turtlekit.cuda.CudaPheromone
- getMinDirectionNoRandom(int, int) - Method in class turtlekit.pheromone.CPUStreamPheromone
- getMinDirectionNoRandom(AbstractPheromoneGrid<Float>, int) - Static method in class turtlekit.pheromone.GradientsCalculator
- getMinDirectionRandomWhenEquals(int, int) - Method in class turtlekit.cuda.CudaPheromone
- getMinDirectionRandomWhenEquals(int, int) - Method in class turtlekit.pheromone.CPUStreamPheromone
- getMinDirectionRandomWhenEquals(AbstractPheromoneGrid<Float>, int) - Static method in class turtlekit.pheromone.GradientsCalculator
- getModule() - Method in class jcuda.utils.KernelLauncher
-
Returns the module that was created from the PTX- or CUBIN file, and which contains the function that should be executed.
- getName() - Method in class turtlekit.kernel.activator.DateBasedPheromoneActivator
- getName() - Method in class turtlekit.kernel.TurtleActivator
- getName() - Method in class turtlekit.kernel.activator.TurtleDiscreteEventActivator
- getName() - Method in class turtlekit.pheromone.DataGrid
- getName() - Method in interface turtlekit.pheromone.Pheromone
- 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.
- 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, boolean) - Method in class turtlekit.kernel.Patch
-
Gets the nearest turtle of type T in the vicinity of the patch.
- 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, Class<T>) - Method in class turtlekit.kernel.Turtle
-
Returns the nearest turtle of type T from this one according to its patch distance.
- getNearestTurtles(int, int, Class<T>) - Method in class turtlekit.kernel.Turtle
-
Returns the
howMany
nearest turtles of type T from this one according to a 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.
- 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.
- getNeighbors(int, boolean) - Method in class turtlekit.kernel.Patch
-
Gets the neighbors.
- getNeighborsIndexes() - Method in class turtlekit.kernel.TKEnvironment
-
Gets the neighbors indexes.
- getNeighborsIndexes() - Method in class turtlekit.pheromone.AbstractPheromoneGrid
- getNeighborsIndexesPtr() - Method in class turtlekit.cuda.NeighborsIndexes
- getNeighborsOf(Patch, int, boolean) - Method in class turtlekit.kernel.PatchGrid
-
Gets the neighbors of.
- getNewCudaStream() - Method in class turtlekit.cuda.CudaEngine
-
Gets the new cuda stream.
- getNextPatch() - Method in class turtlekit.kernel.Turtle
-
Gets the next patch.
- getOtherTurtles(int, boolean) - Method in class turtlekit.kernel.Turtle
-
Gets the other turtles.
- getOtherTurtles(int, boolean, Class<T>) - Method in class turtlekit.kernel.Turtle
-
Gets the other turtles.
- getOtherTurtlesWithRole(int, boolean, String) - Method in class turtlekit.kernel.Turtle
-
Gets the other turtles with role.
- getOtherTurtlesWithRole(int, boolean, String, Class<T>) - Method in class turtlekit.kernel.Turtle
-
Gets the other turtles with role.
- getPatch(int, int) - Method in class turtlekit.kernel.PatchGrid
-
Gets the patch.
- getPatch(int, int) - Method in class turtlekit.kernel.TKEnvironment
- 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
-
Gets the patch color.
- getPatchGrid() - Method in class turtlekit.kernel.PatchGrid
-
Gets the patch grid.
- getPatchGrid() - Method in class turtlekit.kernel.TKEnvironment
- getPatchGrid() - Method in class turtlekit.viewer.TurtleViewer
-
Gets the patch grid.
- getPatchNeighborhood(int, boolean) - Method in class turtlekit.kernel.Turtle
-
Gets the patch neighborhood.
- getPatchOtherTurtles() - Method in class turtlekit.kernel.Turtle
-
Gets the patch other turtles.
- 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) - 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.
- 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.
- getPheromones() - Method in class turtlekit.kernel.TKEnvironment
-
Gets the pheromones.
- getPheromones() - Method in class turtlekit.kernel.Turtle
-
Gets the pheromones.
- getPheromonesMap() - Method in class turtlekit.kernel.TKEnvironment
-
Gets the pheromones map.
- getPheroWithMaxIntensity(int) - Method in class turtlekit.viewer.TKViewer
-
Get the pheromone with the maximum intensity on the cell at the given index.
- getPointer() - Method in class turtlekit.cuda.CudaUnifiedBuffer
- getPointerToFloat(double) - Method in interface turtlekit.cuda.CudaObject
- getPointerToFloat(float) - Method in class turtlekit.cuda.CudaEngine
-
Gets the pointer to float.
- getPointerToFloat(float) - Method in interface turtlekit.cuda.CudaObject
- getPointerToInt(int) - Method in interface turtlekit.cuda.CudaObject
- getRole() - Method in class turtlekit.kernel.activator.DateBasedPheromoneActivator
- getRole() - Method in class turtlekit.kernel.TurtleActivator
- getRole() - Method in class turtlekit.kernel.activator.TurtleDiscreteEventActivator
- getSelectedPheromones() - Method in class turtlekit.pheromone.PherosViewNode
- getSelectedPheros() - Method in class turtlekit.viewer.TKViewer
-
Get the selected pheromones.
- getSinus() - Method in class turtlekit.kernel.Turtle
-
Gets the sinus.
- getSobelPheromone(String, float, float) - Method in class turtlekit.kernel.TKEnvironment
-
Gets the sobel pheromone.
- getStreamID() - Method in class turtlekit.cuda.KernelConfiguration
- getTimerValue(Object) - Static method in class jcuda.utils.Timer
-
Returns the total time in milliseconds of all runs since the creation or the last reset.
- getTurtleActivator(String) - Method in class turtlekit.kernel.TKScheduler
-
Returns a
TurtleActivator
for this role or creates and adds one to simulation if it not already exists. - getTurtles() - Method in class turtlekit.kernel.Patch
-
Gets the turtles.
- getTurtles(int, boolean) - Method in class turtlekit.kernel.Patch
-
Gets the turtles.
- getTurtles(int, boolean, Class<T>) - Method in class turtlekit.kernel.Patch
-
Gets the turtles.
- getTurtles(int, boolean, Predicate<? super Turtle<?>>) - Method in class turtlekit.kernel.Patch
-
Gets the turtles.
- getTurtles(Class<T>) - Method in class turtlekit.kernel.Patch
-
Gets all the turtles on this patch according to their type.
- getTurtles(Predicate<? super Turtle<?>>) - Method in class turtlekit.kernel.Patch
-
Gets the turtles.
- getTurtlesWithRole(int, boolean, String) - Method in class turtlekit.kernel.Patch
-
Gets the turtles with role.
- getTurtlesWithRole(int, boolean, String, Class<T>) - Method in class turtlekit.kernel.Patch
-
Gets the turtles with role.
- getTurtlesWithRole(String) - Method in class turtlekit.kernel.Patch
-
Get all the turtles which are on this patch and having this role.
- getTurtlesWithRole(String, Class<T>) - Method in class turtlekit.kernel.Patch
-
Get all the turtles on this patch according to their type and role.
- getTurtlesWithRoles(String) - Method in class turtlekit.kernel.TKEnvironment
-
Gets the turtles with this role in the default community and group
- getTurtlesWithRoles(String, String, String) - Method in class turtlekit.kernel.TKEnvironment
- getUnifiedBufferBetweenPointer(Pointer, CUdeviceptr, Class<T>) - Method in interface turtlekit.cuda.CudaObject
- getUnifiedBufferBetweenPointer(Pointer, CUdeviceptr, Class<T>, int, int) - Method in class turtlekit.cuda.CudaEngine
-
Gets the unified buffer between pointer.
- getValueColor(T) - Method in interface turtlekit.pheromone.Pheromone
- getValueIntensity(float) - Method in interface turtlekit.pheromone.Pheromone
- getValues() - Method in class turtlekit.cuda.CudaFloatBuffer
- getValues() - Method in class turtlekit.cuda.CudaPheromone
- getViewerActivator() - Method in class turtlekit.kernel.TKScheduler
- getWidth() - Method in interface turtlekit.cuda.CudaObject
- getWidth() - Method in class turtlekit.cuda.NeighborsIndexes
- getWidth() - Method in class turtlekit.kernel.PatchGrid
- getWidth() - Method in class turtlekit.pheromone.DataGrid
- getWidth() - Method in interface turtlekit.pheromone.Pheromone
- getWidth() - Method in class turtlekit.viewer.TurtleViewer
-
Gets the width.
- getWidthPointer() - Method in interface turtlekit.cuda.CudaObject
- getWorldHeight() - Method in class turtlekit.kernel.Turtle
-
Gets the world height.
- getWorldWidth() - Method in class turtlekit.kernel.Turtle
-
Gets the world width.
- getX() - Method in class turtlekit.kernel.Turtle
-
Gets the x.
- getY() - Method in class turtlekit.kernel.Turtle
-
Gets the y.
- GPU_GRADIENTS - Variable in class turtlekit.kernel.TKEnvironment
-
The gpu gradients.
- GPUSobelGradientsPhero - Class in turtlekit.cuda
- GPUSobelGradientsPhero(String, TKEnvironment<?>, float, float) - Constructor for class turtlekit.cuda.GPUSobelGradientsPhero
- GradientsCalculator - Class in turtlekit.pheromone
- GradientsCalculator() - Constructor for class turtlekit.pheromone.GradientsCalculator
- GREEN - Enum constant in enum class turtlekit.pheromone.PheroColorModel.MainColor
- GREEN - Static variable in class turtlekit.pheromone.PheroColorModel
- grid - Static variable in class turtlekit.kernel.Turtle
-
The grid.
H
I
- incrementBehaviorCount() - Method in class turtlekit.kernel.Turtle
-
Increment behavior count.
- incValue(int, float) - Method in class turtlekit.cuda.CudaPheromone
-
Adds
inc
to the current value of the cell with the corresponding index - incValue(int, float) - Method in class turtlekit.pheromone.CPUStreamPheromone
-
Adds
inc
to the current value of the cell with the corresponding index - incValue(int, float) - Method in interface turtlekit.pheromone.Pheromone
- incValue(int, int, float) - Method in class turtlekit.cuda.CudaPheromone
- incValue(int, int, float) - Method in class turtlekit.pheromone.CPUStreamPheromone
- incValue(int, int, float) - Method in interface turtlekit.pheromone.Pheromone
- init(Level) - Static method in class turtlekit.cuda.CudaPlatform
-
Inits the.
- initializeActivators() - Method in class turtlekit.kernel.TKScheduler
-
Initialize default TurtleKit activators.
1. - initKernels() - Method in class turtlekit.cuda.CudaAverageField
- initKernels() - Method in class turtlekit.cuda.CudaPheromone
- initKernels() - Method in class turtlekit.cuda.CudaPheromoneWithBlock
- initKernels() - Method in class turtlekit.cuda.NeighborsIndexes
- isCudaAvailable() - Static method in class turtlekit.cuda.CudaPlatform
-
Checks if is cuda available.
- isEmpty() - Method in class turtlekit.kernel.activator.DateBasedPheromoneActivator
- isEmpty() - Method in class turtlekit.kernel.TurtleActivator
- isEmpty() - Method in class turtlekit.kernel.activator.TurtleDiscreteEventActivator
- isEmpty() - Method in class turtlekit.kernel.Patch
-
Checks if there is at least one turtle on this patch
- isInVisionCone(Patch, double) - Method in class turtlekit.kernel.Turtle
-
Checks if is in vision cone.
- isInVisionCone(Turtle<?>, double) - Method in class turtlekit.kernel.Turtle
-
Checks if is in vision cone.
- isObjectPresent(String) - Method in class turtlekit.kernel.Patch
-
tests if the corresponding mark is present on the patch (true or false)
- isPlayingRole(String) - Method in class turtlekit.kernel.Turtle
-
Tells if the turtle is currently playing this role.
- isSynchronizeGPU() - Method in class turtlekit.kernel.TKEnvironment
-
Checks if is synchronize GPU.
- isTorusModeOn() - Method in class turtlekit.kernel.PatchGrid
J
- jcuda.utils - package jcuda.utils
-
Utility classes for JCuda.
K
- kernelConfiguration - Variable in class turtlekit.cuda.CudaPheromone
- KernelConfiguration - Class in turtlekit.cuda
-
A kernel configuration defines the dimensions of the cuda grid and blocks to be used, as well as a stream ID
- KernelLauncher - Class in jcuda.utils
-
This is a utility class that simplifies the setup and launching of CUDA kernels using the JCuda Driver API.
- killAgents() - Method in class turtlekit.kernel.activator.DateBasedPheromoneActivator
- killAgents() - Method in class turtlekit.kernel.TurtleActivator
- killAgents() - Method in class turtlekit.kernel.activator.TurtleDiscreteEventActivator
L
- load(InputStream, String) - Static method in class jcuda.utils.KernelLauncher
-
Create a new KernelLauncher which may be used to execute the specified function which is loaded from the PTX- or CUBIN data that is read from the given input stream.
- load(String, String) - Static method in class jcuda.utils.KernelLauncher
-
Create a new KernelLauncher which may be used to execute the specified function which is loaded from the PTX- or CUBIN (CUDA binary) file with the given name.
M
- main(String[]) - Static method in class turtlekit.cuda.CudaEngine
-
Implements a little test that instantiates the CudaEngine and then cleans up
- main(String[]) - Static method in class turtlekit.cuda.CudaKernel
- main(String[]) - Static method in class turtlekit.kernel.DefaultTurtle
- main(String[]) - Static method in class turtlekit.kernel.TutleKit4
-
The main method.
- MathUtils - Class in turtlekit.kernel
-
The Class MathUtils.
- MathUtils() - Constructor for class turtlekit.kernel.MathUtils
- maxPinnedMemory - Variable in class turtlekit.cuda.CudaGPUGradientsPhero
- moveTo(double, double) - Method in class turtlekit.kernel.Turtle
-
teleport the turtle to patch (a,b).
- myModule - Variable in class turtlekit.cuda.CudaEngine
N
- nearestTurtles(int, int) - Method in class turtlekit.kernel.Turtle
-
Returns the
howMany
nearest turtles of type T from this one according to a patch distance. - neighborsIndexes - Variable in class turtlekit.pheromone.AbstractPheromoneGrid
- NeighborsIndexes - Class in turtlekit.cuda
- NeighborsIndexes(int, int) - Constructor for class turtlekit.cuda.NeighborsIndexes
- normalizeX(double) - Method in class turtlekit.kernel.PatchGrid
-
Returns the normalized value of x, so that it is inside the environment's boundaries
- normalizeX(double) - 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.PatchGrid
-
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(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.PatchGrid
-
Returns the normalized value of y, 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(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.PatchGrid
-
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(int) - Method in class turtlekit.kernel.Turtle
-
Returns the normalized value of y, so that it is inside the environment's boundaries.
- normeValue(int, int) - Method in class turtlekit.pheromone.AbstractPheromoneGrid
-
helper
O
- onActivation() - Method in class turtlekit.kernel.DefaultTurtle
- onActivation() - Method in class turtlekit.kernel.TKEnvironment
- onActivation() - Method in class turtlekit.kernel.TKScheduler
- onActivation() - Method in class turtlekit.kernel.Turtle
-
On activation.
- onActivation() - Method in class turtlekit.kernel.TurtleKit
- onActivation() - Method in class turtlekit.viewer.TKViewer
- onActivation() - Method in class turtlekit.viewer.TurtlePopulationChartDrawer
- onActivation() - Method in class turtlekit.viewer.TurtleViewer
-
On activation.
- onAdding(Agent) - Method in class turtlekit.kernel.activator.DateBasedPheromoneActivator
- onAdding(Agent) - Method in class turtlekit.kernel.TurtleActivator
- onAdding(Agent) - Method in class turtlekit.kernel.activator.TurtleDiscreteEventActivator
- onEnd() - Method in class turtlekit.kernel.TKEnvironment
- onEnd() - Method in class turtlekit.kernel.TKScheduler
- onEnd() - Method in class turtlekit.kernel.Turtle
-
On end.
- onLaunchSimulatedAgents() - Method in class turtlekit.kernel.TurtleKit
- onLive() - Method in class turtlekit.kernel.TKScheduler
- onRemoving(Agent) - Method in class turtlekit.kernel.activator.DateBasedPheromoneActivator
- onRemoving(Agent) - Method in class turtlekit.kernel.TurtleActivator
- onRemoving(Agent) - Method in class turtlekit.kernel.activator.TurtleDiscreteEventActivator
- onSimulationStart() - Method in class turtlekit.kernel.TKEnvironment
-
On simulation start.
- onSimulationStart() - Method in class turtlekit.kernel.TKScheduler
- onStart() - Method in class turtlekit.kernel.Turtle
-
On start.
P
- paintPatch(Patch, int, int, int) - Method in class turtlekit.viewer.TKViewer
- paintPatch(Patch, int, int, int) - Method in class turtlekit.viewer.TurtleViewer
-
Paint patch.
- paintTurtle(Turtle<?>, int, int) - Method in class turtlekit.viewer.TurtleViewer
-
Paint turtle.
- patch() - Method in class turtlekit.kernel.Turtle
-
Gets the patch on which the turtle is.
- Patch - Class in turtlekit.kernel
-
This class represents the default cell model of TurtleKit
- Patch() - Constructor for class turtlekit.kernel.Patch
-
Creates a patch having a black color
- Patch(int, int) - Constructor for class turtlekit.kernel.Patch
-
Creates a patch having a black color
- patchesInVisionCone(double) - Method in class turtlekit.kernel.Turtle
-
Gets the patches in vision cone.
- PatchGrid<P> - Class in turtlekit.kernel
-
The Class PatchGrid.
- PatchGrid(TKEnvironment, boolean, int, int, Class<? extends Patch>) - Constructor for class turtlekit.kernel.PatchGrid
- PheroColorModel - Class in turtlekit.pheromone
- PheroColorModel() - Constructor for class turtlekit.pheromone.PheroColorModel
- PheroColorModel(int, int, int, PheroColorModel.MainColor) - Constructor for class turtlekit.pheromone.PheroColorModel
- PheroColorModel(Color, PheroColorModel.MainColor) - Constructor for class turtlekit.pheromone.PheroColorModel
- PheroColorModel.MainColor - Enum Class in turtlekit.pheromone
- Pheromone<T> - Interface in turtlekit.pheromone
- PheromoneListCell - Class in turtlekit.pheromone
- PheromoneListCell(Map<String, Pheromone<Float>>, ListView<String>, VBox) - Constructor for class turtlekit.pheromone.PheromoneListCell
- Pheromones - Class in turtlekit.pheromone
- Pheromones() - Constructor for class turtlekit.pheromone.Pheromones
- PherosViewNode - Class in turtlekit.pheromone
- PherosViewNode(TKViewer) - Constructor for class turtlekit.pheromone.PherosViewNode
- prettyPrint() - Static method in class jcuda.utils.Timer
-
Pretty print a summary of all timers that currently exist
- Print - Class in jcuda.utils
-
Utility methods for creating formatted String representations of 1D- 2D- and 3D arrays
- printBehaviorInFinerLoggingLevel() - Method in class turtlekit.kernel.Turtle
-
Prints the behavior in finer logging level.
- prng() - Method in class turtlekit.pheromone.AbstractPheromoneGrid
- put(int, Float) - Method in class turtlekit.cuda.CudaFloatBuffer
- put(int, Integer) - Method in class turtlekit.cuda.CudaIntBuffer
R
- randomHeading() - Method in class turtlekit.kernel.Turtle
-
Random heading.
- randomHeading(double) - Method in class turtlekit.kernel.Turtle
-
Random heading.
- randomize() - Static method in class jcuda.utils.Create
-
Will randomize the random number generator
- randomize(long) - Static method in class jcuda.utils.Create
-
Will initialize the random number generator with the given seed.
- randomLocation() - Method in class turtlekit.kernel.Turtle
-
Teleports the turtle to a random location.
- readFileAsString(String) - Static method in class jcuda.utils.FileIO
-
Read the contents of the file with the given name, and return it as a String
- readFileByte(String) - Static method in class jcuda.utils.FileIO
-
Reads the file with the given name containing byte data, and returns the contents of this file as an array
- readFileDouble(String) - Static method in class jcuda.utils.FileIO
-
Reads the file with the given name containing double precision floating point data, and returns the contents of this file as an array
- readFileFloat(String) - Static method in class jcuda.utils.FileIO
-
Reads the file with the given name containing single precision floating point data, and returns the contents of this file as an array
- readFileInt(String) - Static method in class jcuda.utils.FileIO
-
Reads the file with the given name containing integer data, and returns the contents of this file as an array
- RED - Enum constant in enum class turtlekit.pheromone.PheroColorModel.MainColor
- RED - Static variable in class turtlekit.pheromone.PheroColorModel
- removeTurtleFromEnvironment(Turtle<?>) - Method in class turtlekit.kernel.TKEnvironment
- render() - Method in class turtlekit.viewer.TKViewer
- render() - Method in class turtlekit.viewer.TurtlePopulationChartDrawer
- render() - Method in class turtlekit.viewer.TurtleViewer
-
Render.
- resetTimer(Object) - Static method in class jcuda.utils.Timer
-
Reset the timer with the given name
- run(Pointer...) - Method in class turtlekit.cuda.CudaKernel
S
- selectAllPheros() - Method in class turtlekit.pheromone.PherosViewNode
- selectAllPheros() - Method in class turtlekit.viewer.TKViewer
-
Perform the selection of all pheromones in the view node.
- set(int, int) - Method in class turtlekit.cuda.CudaAverageField
- set(int, int, T) - Method in class turtlekit.pheromone.DataGrid
- set(int, int, T) - Method in interface turtlekit.pheromone.Pheromone
- set(int, Float) - Method in class turtlekit.cuda.CudaPheromone
- set(int, Float) - Method in class turtlekit.pheromone.CPUStreamPheromone
- set(int, Integer) - Method in class turtlekit.cuda.CudaAverageField
- set(int, T) - Method in class turtlekit.pheromone.DataGrid
- set(int, T) - Method in interface turtlekit.pheromone.Pheromone
- setBaseColor(Color) - Method in class turtlekit.pheromone.PheroColorModel
- setBlockDimX(int) - Method in class turtlekit.cuda.KernelConfiguration
- setBlockDimY(int) - Method in class turtlekit.cuda.KernelConfiguration
- setBlockSize(int, int, int) - Method in class jcuda.utils.KernelLauncher
-
Set the block size (number of threads per block) for the function call.
This corresponds to the second parameter in the runtime call:
kernel<<<gridSize, blockSize, sharedMemSize, stream>>>(...);
The default block size is (1,1,1) - setCellSize(int) - Method in class turtlekit.viewer.TurtleViewer
-
Sets the cell size.
- setColor(Color) - Method in class turtlekit.kernel.Patch
-
Sets the color.
- setColor(Color) - Method in class turtlekit.kernel.Turtle
-
Sets the color.
- setColorModel(PheroColorModel) - Method in class turtlekit.pheromone.AbstractPheromoneGrid
- setColorModel(PheroColorModel) - Method in interface turtlekit.pheromone.Pheromone
- setCompilerPath(String) - Static method in class jcuda.utils.KernelLauncher
-
Set the path to the NVCC compiler.
- setCurrentBehaviorCount(int) - Method in class turtlekit.kernel.Turtle
-
Sets the current behavior count.
- setDeviceNumber(int) - Static method in class jcuda.utils.KernelLauncher
-
Set the number (index) of the device which should be used by the KernelLauncher
- setDiffusionCoefficient(double) - Method in class turtlekit.pheromone.AbstractPheromoneGrid
- setDiffusionCoefficient(double) - Method in interface turtlekit.pheromone.Pheromone
-
Set the diffusion coefficient between 0 and 1, e.g.
- setEvaporationCoefficient(double) - Method in class turtlekit.pheromone.AbstractPheromoneGrid
- setEvaporationCoefficient(double) - Method in interface turtlekit.pheromone.Pheromone
-
Set the evaporation coefficient between 0 and 1, e.g.
- setGridDimX(int) - Method in class turtlekit.cuda.KernelConfiguration
- setGridDimY(int) - Method in class turtlekit.cuda.KernelConfiguration
- setGridSize(int, int) - Method in class jcuda.utils.KernelLauncher
-
Set the grid size (number of blocks per grid) for the function call.
This corresponds to the first parameter in the runtime call:
kernel<<<gridSize, blockSize, sharedMemSize, stream>>>(...);
The default grid size is (1,1,1) - setGridSize(int, int, int) - Method in class jcuda.utils.KernelLauncher
-
Set the grid size (number of blocks per grid) for the function call.
This corresponds to the first parameter in the runtime call:
kernel<<<gridSize, blockSize, sharedMemSize, stream>>>(...);
The default grid size is (1,1,1) - 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
-
Sets the heading towards no wrap.
- setHeadingWithOffset(double, double) - Method in class turtlekit.kernel.Turtle
-
Sets the heading with offset.
- setHeight(int) - Method in class turtlekit.kernel.PatchGrid
- setHeight(int) - Method in class turtlekit.kernel.TKEnvironment
- setLogMaxValue(double) - Method in class turtlekit.pheromone.AbstractPheromoneGrid
- setMainColor(PheroColorModel.MainColor) - Method in class turtlekit.pheromone.PheroColorModel
- setMaxEncounteredValue(T) - Method in class turtlekit.pheromone.AbstractPheromoneGrid
- setMaxEncounteredValue(T) - Method in interface turtlekit.pheromone.Pheromone
- setNextMethod(MethodHandle) - Method in class turtlekit.kernel.Turtle
-
Sets the next method 2.
- setPatchColor(Color) - Method in class turtlekit.kernel.Turtle
-
Sets the patch color.
- setSharedMemSize(int) - Method in class jcuda.utils.KernelLauncher
-
Set the size of the shared memory for the function call.
This corresponds to the third parameter in the runtime call:
kernel<<<gridSize, blockSize, sharedMemSize, stream>>>(...);
The default shared memory size is 0. - setStream(CUstream) - Method in class jcuda.utils.KernelLauncher
-
Set the stream for the function call.
This corresponds to the fourth parameter in the runtime call:
kernel<<<gridSize, blockSize, sharedMemSize, stream>>>(...);
The default stream is null (0). - setStreamID(CUstream) - Method in class turtlekit.cuda.KernelConfiguration
- setSynchronizeGPU(boolean) - Method in class turtlekit.kernel.TKEnvironment
-
Sets the synchronize GPU.
- setTorusMode(boolean) - Method in class turtlekit.kernel.PatchGrid
- setTurtleCoordinate(Turtle<?>, double, double) - Method in class turtlekit.kernel.TKEnvironment
- setup(dim3, dim3) - Method in class jcuda.utils.KernelLauncher
-
Set the given grid size and block size for this KernelLauncher.
- setup(dim3, dim3, int) - Method in class jcuda.utils.KernelLauncher
-
Set the given grid size and block size and shared memory size for this KernelLauncher.
- setup(dim3, dim3, int, CUstream) - Method in class jcuda.utils.KernelLauncher
-
Set the given grid size and block size, shared memory size and stream for this KernelLauncher.
- setVerbose(boolean) - Static method in class jcuda.utils.Compare
-
Set the flag which indicates whether the output will be verbose and printing information about the differences between the arrays that are compared.
- setWidth(int) - Method in class turtlekit.kernel.PatchGrid
- setWidth(int) - Method in class turtlekit.kernel.TKEnvironment
- setX(double) - Method in class turtlekit.kernel.Turtle
-
Sets the x.
- setXY(double, double) - Method in class turtlekit.kernel.Turtle
-
Sets the XY.
- setY(double) - Method in class turtlekit.kernel.Turtle
-
Sets the y.
- size() - Method in class turtlekit.kernel.activator.DateBasedPheromoneActivator
- size() - Method in class turtlekit.kernel.TurtleActivator
- size() - Method in class turtlekit.kernel.activator.TurtleDiscreteEventActivator
- size() - Method in class turtlekit.cuda.CudaFloatBuffer
- smell(String) - Method in class turtlekit.kernel.Turtle
-
Smell.
- smellAt(String, int, int) - Method in class turtlekit.kernel.Turtle
-
Smell at.
- smellAt(Pheromone<Float>, int, int) - Method in class turtlekit.kernel.Turtle
-
Smell at.
- startTimer(Object) - Static method in class jcuda.utils.Timer
-
Start the timer with the given name
- 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
- stopTimer(Object) - Static method in class jcuda.utils.Timer
-
Stop the timer with the given name
- stream() - Method in class turtlekit.kernel.TurtleActivator
- submit(Runnable) - Method in class turtlekit.cuda.CudaEngine
-
Submit.
- swapColor(Color) - Method in class turtlekit.kernel.Patch
-
Swap color.
- synchronizeEnvironment(boolean) - Method in class turtlekit.kernel.TKEnvironment
-
Keep the agents synchronized with the environment dynamics
T
- Timer - Class in jcuda.utils
-
Simple timer functionality, similar to the CUTIL timer functions
- TK_COMMUNITY - Static variable in class turtlekit.agr.TKOrganization
-
The value of this constant is "TK".
- TK_LOGGER - Static variable in class turtlekit.kernel.TutleKit4
-
The Constant TK_LOGGER.
- TKEnvironment<P> - Class in turtlekit.kernel
-
The Class TKEnvironment.
- TKEnvironment() - Constructor for class turtlekit.kernel.TKEnvironment
-
Instantiates a new TK environment.
- TKModel - Class in turtlekit.kernel
- TKModel() - Constructor for class turtlekit.kernel.TKModel
- TKOrganization - Class in turtlekit.agr
- TKScheduler - Class in turtlekit.kernel
-
The Class TKScheduler.
- TKScheduler() - Constructor for class turtlekit.kernel.TKScheduler
- TKViewer - Class in turtlekit.viewer
-
TKViewer is the default viewer for TurtleKit simulations.
- TKViewer() - Constructor for class turtlekit.viewer.TKViewer
- tmpDeviceDataGridPtr - Variable in class turtlekit.cuda.CudaAverageField
- tmpDeviceDataGridPtr - Variable in class turtlekit.cuda.CudaPheromone
- toString() - Method in class turtlekit.cuda.CudaEngine
-
To string.
- toString() - Method in class turtlekit.cuda.CudaPheromone
- toString() - Method in class turtlekit.kernel.Patch
-
To string.
- toString() - Method in class turtlekit.kernel.PatchGrid
-
To string.
- toString() - Method in class turtlekit.kernel.Turtle
-
To string.
- toString() - Method in class turtlekit.kernel.TurtleActivator
- toString() - Method in class turtlekit.pheromone.PheroColorModel
- toString1D(float[]) - Static method in class jcuda.utils.Print
-
Creates a String representation of the given array, using the default format string for its elements.
- toString1D(float[], String) - Static method in class jcuda.utils.Print
-
Creates a String representation of the given array, using the given format string for its elements.
- toString2D(float[][]) - Static method in class jcuda.utils.Print
-
Creates a String representation of the given array, using the default format string for its elements.
- toString2D(float[][], String) - Static method in class jcuda.utils.Print
-
Creates a String representation of the given array, using the given format string for its elements.
- toString2D(float[], int) - Static method in class jcuda.utils.Print
-
Creates a String representation of the given array, using the default format string for its elements.
- toString2D(float[], int, String) - Static method in class jcuda.utils.Print
-
Creates a String representation of the given array, using the given format string for its elements.
- toString3D(float[][][]) - Static method in class jcuda.utils.Print
-
Creates a String representation of the given array, using the default format string for its elements.
- toString3D(float[][][], String) - Static method in class jcuda.utils.Print
-
Creates a String representation of the given array, using the given format string for its elements.
- towards(double, double) - Method in class turtlekit.kernel.Turtle
-
returns direction to the patch (a,b).
- towards(Patch) - Method in class turtlekit.kernel.Turtle
-
Towards.
- towards(Turtle<?>) - Method in class turtlekit.kernel.Turtle
-
Towards.
- towardsMaxGradientField(Pheromone<?>) - Method in class turtlekit.kernel.Turtle
-
Towards max gradient field.
- towardsMinGradientField(Pheromone<?>) - Method in class turtlekit.kernel.Turtle
-
Towards min gradient field.
- towardsNoWrap(double, double) - Method in class turtlekit.kernel.Turtle
-
Towards no wrap.
- towardsNoWrap(Turtle<?>) - Method in class turtlekit.kernel.Turtle
-
Towards no wrap.
- turnLeft(double) - Method in class turtlekit.kernel.Turtle
-
Turn left.
- turnRight(double) - Method in class turtlekit.kernel.Turtle
-
Turn right.
- Turtle<P> - Class in turtlekit.kernel
-
The Class Turtle.
- Turtle() - Constructor for class turtlekit.kernel.Turtle
- TURTLE_ROLE - Static variable in class turtlekit.agr.TKOrganization
-
The value of this constant is "turtle".
- TurtleActivator - Class in turtlekit.kernel
-
The default turtle activator: trigger the behavior of all turtles having a specific role
- TurtleActivator() - Constructor for class turtlekit.kernel.TurtleActivator
- TurtleActivator(String) - Constructor for class turtlekit.kernel.TurtleActivator
- TurtleActivator(String, String) - Constructor for class turtlekit.kernel.TurtleActivator
- TurtleDiscreteEventActivator - Class in turtlekit.kernel.activator
-
The turtle activator : allow to make the turtles work like finite state automata.
- TurtleDiscreteEventActivator(String, String, String) - Constructor for class turtlekit.kernel.activator.TurtleDiscreteEventActivator
- TurtleKit - Class in turtlekit.kernel
- TurtleKit() - Constructor for class turtlekit.kernel.TurtleKit
- turtlekit.agr - package turtlekit.agr
- turtlekit.base - module turtlekit.base
- turtlekit.cuda - package turtlekit.cuda
- turtlekit.kernel - package turtlekit.kernel
- turtlekit.kernel.activator - package turtlekit.kernel.activator
- turtlekit.pheromone - package turtlekit.pheromone
- turtlekit.viewer - package turtlekit.viewer
- TurtlePopulationChartDrawer - Class in turtlekit.viewer
-
Creates a chart tracing the population for each role taken by the turtles in the Simulation.
- TurtlePopulationChartDrawer() - Constructor for class turtlekit.viewer.TurtlePopulationChartDrawer
- TURTLES_GROUP - Static variable in class turtlekit.agr.TKOrganization
-
The value of this constant is "turtles".
- turtleStream() - Method in class turtlekit.kernel.Patch
-
Turtle stream.
- TurtleViewer - Class in turtlekit.viewer
-
A viewer for the grid environment with turtles.
- TurtleViewer() - Constructor for class turtlekit.viewer.TurtleViewer
- TutleKit4 - Class in turtlekit.kernel
-
The Class TutleKit4.
- TutleKit4(String...) - Constructor for class turtlekit.kernel.TutleKit4
-
Instantiates a new tutle kit 4.
U
- update() - Method in class turtlekit.kernel.Patch
-
Could be used to define the dynamics of a patch, which could trigger in the environment dynamics
- update() - Method in class turtlekit.kernel.TKEnvironment
- updateItem(String, boolean) - Method in class turtlekit.pheromone.PheromoneListCell
- updateMaxValue() - Method in class turtlekit.cuda.CudaPheromone
- updateMaxValue() - Method in class turtlekit.pheromone.CPUStreamPheromone
-
Compute the maximum value in the grid
- updateMaxValue() - Method in interface turtlekit.pheromone.Pheromone
- updateValuesFromTmpGridKernel() - Method in class turtlekit.cuda.CudaPheromone
- updateValuesFromTmpGridKernel() - Method in class turtlekit.pheromone.CPUStreamPheromone
- updateValuesFromTmpGridKernel() - Method in interface turtlekit.pheromone.Pheromone
-
Update the values in the main grid from the temporary grid.
- Utils - Class in turtlekit.kernel
- Utils() - Constructor for class turtlekit.kernel.Utils
V
- valueOf(String) - Static method in enum class turtlekit.pheromone.PheroColorModel.MainColor
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class turtlekit.pheromone.PheroColorModel.MainColor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERSION - Static variable in class turtlekit.kernel.TurtleKit
W
- wiggle() - Method in class turtlekit.kernel.Turtle
-
shortcut for
wiggle(45)
. - wiggle(double) - Method in class turtlekit.kernel.Turtle
-
Wiggle.
- wiggle(int) - Method in class turtlekit.kernel.Turtle
-
Wiggle.
- writeFile(String, byte[]) - Static method in class jcuda.utils.FileIO
-
Writes the given array into a file with the given name.
- writeFile(String, double[], double) - Static method in class jcuda.utils.FileIO
-
Writes the given array into a file with the given name.
- writeFile(String, float[], float) - Static method in class jcuda.utils.FileIO
-
Writes the given array into a file with the given name.
- writeFile(String, int[]) - Static method in class jcuda.utils.FileIO
-
Writes the given array into a file with the given name.
X
- x - Variable in class turtlekit.kernel.Patch
-
The x.
- xcor() - Method in class turtlekit.kernel.Turtle
-
Xcor.
Y
- y - Variable in class turtlekit.kernel.Patch
-
The y.
- ycor() - Method in class turtlekit.kernel.Turtle
-
Ycor.
All Classes and Interfaces|All Packages|Constant Field Values
MathUtils.anglesDifference(double, double)