Skip to content

Commit

Permalink
Fix experimental labels (rapidsai#2331)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarghi-nv authored Jun 17, 2022
1 parent ee897c4 commit 78b394c
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 59 deletions.
4 changes: 2 additions & 2 deletions python/cugraph/cugraph/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@

from cugraph.utilities import utils

from cugraph.proto.components import strong_connected_component
from cugraph.proto.structure import find_bicliques
from cugraph.experimental import strong_connected_component
from cugraph.experimental import find_bicliques

from cugraph.linear_assignment import hungarian, dense_hungarian
from cugraph.layout import force_atlas2
Expand Down
10 changes: 5 additions & 5 deletions python/cugraph/cugraph/dask/traversal/bfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
# limitations under the License.
#

from pylibcugraph.experimental import (MGGraph,
ResourceHandle,
GraphProperties,
)
from pylibcugraph import bfs as pylibcugraph_bfs
from pylibcugraph import (MGGraph,
ResourceHandle,
GraphProperties,
bfs as pylibcugraph_bfs
)

from dask.distributed import wait, default_client
from cugraph.dask.common.input_utils import get_distributed_data
Expand Down
13 changes: 12 additions & 1 deletion python/cugraph/cugraph/experimental/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# limitations under the License.

from cugraph.utilities.api_tools import experimental_warning_wrapper
from cugraph.utilities.api_tools import deprecated_warning_wrapper

from cugraph.structure.property_graph import EXPERIMENTAL__PropertyGraph
PropertyGraph = experimental_warning_wrapper(EXPERIMENTAL__PropertyGraph)
Expand All @@ -27,4 +28,14 @@

from cugraph.experimental.community.triangle_count import \
EXPERIMENTAL__triangle_count
triangle_count = experimental_warning_wrapper(EXPERIMENTAL__triangle_count)
triangle_count = experimental_warning_wrapper(EXPERIMENTAL__triangle_count)

from cugraph.experimental.components.scc import \
EXPERIMENTAL__strong_connected_component
strong_connected_component = \
experimental_warning_wrapper(EXPERIMENTAL__strong_connected_component)

from cugraph.experimental.structure.bicliques import EXPERIMENTAL__find_bicliques
find_bicliques = deprecated_warning_wrapper(
experimental_warning_wrapper(EXPERIMENTAL__find_bicliques)
)
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# - repeat


def strong_connected_component(source, destination):
def EXPERIMENTAL__strong_connected_component(source, destination):
"""
Generate the strongly connected components
using the FW-BW-TRIM approach, but skipping the trimming)
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2021, NVIDIA CORPORATION.
# Copyright (c) 2019-2022, NVIDIA CORPORATION.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand All @@ -17,7 +17,7 @@
from collections import OrderedDict


def find_bicliques(
def EXPERIMENTAL__find_bicliques(
df, k,
offset=0,
max_iter=-1,
Expand Down
15 changes: 0 additions & 15 deletions python/cugraph/cugraph/proto/__init__.py

This file was deleted.

14 changes: 0 additions & 14 deletions python/cugraph/cugraph/proto/components/__init__.py

This file was deleted.

14 changes: 0 additions & 14 deletions python/cugraph/cugraph/proto/structure/__init__.py

This file was deleted.

10 changes: 5 additions & 5 deletions python/cugraph/cugraph/traversal/bfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
import cudf
import dask_cudf

from pylibcugraph.experimental import (ResourceHandle,
GraphProperties,
SGGraph,
)
from pylibcugraph import bfs as pylibcugraph_bfs
from pylibcugraph import (ResourceHandle,
GraphProperties,
SGGraph,
bfs as pylibcugraph_bfs
)

from cugraph.structure.graph_classes import Graph, DiGraph
from cugraph.utilities import (ensure_cugraph_obj,
Expand Down

0 comments on commit 78b394c

Please sign in to comment.