#include "xf_graph_L3.hpp"
event <int> triangleCount ( xf::graph::L3::Handle& handle, xf::graph::Graph <uint32_t, uint32_t> gr, uint64_t& nTriangle )
triangleCount the triangle counting algorithm is implemented, the input is the matrix in CSC format.
Parameters:
handle | Graph library L3 handle |
gr | Input, CSR/CSC graph of IDs’ type of uint32_t and weights’ type of uint32_t |
nTriangle | Return triangles number |