flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vasia <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-2909] [Gelly] Graph generators
Date Fri, 08 Apr 2016 13:49:43 GMT
Github user vasia commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1807#discussion_r59026858
  
    --- Diff: docs/apis/batch/libs/gelly.md ---
    @@ -1734,3 +1734,547 @@ vertex represents a group of vertices and each edge represents
a group of edges
     vertex and edge in the output graph stores the common group value and the number of represented
elements.
     
     {% top %}
    +
    +Graph Generators
    +-----------
    +
    +Gelly provides a collection of scalable graph generators. Each generator is
    +
    +* parallelizable, in order to create large datasets
    +* scale-free, generating the same graph regardless of parallelism
    +* thrifty, using as few operators as possible
    +
    +### Complete Graph
    +
    +An undirected graph connecting every distinct pair of vertices.
    +
    +<div class="codetabs" markdown="1">
    +<div data-lang="java" markdown="1">
    +{% highlight java %}
    +ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
    +
    +Graph<LongValue,NullValue,NullValue> graph = new CompleteGraph(env, 5)
    --- End diff --
    
    Could you explain what the parameter 5 is for?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message