[
https://issues.apache.org/jira/browse/FLINK-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15896265#comment-15896265
]
ASF GitHub Bot commented on FLINK-5909:
---------------------------------------
Github user greghogan commented on the issue:
https://github.com/apache/flink/pull/3434
Thanks for the review @vasia. The Unary/Binary/TertiaryResult interfaces
will allow follow-on algorithms to work with POJOs or non-conforming Tuples
(where we don't assume source and target vertices are fields 0 and 1). A common
AnalyticResult interface is helpful with drivers that store both directed and
undirected results.
The improvements to the library methods docs do reflect an expectation of
this PR.
> Interface for GraphAlgorithm results
> ------------------------------------
>
> Key: FLINK-5909
> URL: https://issues.apache.org/jira/browse/FLINK-5909
> Project: Flink
> Issue Type: Sub-task
> Components: Gelly
> Affects Versions: 1.3.0
> Reporter: Greg Hogan
> Assignee: Greg Hogan
> Fix For: 1.3.0
>
>
> Create {{AlgorithmResult}} and {{AnalyticResult}} interfaces for library
> algorithms to implement. This flattens algorithm results to a single tuple.
> Also create interfaces for {{UnaryResult}}, {{BinaryResult}}, and
> {{TertiaryResult}} implementing methods to access the 0th, 1st, and 2nd
> vertices.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)