Skip to content

Commit

Permalink
delete legacy triangle counting code
Browse files Browse the repository at this point in the history
  • Loading branch information
seunghwak committed Jul 19, 2022
1 parent 934725d commit d767128
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 993 deletions.
1 change: 0 additions & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ set(CUGRAPH_SOURCES
src/community/legacy/leiden.cu
src/community/legacy/ktruss.cu
src/community/legacy/ecg.cu
src/community/legacy/triangles_counting.cu
src/community/legacy/extract_subgraph_by_vertex.cu
src/community/legacy/egonet.cu
src/sampling/random_walks.cu
Expand Down
20 changes: 0 additions & 20 deletions cpp/include/cugraph/algorithms.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -743,26 +743,6 @@ std::unique_ptr<legacy::GraphCOO<vertex_t, edge_t, weight_t>> minimum_spanning_t
legacy::GraphCSRView<vertex_t, edge_t, weight_t> const& graph,
rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());

namespace triangle {
/**
* @brief Count the number of triangles in the graph
*
* @throws cugraph::logic_error when an error occurs.
*
* @tparam VT Type of vertex identifiers. Supported value : int (signed,
* 32-bit)
* @tparam ET Type of edge identifiers. Supported value : int (signed,
* 32-bit)
* @tparam WT Type of edge weights. Supported values : float or double.
*
* @param[in] graph input graph object (CSR)
*
* @return The number of triangles
*/
template <typename VT, typename ET, typename WT>
uint64_t triangle_count(legacy::GraphCSRView<VT, ET, WT> const& graph);
} // namespace triangle

namespace subgraph {
/**
* @brief Extract subgraph by vertices
Expand Down
Loading

0 comments on commit d767128

Please sign in to comment.