1 16 17 package org.apache.commons.math.random; 18 19 import java.io.IOException ; 20 import java.io.File ; 21 import java.net.URL ; 22 import java.util.List ; 23 24 import org.apache.commons.math.stat.descriptive.StatisticalSummary; 25 26 48 public interface EmpiricalDistribution { 49 50 56 void load(double[] dataArray); 57 58 64 void load(File file) throws IOException ; 65 66 72 void load(URL url) throws IOException ; 73 74 82 double getNextValue() throws IllegalStateException ; 83 84 85 96 StatisticalSummary getSampleStats() throws IllegalStateException ; 97 98 103 boolean isLoaded(); 104 105 110 int getBinCount(); 111 112 120 List getBinStats(); 121 122 129 double[] getUpperBounds(); 130 131 } 132 | Popular Tags |