Class Rectangle
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Deployment
,java.lang.Iterable
public class Rectangle<P extends Position<out P>> extends AbstractRandomDeployment<P>
-
-
Constructor Summary
Constructors Constructor Description Rectangle(Environment<out Object, P> pm, RandomGenerator rand, int nodes, double x, double y, double sizeX, double sizeY)
-
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
-
Rectangle
Rectangle(Environment<out Object, P> pm, RandomGenerator rand, int nodes, double x, double y, double sizeX, double sizeY)
- Parameters:
pm
- the Environmentrand
- the RandomGeneratornodes
- the number of nodesx
- x start pointy
- y start pointsizeX
- x sizesizeY
- y size
-
-
-
-