-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Environment,it.unibo.alchemist.model.interfaces.EuclideanEnvironment,java.io.Serializable,kotlin.collections.Iterable,kotlin.collections.MutableIterable
public interface Euclidean2DEnvironment<T extends Object> implements EuclideanEnvironment<T, Euclidean2DPosition>
A bidimensional euclidean space with any concentration type T.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classEuclidean2DEnvironment.Companion
-
Method Summary
Modifier and Type Method Description Euclidean2DPositionmakePosition(Double x, Double y)Creates a new Euclidean2DPosition. Euclidean2DPositionmakePosition(Double coordinates)Creates a new Euclidean2DPosition. Euclidean2DPositiongetOrigin()-
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 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.environments.Euclidean2DEnvironment
moveNode -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
makePosition
Euclidean2DPosition makePosition(Double x, Double y)
Creates a new Euclidean2DPosition.
-
makePosition
Euclidean2DPosition makePosition(Double coordinates)
Creates a new Euclidean2DPosition.
-
getOrigin
Euclidean2DPosition getOrigin()
-
-
-
-