Package org.apache.flink.test.recordJobs.graph.pageRankUtil

Examples of org.apache.flink.test.recordJobs.graph.pageRankUtil.DiffL1NormConvergenceCriterion


    rankAggregation.getParameters().setLong(DotProductCoGroup.NUM_DANGLING_VERTICES_PARAMETER, numDanglingVertices);
   
    iteration.setNextPartialSolution(rankAggregation);
    iteration.setMaximumNumberOfIterations(numIterations);
    iteration.getAggregators().registerAggregationConvergenceCriterion(DotProductCoGroup.AGGREGATOR_NAME, new PageRankStatsAggregator(),
        new DiffL1NormConvergenceCriterion());
   
    FileDataSink out = new FileDataSink(new PageWithRankOutFormat(), outputPath, iteration, "Final Ranks");

    Plan p = new Plan(out, "Dangling PageRank");
    p.setDefaultParallelism(dop);
View Full Code Here

TOP

Related Classes of org.apache.flink.test.recordJobs.graph.pageRankUtil.DiffL1NormConvergenceCriterion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.