Package com.facebook.LinkBench.distributions.PiecewiseLinearDistribution

Examples of com.facebook.LinkBench.distributions.PiecewiseLinearDistribution.Point


  @Override
  public void setUp() throws Exception {
    super.setUp();
    // Make up an arbitrary distribution
    testDistribution = new ArrayList<Point>();
    testDistribution.add(new Point(0, 0.1));
    testDistribution.add(new Point(1, 0.15));
    testDistribution.add(new Point(2, 0.17));
    testDistribution.add(new Point(3, 0.20));
    testDistribution.add(new Point(4, 0.23));
    testDistribution.add(new Point(10, 0.26));
    testDistribution.add(new Point(20, 0.4));
    testDistribution.add(new Point(30, 0.45));
    testDistribution.add(new Point(40, 0.6));
    testDistribution.add(new Point(55, 0.64));
    testDistribution.add(new Point(70, 0.70));
    testDistribution.add(new Point(90, 0.75));
    testDistribution.add(new Point(100, 0.82));
    testDistribution.add(new Point(110, 0.92));
    testDistribution.add(new Point(120, 1.0));
  }
View Full Code Here

TOP

Related Classes of com.facebook.LinkBench.distributions.PiecewiseLinearDistribution.Point

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.