Geometric clustering

Builder

class Htool.ClusterTreeBuilder
create_cluster_tree(self: Htool.ClusterTreeBuilder, coordinates: Annotated[numpy.typing.ArrayLike, numpy.float64], number_of_children: SupportsInt, *, size_of_partition: SupportsInt | None = None, radii: Annotated[numpy.typing.ArrayLike, numpy.float64] | None = None, weights: Annotated[numpy.typing.ArrayLike, numpy.float64] | None = None) Htool.Cluster
create_cluster_tree_from_global_partition(self: Htool.ClusterTreeBuilder, coordinates: Annotated[numpy.typing.ArrayLike, numpy.float64], number_of_children: SupportsInt, size_of_partition: SupportsInt, partition: Annotated[numpy.typing.ArrayLike, numpy.int32], *, radii: Annotated[numpy.typing.ArrayLike, numpy.float64] | None = None, weights: Annotated[numpy.typing.ArrayLike, numpy.float64] | None = None) Htool.Cluster
create_cluster_tree_from_local_partition(self: Htool.ClusterTreeBuilder, coordinates: Annotated[numpy.typing.ArrayLike, numpy.float64], number_of_children: SupportsInt, size_of_partition: SupportsInt, partition: Annotated[numpy.typing.ArrayLike, numpy.int32], *, radii: Annotated[numpy.typing.ArrayLike, numpy.float64] | None = None, weights: Annotated[numpy.typing.ArrayLike, numpy.float64] | None = None) Htool.Cluster
set_maximal_leaf_size(self: Htool.ClusterTreeBuilder, arg0: SupportsInt) None
set_partitioning_strategy(self: Htool.ClusterTreeBuilder, arg0: htool::VirtualPartitioning<double>) None

Cluster

class Htool.Cluster
get_cluster_on_partition(self: Htool.Cluster, arg0: SupportsInt) Htool.Cluster
get_maximal_leaf_size(self: Htool.Cluster) int
get_offset(self: Htool.Cluster) int
get_permutation(self: Htool.Cluster) numpy.typing.NDArray[numpy.int32]
get_size(self: Htool.Cluster) int

Partitioning interface

class Htool.VirtualPartitioning

Direction and Splitting computation strategies

class Htool.PCARegular

Bases: VirtualPartitioning

class Htool.BoundingBoxRegular

Bases: VirtualPartitioning

class Htool.PCAGeometric

Bases: VirtualPartitioning

class Htool.BoundingBoxGeometric

Bases: VirtualPartitioning