Github user vasia commented on a diff in the pull request:
https://github.com/apache/flink/pull/470#discussion_r26293641
--- Diff:
flink-staging/flink-gelly/src/main/java/org/apache/flink/graph/example/GraphMetrics.java
---
@@ -120,4 +120,58 @@ public Double map(Tuple2<Long, Long> sumTuple) {
private static final class ProjectVertexId implements
MapFunction<Tuple2<Long,Long>, Long> {
public Long map(Tuple2<Long, Long> value) { return value.f0; }
}
+
+ @Override
+ public String getDescription() {
+ return "Graph Metrics Example";
+ }
+
+ //
******************************************************************************************************************
+ // UTIL METHODS
+ //
******************************************************************************************************************
+
+ private static boolean fileOutput = false;
+
+ private static String edgesInputPath = null;
+
+ static final int NUM_VERTICES = 100;
+
+ static final long SEED = 9876;
+
+ private static boolean parseParameters(String[] args) {
+
+ if(args.length > 0) {
+ if(args.length != 1) {
+ System.err.println("Usage: LabelPropagation
<vertex path> <edge path> <output path> <num iterations>");
--- End diff --
Thanks @uce ^^
---
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 [email protected] or file a JIRA ticket
with INFRA.
---