Package nl.peterbloem.powerlaws

Examples of nl.peterbloem.powerlaws.Discrete


    List<Integer> degreesPL = new ArrayList<Integer>(graph.size());
    for(Node<N> node : graph.nodes())
      degreesPL.add(node.degree());
   
    Discrete dist = Discrete.fit(degreesPL).fit();
    plExponent = dist.exponent();
    plMin = dist.xMin();
    // * TODO: This is too slow to include now, but it is an important
    //         statistic.
    // plSignificance = dist.significance(degreesPL, PL_ACCURACY);
  }
View Full Code Here

TOP

Related Classes of nl.peterbloem.powerlaws.Discrete

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.