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, union
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
currentLinkSetSize, finish, getGeometry, getId, getLinkedClusters, invalidate
add, clear, infer, isEmpty, size
forEach, iterator, spliterator
public ClusterUnionList(ByteArray centerId, ClusterItem center, NeighborListFactory<ClusterItem> factory, Map<ByteArray,Cluster> index)
protected long addAndFetchCount(ByteArray id, ClusterItem newInstance, DistanceProfile<?> distanceProfile)
addAndFetchCount
in class DBScanClusterList
public void merge(Cluster cluster)
merge
in interface Cluster
merge
in class DBScanClusterList
public boolean isCompressed()
isCompressed
in interface Cluster
isCompressed
in class DBScanClusterList
protected org.locationtech.jts.geom.Geometry compress()
compress
in class DBScanClusterList
Copyright © 2013–2022. All rights reserved.