-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updated
SmartClusters
and SmartCluster
classes to improve membe…
…r management and clustering logic. - Introduced `max_cluster_size_percent` setting to limit cluster sizes based on a percentage of total sources. - Added new vector getters in `SmartCluster` for better access to cluster vectors. - Refactored `SourceClustersAdapter` to implement stable cluster IDs and improved cluster assignment logic. - Removed obsolete `ajson_multi_file.js` and `cluster.js` components to streamline the codebase. - Updated tests to reflect changes in adapter imports and cluster settings.
- Loading branch information
Brian Joseph Petro
committed
Dec 22, 2024
1 parent
6d33c6c
commit 3dee534
Showing
9 changed files
with
188 additions
and
211 deletions.
There are no files selected for viewing
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { SmartClusters } from "./smart_clusters.js"; | ||
import { SmartCluster } from "./smart_cluster.js"; | ||
import source_cluster_adapter from "./adapters/source.js"; | ||
import source_cluster_group_adapter from "./adapters/source.js"; | ||
|
||
export { SmartClusters, SmartCluster, source_cluster_adapter }; | ||
export { SmartClusters, SmartCluster, source_cluster_group_adapter }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters