public class ClusterUnionList extends DBScanClusterList implements Cluster
Intended to run in a single thread. Not Thread Safe.
TODO: connectGeometryTool.connect(
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterUnionList.ClusterUnionListFactory |
NeighborList.InferType| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER |
clusterGeo, index, itemCount| Constructor and Description |
|---|
ClusterUnionList(ByteArray centerId,
ClusterItem center,
NeighborListFactory<ClusterItem> factory,
Map<ByteArray,Cluster> index) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
addAndFetchCount(ByteArray id,
ClusterItem newInstance,
DistanceProfile<?> distanceProfile) |
protected org.locationtech.jts.geom.Geometry |
compress() |
boolean |
isCompressed() |
void |
merge(Cluster cluster) |
add, clear, currentLinkSetSize, equals, finish, getGeometry, getHullTool, getId, getIds, getLinkedClusters, getLinkedClusters, hashCode, incrementItemCount, infer, interpolateFactor, invalidate, isEmpty, iterator, mergeLinks, setMergeSize, size, toString, unionclone, finalize, getClass, notify, notifyAll, wait, wait, waitcurrentLinkSetSize, finish, getGeometry, getId, getLinkedClusters, invalidateadd, clear, infer, isEmpty, sizeforEach, iterator, spliteratorpublic ClusterUnionList(ByteArray centerId, ClusterItem center, NeighborListFactory<ClusterItem> factory, Map<ByteArray,Cluster> index)
protected long addAndFetchCount(ByteArray id, ClusterItem newInstance, DistanceProfile<?> distanceProfile)
addAndFetchCount in class DBScanClusterListpublic void merge(Cluster cluster)
merge in interface Clustermerge in class DBScanClusterListpublic boolean isCompressed()
isCompressed in interface ClusterisCompressed in class DBScanClusterListprotected org.locationtech.jts.geom.Geometry compress()
compress in class DBScanClusterListCopyright © 2013–2022. All rights reserved.