[ 
https://issues.apache.org/jira/browse/FLINK-3772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15273862#comment-15273862
 ] 

ASF GitHub Bot commented on FLINK-3772:
---------------------------------------

Github user vasia commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1901#discussion_r62310388
  
    --- Diff: docs/apis/batch/libs/gelly.md ---
    @@ -2067,7 +2067,92 @@ configuration.
     
       <tbody>
         <tr>
    -      <td><strong>TranslateGraphIds</strong></td>
    +      
<td>degree.annotate.directed.<br/><strong>VertexInDegree</strong></td>
    +      <td>
    +        <p>Annotate vertices of a directed graph with the in-degree 
count.</p>
    +{% highlight java %}
    +DataSet<Vertex<K, LongValue>> inDegree = graph
    +  .run(new VertexInDegree()
    +    .setIncludeZeroDegreeVertices(true));
    --- End diff --
    
    What does the `setIncludeZeroDegreeVertices` do and what other options are 
available? Could you please document all of them (for the rest of algorithms 
also)?


> Graph algorithms for vertex and edge degree
> -------------------------------------------
>
>                 Key: FLINK-3772
>                 URL: https://issues.apache.org/jira/browse/FLINK-3772
>             Project: Flink
>          Issue Type: New Feature
>          Components: Gelly
>    Affects Versions: 1.1.0
>            Reporter: Greg Hogan
>            Assignee: Greg Hogan
>             Fix For: 1.1.0
>
>
> Many graph algorithms require vertices or edges to be marked with the degree. 
> This ticket provides algorithms for annotating
> * vertex degree for undirected graphs
> * vertex out-, in-, and out- and in-degree for directed graphs
> * edge source, target, and source and target degree for undirected graphs



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

Reply via email to