[
https://issues.apache.org/jira/browse/GIRAPH-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15153504#comment-15153504
]
Yuri Schimke commented on GIRAPH-1045:
--------------------------------------
https://reviews.facebook.net/D54411
> 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)