Package | Description |
---|---|
org.fhaes.fhsamplesize.controller | |
org.fhaes.fhsamplesize.view |
Modifier and Type | Field and Description |
---|---|
private static SSIZAnalysisModel |
SSIZController.analysisModel |
Modifier and Type | Method and Description |
---|---|
static void |
SSIZController.doPreRunSetup(SSIZAnalysisModel model)
Run basic sanity checks on file.
|
static java.lang.Double |
SSIZController.getCenturyMultiplier(SSIZAnalysisModel model,
SegmentModel segment)
TODO
|
static java.lang.Integer[] |
SSIZController.getFiresByYear(SSIZAnalysisModel model,
java.util.ArrayList<java.util.ArrayList<java.lang.Integer>> pool,
SegmentModel segment)
Return an int[] containing the count of fires in each year.
|
private static java.util.ArrayList<java.lang.Integer> |
SSIZController.getIntegerArrayOfFirstYears(SSIZAnalysisModel model)
Converts the int[] of first years to an ArrayList
|
private static java.util.ArrayList<java.lang.Integer> |
SSIZController.getIntegerArrayOfLastYears(SSIZAnalysisModel model)
Converts the int[] of last years to an ArrayList
|
private static java.util.ArrayList<java.util.ArrayList<java.lang.Integer>> |
SSIZController.performResamplingWithoutReplacement(int numSamplesToChoose,
SSIZAnalysisModel model)
Resample (without replacement) the event data from within the model so that it is of size numSamplesToChoose.
|
private static java.util.ArrayList<java.util.ArrayList<java.lang.Integer>> |
SSIZController.performResamplingWithReplacement(int numSamplesToChoose,
SSIZAnalysisModel model)
Resample (with replacement) the event data from within the model so that it is of size numSamplesToChoose.
|
private static void |
SSIZController.recalculateFirstAndLastYears(SSIZAnalysisModel model,
java.util.ArrayList<java.lang.Integer> indexesOfRemovedSeries)
Recalculate the first and last years of the series pool.
|
static void |
SSIZController.restrictAnalysisToCommonYears(SSIZAnalysisModel model)
Restricts the series pool to contain only the years shared between all series.
|
static void |
SSIZController.restrictAnalysisToSeriesWithEvents(SSIZAnalysisModel model)
Restricts the series pool to contain only series that have recorded at least one event.
|
static void |
SSIZController.runSampleSizeAnalysisLoopIteration(SSIZAnalysisModel model,
java.lang.Double centuryMultiplier,
int currentIteration,
SegmentModel segment)
Runs an iteration of the sample size analysis loop.
|
void |
SSIZController.setAnalysisModel(SSIZAnalysisModel model)
Sets the analysisModel equal to the input SSIZAnalysisModel.
|
Modifier and Type | Field and Description |
---|---|
private SSIZAnalysisModel |
FHSampleSize.DrawSSIZAnalysisTask.analysisModel |
private SSIZAnalysisModel |
FHSampleSize.ResultPair.model |
Modifier and Type | Method and Description |
---|---|
private SSIZAnalysisModel |
FHSampleSize.createSSIZAnalysisModel()
Set up analysis parameters in SSIZController according to the selected settings in the GUI.
|
protected SSIZAnalysisModel |
FHSampleSize.DrawSSIZAnalysisTask.doInBackground()
Run the analysis in the background updating progress bar as it goes
|
Modifier and Type | Method and Description |
---|---|
private void |
FHSampleSize.displayChartAndTableOutput(SSIZAnalysisModel analysisModel)
Updates and redraws the results table and curve chart on the GUI.
|
void |
FHSampleSize.populateFromAnalysisModel(SSIZAnalysisModel model)
Generate the SSIZAnalysisModel representing the data and parameters for this analysis.
|
Constructor and Description |
---|
DrawSSIZAnalysisTask(SSIZAnalysisModel analysisModel) |
ResultPair(java.lang.Integer progress,
SSIZAnalysisModel model) |