Class MuseumHall
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Environment
,it.unibo.alchemist.model.EuclideanEnvironment
,it.unibo.alchemist.model.environments.Euclidean2DEnvironment
,java.io.Serializable
,java.lang.Iterable
public final class MuseumHall<T> extends Continuous2DEnvironment<T>
-
-
Field Summary
Fields Modifier and Type Field Description public final static Euclidean2DEnvironment.Companion
Companion
public final ListSet<GlobalReaction<T>>
globalReactions
public final ListSet<Node<T>>
nodes
public transient Incarnation<T, P>
incarnation
public transient Simulation<T, P>
simulation
-
Constructor Summary
Constructors Constructor Description MuseumHall(Incarnation<T, Euclidean2DPosition> incarnation)
-
Method Summary
Modifier and Type Method Description void
moveNode(@Nonnull() Node<T> node, Euclidean2DPosition direction)
String
toString()
-
Methods inherited from class it.unibo.alchemist.model.environments.AbstractEnvironment
addGlobalReaction, addLayer, addNode, addTerminator, forEach, getDistanceBetweenNodes, getGlobalReactions, getIncarnation, getLayer, getLayers, getLinkingRule, getNeighborhood, getNodeByID, getNodeCount, getNodes, getNodesWithinRange, getPosition, getSimulation, getSizeInDistanceUnits, isTerminated, iterator, removeGlobalReaction, removeNode, setLinkingRule, setSimulation, spliterator
-
Methods inherited from class it.unibo.alchemist.model.environments.Abstract2DEnvironment
getDimensions, getOffset, getSize, moveNodeToPosition
-
Methods inherited from class it.unibo.alchemist.model.environments.Euclidean2DEnvironment
getOrigin, makePosition
-
Methods inherited from class it.unibo.alchemist.model.Environment
makePosition
-
Methods inherited from class java.lang.Iterable
iterator, spliterator
-
Methods inherited from class it.unibo.alchemist.model.EuclideanEnvironment
getOrigin
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MuseumHall
MuseumHall(Incarnation<T, Euclidean2DPosition> incarnation)
- Parameters:
incarnation
- the incarnation
-
-
-
-