-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Environment,it.unibo.alchemist.model.interfaces.EnvironmentWithObstacles,it.unibo.alchemist.model.interfaces.EuclideanEnvironment,it.unibo.alchemist.model.interfaces.environments.EnvironmentWithGraph,it.unibo.alchemist.model.interfaces.environments.PhysicsEnvironment,java.io.Serializable,kotlin.collections.Iterable,kotlin.collections.MutableIterable
public interface PhysicsEnvironmentWithGraph<W extends Obstacle<P>, T extends Object, P extends Position<P>, Vector<P>, A extends GeometricTransformation<P>, N extends ConvexGeometricShape<P, A>, E extends Object, F extends GeometricShapeFactory<P, A>> implements EnvironmentWithGraph<W, T, P, A, N, E>, PhysicsEnvironment<T, P, A, F>
An EnvironmentWithGraph supporting physics.
-
-
Method Summary
Modifier and Type Method Description abstract NavigationGraph<P, A, N, E>getGraph()The navigation graph. abstract List<W>getObstacles()PgetOrigin()abstract FgetShapeFactory()A factory of shapes compatible with this environment. -
Methods inherited from class it.unibo.alchemist.model.interfaces.EuclideanEnvironment
addLayer, addNode, addTerminator, getDimensions, getDistanceBetweenNodes, getIncarnation, getLayer, getLayers, getLinkingRule, getNeighborhood, getNodeByID, getNodeCount, getNodes, getNodesWithinRange, getNodesWithinRange, getOffset, getPosition, getSimulation, getSize, getSizeInDistanceUnits, isTerminated, makePosition, moveNodeToPosition, removeNode, setLinkingRule, setSimulation -
Methods inherited from class it.unibo.alchemist.model.interfaces.environments.EnvironmentWithGraph
addObstacle, intersectsObstacle, next, removeObstacle -
Methods inherited from class kotlin.collections.MutableIterable
forEach, spliterator -
Methods inherited from class it.unibo.alchemist.model.interfaces.Environment
iterator -
Methods inherited from class it.unibo.alchemist.model.interfaces.EnvironmentWithObstacles
makePosition, moveNode -
Methods inherited from class it.unibo.alchemist.model.interfaces.environments.PhysicsEnvironmentWithGraph
farthestPositionReachable, getHeading, getNodesWithin, getShape, setHeading -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getObstacles
abstract List<W> getObstacles()
-
getShapeFactory
abstract F getShapeFactory()
A factory of shapes compatible with this environment.
-
-
-
-