Grid
open class Grid @JvmOverloads constructor(environment: Environment<*, *>, randomGenerator: RandomGenerator, xStart: Double, yStart: Double, xEnd: Double, yEnd: Double, xStep: Double, yStep: Double, xRand: Double = 0.0, yRand: Double = 0.0, xShift: Double = 0.0, yShift: Double = 0.0) : Deployment<Position<*>>
A (possibly randomized) grid of nodes.
Parameters
environment
the {@link Environment}
Content copied to clipboard
random Generator
the {@link RandomGenerator}
Content copied to clipboard
x Start
the start x position
Content copied to clipboard
y Start
the start y position
Content copied to clipboard
x End
the end x position
Content copied to clipboard
y End
the end y position
Content copied to clipboard
x Step
how distant on the x axis (on average) nodes should be
Content copied to clipboard
y Step
how distant on the y axis (on average) nodes should be
Content copied to clipboard
x Rand
how randomized should be positions along the x axis
Content copied to clipboard
y Rand
how randomized should be positions along the y axis
Content copied to clipboard
x Shift
how shifted should be positions between lines
Content copied to clipboard
y Shift
how shifted should be positions along columns
Content copied to clipboard
Constructors
Functions
Link copied to clipboard
Optional LinkingRule associated to the deployment.
Link copied to clipboard
Link copied to clipboard