toggle menu
alchemist
35.0.3
jvm
switch theme
search in API
alchemist-loading
/
it.unibo.alchemist.model.deployments
/
Rectangle
Rectangle
open
class
Rectangle
<
P
:
Position
<
out
P
>
?
>
:
AbstractRandomDeployment
<
P
>
(
source
)
Parameters
<P>
position type
Inheritors
GeometricGradientRectangle
Members
Constructors
Rectangle
Link copied to clipboard
constructor
(
pm
:
Environment
<
out
Any
,
P
>
,
rand
:
RandomGenerator
,
nodes
:
Int
,
x
:
Double
,
y
:
Double
,
sizeX
:
Double
,
sizeY
:
Double
)
Functions
for
Each
Link copied to clipboard
open
fun
forEach
(
action
:
Consumer
<
in
T
>
)
get
Associated
Linking
Rule
Link copied to clipboard
@
Nullable
open
fun
<
T
>
getAssociatedLinkingRule
(
)
:
LinkingRule
<
T
,
P
>
Optional
LinkingRule
associated to the deployment.
iterator
Link copied to clipboard
open
fun
iterator
(
)
:
Iterator
<
P
>
abstract
fun
iterator
(
)
:
Iterator
<
T
>
spliterator
Link copied to clipboard
open
fun
spliterator
(
)
:
Spliterator
<
T
>
stream
Link copied to clipboard
abstract
fun
stream
(
)
:
Stream
<
P
>
open
fun
stream
(
)
:
Stream
<
P
>