Class Circle
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.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.model.deployments.AbstractRandomDeployment
stream
-
Methods inherited from class it.unibo.alchemist.model.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
-
-
-
-