Class AbstractRandomDeployment
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Deployment
,kotlin.collections.Iterable
,kotlin.collections.MutableIterable
public abstract class AbstractRandomDeployment<P extends Position<out P>> implements Deployment<P>
-
-
Constructor Summary
Constructors Constructor Description AbstractRandomDeployment(Environment<?, P> environment, RandomGenerator randomGenerator, Integer nodeCount)
-
Method Summary
-
Methods inherited from class it.unibo.alchemist.model.Deployment
getAssociatedLinkingRule, iterator
-
Methods inherited from class kotlin.collections.Iterable
forEach, spliterator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AbstractRandomDeployment
AbstractRandomDeployment(Environment<?, P> environment, RandomGenerator randomGenerator, Integer nodeCount)
- Parameters:
environment
- the EnvironmentrandomGenerator
- the RandomGeneratornodeCount
- the number of nodes
-
-
Method Detail
-
stream
Stream<P> stream()
- Returns:
a Stream over the positions of this Deployment
-
-
-
-