|
2 | 2 |
|
3 | 3 | from graphdatascience.arrow_client.authenticated_flight_client import AuthenticatedArrowClient |
4 | 4 | from graphdatascience.arrow_client.v2.remote_write_back_client import RemoteWriteBackClient |
| 5 | +from graphdatascience.procedure_surface.api.community.clique_counting_endpoints import CliqueCountingEndpoints |
| 6 | +from graphdatascience.procedure_surface.api.community.kmeans_endpoints import KMeansEndpoints |
| 7 | +from graphdatascience.procedure_surface.api.community.labelpropagation_endpoints import LabelPropagationEndpoints |
| 8 | +from graphdatascience.procedure_surface.api.community.leiden_endpoints import LeidenEndpoints |
5 | 9 | from graphdatascience.procedure_surface.arrow.articlerank_arrow_endpoints import ArticleRankArrowEndpoints |
6 | 10 | from graphdatascience.procedure_surface.arrow.articulationpoints_arrow_endpoints import ArticulationPointsArrowEndpoints |
7 | 11 | from graphdatascience.procedure_surface.arrow.betweenness_arrow_endpoints import BetweennessArrowEndpoints |
8 | 12 | from graphdatascience.procedure_surface.arrow.catalog_arrow_endpoints import CatalogArrowEndpoints |
9 | 13 | from graphdatascience.procedure_surface.arrow.celf_arrow_endpoints import CelfArrowEndpoints |
| 14 | +from graphdatascience.procedure_surface.arrow.clique_counting_arrow_endpoints import CliqueCountingArrowEndpoints |
10 | 15 | from graphdatascience.procedure_surface.arrow.closeness_arrow_endpoints import ClosenessArrowEndpoints |
11 | 16 | from graphdatascience.procedure_surface.arrow.closeness_harmonic_arrow_endpoints import ClosenessHarmonicArrowEndpoints |
12 | 17 | from graphdatascience.procedure_surface.arrow.degree_arrow_endpoints import DegreeArrowEndpoints |
|
17 | 22 | from graphdatascience.procedure_surface.arrow.hashgnn_arrow_endpoints import HashGNNArrowEndpoints |
18 | 23 | from graphdatascience.procedure_surface.arrow.k1coloring_arrow_endpoints import K1ColoringArrowEndpoints |
19 | 24 | from graphdatascience.procedure_surface.arrow.kcore_arrow_endpoints import KCoreArrowEndpoints |
| 25 | +from graphdatascience.procedure_surface.arrow.kmeans_arrow_endpoints import KMeansArrowEndpoints |
| 26 | +from graphdatascience.procedure_surface.arrow.labelpropagation_arrow_endpoints import LabelPropagationArrowEndpoints |
| 27 | +from graphdatascience.procedure_surface.arrow.leiden_arrow_endpoints import LeidenArrowEndpoints |
20 | 28 | from graphdatascience.procedure_surface.arrow.louvain_arrow_endpoints import LouvainArrowEndpoints |
21 | 29 | from graphdatascience.procedure_surface.arrow.node2vec_arrow_endpoints import Node2VecArrowEndpoints |
22 | 30 | from graphdatascience.procedure_surface.arrow.pagerank_arrow_endpoints import PageRankArrowEndpoints |
@@ -61,6 +69,12 @@ def articulation_points(self) -> ArticulationPointsArrowEndpoints: |
61 | 69 | def betweenness_centrality(self) -> BetweennessArrowEndpoints: |
62 | 70 | return BetweennessArrowEndpoints(self._arrow_client, self._write_back_client, show_progress=self._show_progress) |
63 | 71 |
|
| 72 | + @property |
| 73 | + def clique_counting(self) -> CliqueCountingEndpoints: |
| 74 | + return CliqueCountingArrowEndpoints( |
| 75 | + self._arrow_client, self._write_back_client, show_progress=self._show_progress |
| 76 | + ) |
| 77 | + |
64 | 78 | @property |
65 | 79 | def closeness_centrality(self) -> ClosenessArrowEndpoints: |
66 | 80 | return ClosenessArrowEndpoints(self._arrow_client, self._write_back_client, show_progress=self._show_progress) |
@@ -111,6 +125,19 @@ def k1_coloring(self) -> K1ColoringArrowEndpoints: |
111 | 125 | def k_core_decomposition(self) -> KCoreArrowEndpoints: |
112 | 126 | return KCoreArrowEndpoints(self._arrow_client, self._write_back_client, show_progress=self._show_progress) |
113 | 127 |
|
| 128 | + @property |
| 129 | + def kmeans(self) -> KMeansEndpoints: |
| 130 | + return KMeansArrowEndpoints(self._arrow_client, self._write_back_client, show_progress=self._show_progress) |
| 131 | + |
| 132 | + @property |
| 133 | + def label_propagation(self) -> LabelPropagationEndpoints: |
| 134 | + return LabelPropagationArrowEndpoints( |
| 135 | + self._arrow_client, self._write_back_client, show_progress=self._show_progress |
| 136 | + ) |
| 137 | + |
| 138 | + def leiden(self) -> LeidenEndpoints: |
| 139 | + return LeidenArrowEndpoints(self._arrow_client, self._write_back_client, show_progress=self._show_progress) |
| 140 | + |
114 | 141 | @property |
115 | 142 | def louvain(self) -> LouvainArrowEndpoints: |
116 | 143 | return LouvainArrowEndpoints(self._arrow_client, self._write_back_client, show_progress=self._show_progress) |
|
0 commit comments