-
- All Implemented Interfaces:
-
it.unibo.alchemist.loader.deployments.Deployment,java.lang.Iterable
public final class Circle<P extends Position<out P>> extends AbstractRandomDeployment<P>
-
-
Constructor Summary
Constructors Constructor Description Circle(Environment<out Object, P> pm, RandomGenerator rand, int nodes, double centerX, double centerY, double radius)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class it.unibo.alchemist.loader.deployments.AbstractRandomDeployment
stream -
Methods inherited from class it.unibo.alchemist.loader.deployments.Deployment
getAssociatedLinkingRule, iterator, stream -
Methods inherited from class java.lang.Iterable
forEach, iterator, spliterator -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Circle
Circle(Environment<out Object, P> pm, RandomGenerator rand, int nodes, double centerX, double centerY, double radius)
- Parameters:
pm- the Environmentrand- the RandomGeneratornodes- the number of nodescenterX- the center x of the circlecenterY- the center y of the circleradius- the radius of the circle
-
-
-
-