Package org.hipparchus.samples
Class IntegerDistributionComparison
- java.lang.Object
-
- org.hipparchus.samples.IntegerDistributionComparison
-
public class IntegerDistributionComparison extends Object
Displays pdf/cdf for integer distributions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IntegerDistributionComparison.Display
-
Constructor Summary
Constructors Constructor Description IntegerDistributionComparison()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addCDFSeries(com.xeiam.xchart.Chart chart, IntegerDistribution distribution, String desc, int lowerBound, int upperBound)
static void
addPDFSeries(com.xeiam.xchart.Chart chart, IntegerDistribution distribution, String desc, int lowerBound, int upperBound)
static com.xeiam.xchart.Chart
createChart(String title, int minX, int maxX, com.xeiam.xchart.StyleManager.LegendPosition position)
static JComponent
createComponent(String distributionName, int minX, int maxX, String[] seriesText, IntegerDistribution... series)
static void
main(String[] args)
-
-
-
Method Detail
-
addPDFSeries
public static void addPDFSeries(com.xeiam.xchart.Chart chart, IntegerDistribution distribution, String desc, int lowerBound, int upperBound)
-
addCDFSeries
public static void addCDFSeries(com.xeiam.xchart.Chart chart, IntegerDistribution distribution, String desc, int lowerBound, int upperBound)
-
createChart
public static com.xeiam.xchart.Chart createChart(String title, int minX, int maxX, com.xeiam.xchart.StyleManager.LegendPosition position)
-
createComponent
public static JComponent createComponent(String distributionName, int minX, int maxX, String[] seriesText, IntegerDistribution... series)
-
main
public static void main(String[] args)
-
-