if (this.configuration != null && this.configuration.isOptNumVertices()) { try { numberOfVertices = GraphUtils.count(this.vertexDataSet); iteration.name(this.configuration.getName( "Gather-sum-apply iteration (" + gather + " | " + sum + " | " + apply + ")")); iteration.parallelism(this.configuration.getParallelism()); iteration.setSolutionSetUnManaged(this.configuration.isSolutionSetUnmanagedMemory()); for (Map.Entry<String, Aggregator<?>> entry : this.configuration.getAggregators().entrySet()) { iteration.registerAggregator(entry.getKey(), entry.getValue()); direction = this.configuration.getDirection(); for (Tuple2<String, DataSet<?>> e : this.configuration.getGatherBcastVars()) { gatherMapOperator = gatherMapOperator.withBroadcastSet(e.f1, e.f0); if (this.configuration.isOptNumVertices()) { gatherMapOperator = gatherMapOperator.withBroadcastSet(numberOfVertices, "number of vertices"); for (Tuple2<String, DataSet<?>> e : this.configuration.getSumBcastVars()) { sumReduceOperator = sumReduceOperator.withBroadcastSet(e.f1, e.f0); if (this.configuration.isOptNumVertices()) { sumReduceOperator = sumReduceOperator.withBroadcastSet(numberOfVertices, "number of vertices"); for (Tuple2<String, DataSet<?>> e : this.configuration.getApplyBcastVars()) { appliedSet = appliedSet.withBroadcastSet(e.f1, e.f0);
if (this.configuration != null && this.configuration.isOptNumVertices()) { try { numberOfVertices = GraphUtils.count(this.vertexDataSet); iteration.name(this.configuration.getName( "Gather-sum-apply iteration (" + gather + " | " + sum + " | " + apply + ")")); iteration.parallelism(this.configuration.getParallelism()); iteration.setSolutionSetUnManaged(this.configuration.isSolutionSetUnmanagedMemory()); for (Map.Entry<String, Aggregator<?>> entry : this.configuration.getAggregators().entrySet()) { iteration.registerAggregator(entry.getKey(), entry.getValue()); direction = this.configuration.getDirection(); for (Tuple2<String, DataSet<?>> e : this.configuration.getGatherBcastVars()) { gatherMapOperator = gatherMapOperator.withBroadcastSet(e.f1, e.f0); if (this.configuration.isOptNumVertices()) { gatherMapOperator = gatherMapOperator.withBroadcastSet(numberOfVertices, "number of vertices"); for (Tuple2<String, DataSet<?>> e : this.configuration.getSumBcastVars()) { sumReduceOperator = sumReduceOperator.withBroadcastSet(e.f1, e.f0); if (this.configuration.isOptNumVertices()) { sumReduceOperator = sumReduceOperator.withBroadcastSet(numberOfVertices, "number of vertices"); for (Tuple2<String, DataSet<?>> e : this.configuration.getApplyBcastVars()) { appliedSet = appliedSet.withBroadcastSet(e.f1, e.f0);
if (this.configuration != null && this.configuration.isOptNumVertices()) { try { numberOfVertices = GraphUtils.count(this.vertexDataSet); iteration.name(this.configuration.getName( "Gather-sum-apply iteration (" + gather + " | " + sum + " | " + apply + ")")); iteration.parallelism(this.configuration.getParallelism()); iteration.setSolutionSetUnManaged(this.configuration.isSolutionSetUnmanagedMemory()); for (Map.Entry<String, Aggregator<?>> entry : this.configuration.getAggregators().entrySet()) { iteration.registerAggregator(entry.getKey(), entry.getValue()); direction = this.configuration.getDirection(); for (Tuple2<String, DataSet<?>> e : this.configuration.getGatherBcastVars()) { gatherMapOperator = gatherMapOperator.withBroadcastSet(e.f1, e.f0); if (this.configuration.isOptNumVertices()) { gatherMapOperator = gatherMapOperator.withBroadcastSet(numberOfVertices, "number of vertices"); for (Tuple2<String, DataSet<?>> e : this.configuration.getSumBcastVars()) { sumReduceOperator = sumReduceOperator.withBroadcastSet(e.f1, e.f0); if (this.configuration.isOptNumVertices()) { sumReduceOperator = sumReduceOperator.withBroadcastSet(numberOfVertices, "number of vertices"); for (Tuple2<String, DataSet<?>> e : this.configuration.getApplyBcastVars()) { appliedSet = appliedSet.withBroadcastSet(e.f1, e.f0);
if (this.configuration != null && this.configuration.isOptNumVertices()) { try { numberOfVertices = GraphUtils.count(this.vertexDataSet); iteration.name(this.configuration.getName( "Gather-sum-apply iteration (" + gather + " | " + sum + " | " + apply + ")")); iteration.parallelism(this.configuration.getParallelism()); iteration.setSolutionSetUnManaged(this.configuration.isSolutionSetUnmanagedMemory()); for (Map.Entry<String, Aggregator<?>> entry : this.configuration.getAggregators().entrySet()) { iteration.registerAggregator(entry.getKey(), entry.getValue()); direction = this.configuration.getDirection(); for (Tuple2<String, DataSet<?>> e : this.configuration.getGatherBcastVars()) { gatherMapOperator = gatherMapOperator.withBroadcastSet(e.f1, e.f0); if (this.configuration.isOptNumVertices()) { gatherMapOperator = gatherMapOperator.withBroadcastSet(numberOfVertices, "number of vertices"); for (Tuple2<String, DataSet<?>> e : this.configuration.getSumBcastVars()) { sumReduceOperator = sumReduceOperator.withBroadcastSet(e.f1, e.f0); if (this.configuration.isOptNumVertices()) { sumReduceOperator = sumReduceOperator.withBroadcastSet(numberOfVertices, "number of vertices"); for (Tuple2<String, DataSet<?>> e : this.configuration.getApplyBcastVars()) { appliedSet = appliedSet.withBroadcastSet(e.f1, e.f0);