Interface Euclidean2DEnvironment
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Environment
,it.unibo.alchemist.model.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 class
Euclidean2DEnvironment.Companion
Constant values and utility methods for Euclidean2DEnvironment.
-
Method Summary
Modifier and Type Method Description Euclidean2DPosition
makePosition(Double x, Double y)
Creates a new Euclidean2DPosition. Euclidean2DPosition
makePosition(Double coordinates)
Creates a new Euclidean2DPosition. Euclidean2DPosition
makePosition(Number coordinates)
Euclidean2DPosition
getOrigin()
-
Methods inherited from class it.unibo.alchemist.model.Environment
addGlobalReaction, addLayer, addNode, addTerminator, getDimensions, getDistanceBetweenNodes, getGlobalReactions, getIncarnation, getLayer, getLayers, getLinkingRule, getNeighborhood, getNodeByID, getNodeCount, getNodes, getNodesWithinRange, getNodesWithinRange, getOffset, getPosition, getSimulation, getSize, getSizeInDistanceUnits, isTerminated, moveNodeToPosition, removeGlobalReaction, removeNode, setLinkingRule, setSimulation
-
Methods inherited from class kotlin.collections.Iterable
forEach, spliterator
-
Methods inherited from class kotlin.collections.MutableIterable
iterator
-
Methods inherited from class it.unibo.alchemist.model.EuclideanEnvironment
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.
-
makePosition
Euclidean2DPosition makePosition(Number coordinates)
-
getOrigin
Euclidean2DPosition getOrigin()
-
-
-
-