-
- All Implemented Interfaces:
-
it.unibo.alchemist.loader.deployments.Deployment,kotlin.collections.Iterable,kotlin.collections.MutableIterable
public class Polygon<P extends Position2D<out P>> extends AbstractRandomDeployment<P>
Creates a new Polygon with the given points.
-
-
Constructor Summary
Constructors Constructor Description Polygon(Environment<?, P> environment, RandomGenerator randomGenerator, Integer nodes, List<?> pointsInput)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class it.unibo.alchemist.loader.deployments.Polygon
stream -
Methods inherited from class it.unibo.alchemist.loader.deployments.AbstractRandomDeployment
getAssociatedLinkingRule, iterator -
Methods inherited from class kotlin.collections.MutableIterable
forEach, spliterator -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Polygon
Polygon(Environment<?, P> environment, RandomGenerator randomGenerator, Integer nodes, List<?> pointsInput)
- Parameters:
nodes- the count of nodes that need to get displaced inside the polygonpointsInput- the points of the polygon.
-
-
-
-