diff --git a/src/lib/types/cluster.ts b/src/lib/types/cluster.ts index c8a1ae5..10840be 100644 --- a/src/lib/types/cluster.ts +++ b/src/lib/types/cluster.ts @@ -13,6 +13,7 @@ export interface ClusterInterface extends Iterable { export interface ClusterMapInterface { getNeighbourhood(atom: AtomInterface): ClusterInterface[]; countAtoms(): number; + clear(): void; handleAtom(atom: AtomInterface): ClusterInterface; getCluster(clusterCoords: NumericVector): ClusterInterface; }