Uses of Interface
org.baseagent.grid.HasGridPosition
Package
Description
-
Uses of HasGridPosition in org.baseagent
Modifier and TypeClassDescriptionclass
class
A pheromone is a beacon that dissipates over time and eventually goes awayModifier and TypeMethodDescriptiondouble
Beacon.getSignalValueAt
(HasGridPosition p2) double
Beacon.getSignalValueAt
(HasGridPosition large, HasGridPosition small) boolean
Beacon.reaches
(HasGridPosition p2) boolean
Beacon.reaches
(HasGridPosition large, HasGridPosition small) -
Uses of HasGridPosition in org.baseagent.behaviors.grid
-
Uses of HasGridPosition in org.baseagent.comms
Modifier and TypeMethodDescriptionNearestNeighborCommunicator.findNearestNeighbors
(HasGridPosition fromAgent) This calculates the distance between agents based on each agent's knowledge of its location. -
Uses of HasGridPosition in org.baseagent.embodied
Modifier and TypeMethodDescriptionvoid
EmbodiedAgent.disincorporate
(HasGridPosition spe) void
EmbodiedAgent.incorporate
(HasGridPosition spe) void
EmbodiedAgent.place
(int x, int y, HasGridPosition spe) void
EmbodiedAgent.remove
(HasGridPosition spe) -
Uses of HasGridPosition in org.baseagent.embodied.effectors
Modifier and TypeClassDescriptionclass
An Effector can emit a signal or change the physical world or change the agent's place in the world by applying a force or update the agent's knowledge or...class
A ForceEffector applies a force to the agentclass
A ForceEffector applies a force to the agent -
Uses of HasGridPosition in org.baseagent.embodied.sensors
Modifier and TypeClassDescriptionclass
A SignalSensor detects a Signal.class
class
A SignalSensor detects a Signal. -
Uses of HasGridPosition in org.baseagent.grid
-
Uses of HasGridPosition in org.baseagent.particles
-
Uses of HasGridPosition in org.baseagent.sim
Modifier and TypeMethodDescriptionboolean
GridAgent.isAt
(HasGridPosition pos) void
GridAgent.moveTo
(HasGridPosition p) void
GridAgent.moveToward
(HasGridPosition point, double speed) void
GridAgent.startMovingToward
(HasGridPosition pos, double speed) -
Uses of HasGridPosition in org.baseagent.ui.defaults
Modifier and TypeMethodDescriptionstatic void
VisualizationLibrary.drawArrow
(GridCanvasContext gcc, HasGridPosition a, HasGridPosition b, javafx.scene.paint.Color fill, javafx.scene.paint.Color stroke, int thickness, boolean drawPointAtOrigin, boolean drawPointAtDestination) -
Uses of HasGridPosition in org.baseagent.util
Modifier and TypeMethodDescriptionstatic boolean
BaseAgentMath.canSeeIt
(Grid grid, HasGridPosition a, HasGridPosition b, Predicate<GridPosition> barrierCondition) static double
BaseAgentMath.direction
(HasGridPosition p1, int x2, int y2) static double
BaseAgentMath.direction
(HasGridPosition p1, HasGridPosition p2) static double
BaseAgentMath.distance
(HasGridPosition p1, double x2, double y2) static double
BaseAgentMath.distance
(HasGridPosition p1, HasGridPosition p2) static CellPoint2D
BaseAgentMath.getPointAt
(HasGridPosition originalPoint, Vector2D vector) BaseAgentMath.sortByDistance
(Map<?, HasGridPosition> points, HasGridPosition origin) Modifier and TypeMethodDescriptionBaseAgentMath.sortByDistance
(Map<?, HasGridPosition> points, HasGridPosition origin)