Package | Description |
---|---|
turtlekit.cuda | |
turtlekit.kernel | |
turtlekit.pheromone | |
turtlekit.viewer |
Modifier and Type | Class and Description |
---|---|
class |
CudaGPUGradientsPhero |
class |
CudaPheromone |
Modifier and Type | Method and Description |
---|---|
protected Pheromone |
TKEnvironment.createCudaPheromone(String name,
float evaporationPercentage,
float diffusionPercentage) |
Pheromone |
TKEnvironment.getPheromone(String name)
Gets the corresponding pheromone or create a new one using defaults
parameters : 50% for both the evaporation rate and
the diffusion rate.
|
Pheromone |
Turtle.getPheromone(String name)
Gets the corresponding pheromone or create a new one using defaults
parameters : 50% for both the evaporation rate and
the diffusion rate.
|
Pheromone |
TKEnvironment.getPheromone(String name,
float evaporationPercentage,
float diffusionPercentage)
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.
|
Pheromone |
TKEnvironment.getPheromone(String name,
int evaporationPercentage,
int diffusionPercentage)
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.
|
Modifier and Type | Method and Description |
---|---|
Collection<Pheromone> |
TKEnvironment.getPheromones() |
Collection<Pheromone> |
Turtle.getPheromones() |
Modifier and Type | Method and Description |
---|---|
float |
Turtle.getFieldValue(Pheromone p) |
int |
Turtle.getMaxDirection(Pheromone p) |
int |
Turtle.getMinDirection(Pheromone p) |
double |
Turtle.getPheroMaxDirection(Pheromone phero)
Gets the direction where there is a maximum of this pheromone
|
double |
Turtle.getPheroMinDirection(Pheromone phero)
Gets the direction where there is a minimum of this pheromone
|
float |
Turtle.smellAt(Pheromone pheromone,
int xOffset,
int yOffset) |
void |
Turtle.towardsMaxGradientField(Pheromone p) |
void |
Turtle.towardsMinGradientField(Pheromone p) |
Modifier and Type | Class and Description |
---|---|
class |
CPU_SobelPheromone |
class |
JavaPheromone |
Constructor and Description |
---|
PheromoneView(Pheromone phero) |
Modifier and Type | Method and Description |
---|---|
Pheromone |
PheromoneViewer.getSelectedPheromone() |
Pheromone |
PheromoneViewer.setSelectedPheromone(String name) |
Modifier and Type | Method and Description |
---|---|
void |
PheromoneViewer.setSelectedPheromone(Pheromone selectedPheromone) |