/** @import {InputType} from "../index.js" */ /** * Base class for all clustering algorithms. * @template Para */ export class Clustering { /** * Compute the respective Clustering with given parameters * @param {InputType} points * @param {Para} parameters */ constructor(points: InputType, parameters: Para); /** @type {InputType} */ _points: InputType; /** @type {Para} */ _parameters: Para; /** @type {Matrix} */ _matrix: Matrix; /** @type {number} */ _N: number; /** @type {number} */ _D: number; /** * @abstract * @param {...unknown} args * @returns {number[][]} An array with the indices of the clusters. */ get_clusters(...args: unknown[]): number[][]; /** * @abstract * @param {...unknown} args * @returns {number[]} An array with the clusters id's for each point. */ get_cluster_list(...args: unknown[]): number[]; } import type { InputType } from "../index.js"; import { Matrix } from "../matrix/index.js"; //# sourceMappingURL=Clustering.d.ts.map