Github user vasia commented on the pull request:

    https://github.com/apache/flink/pull/1250#issuecomment-147178962
  
    Hi @ssaumitra! Thanks a lot for the pull request, it looks good.
    I was thinking, since this algorithm not only counts but actually 
enumerates all triangles, we could have 2 library methods, `TriangleCounter` 
and `TriangleEnumerator`. They would basically use the same algorithm 
internally, but the first would return the number of triangles, while the 
second would return a `DataSet` of `Tuple3`, containing the vertex IDs that 
form triangles. What do you think?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to