You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Yuri Schimke (JIRA)" <ji...@apache.org> on 2016/02/19 01:54:18 UTC

[jira] [Created] (GIRAPH-1045) Implement PrepareGraphPiece.isSymmetricBlock

Yuri Schimke created GIRAPH-1045:
------------------------------------

             Summary: Implement PrepareGraphPiece.isSymmetricBlock
                 Key: GIRAPH-1045
                 URL: https://issues.apache.org/jira/browse/GIRAPH-1045
             Project: Giraph
          Issue Type: Task
          Components: examples
            Reporter: Yuri Schimke
            Priority: Minor


{code}
  /**
   * Checks whether a graph is symmetric and returns the result to a consumer.
   *
   * @param idHasher Allows Vertex ids to submit themselves to hashing without artificially
   * converting to an intermediate type e.g. Long or String.
   * @param consumer the return store for whether the graph is symmetric
   * @param <I> the type of Vertex id
   * @return block that checks for symmetric graphs
   */
  public static <I extends WritableComparable> Block isSymmetricBlock(
      Funnel<I> idHasher,
      Consumer<Boolean> consumer);
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)