giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuri Schimke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GIRAPH-1045) Implement PrepareGraphPiece.isSymmetricBlock
Date Fri, 19 Feb 2016 00:54:18 GMT
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)

Mime
View raw message