Package org.apache.sedona.common.spider
Class ParcelGenerator.ParcelParameter
java.lang.Object
org.apache.sedona.common.spider.ParcelGenerator.ParcelParameter
- Enclosing class:
- ParcelGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal longThe number of boxes to generatefinal doubleThe amount of dithering as a ratio of the side length.final doubleThe allowed range for splitting boxes. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
cardinality
public final long cardinalityThe number of boxes to generate -
dither
public final double ditherThe amount of dithering as a ratio of the side length. Allowed range [0, 1] -
splitRange
public final double splitRangeThe allowed range for splitting boxes. Allowed range [0.0, 0.5] 0.0 means all values are allowed. 0.5 means always split in half.
-
-
Constructor Details
-
ParcelParameter
public ParcelParameter(long cardinality, double dither, double splitRange)
-
-
Method Details
-
create
-