public class ThesisExperimentProcessor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ThesisExperimentProcessor.ConfigurationApproaches
The different configuration approaches available (might also be referred
to by number)
|
static class |
ThesisExperimentProcessor.ExperimentCodes
Known experiment codes we can parse.
|
static class |
ThesisExperimentProcessor.ProcessingModes |
Modifier and Type | Field and Description |
---|---|
static int[][] |
aggregationDetail
stores which nth generation (using modulo) should be stored.
|
static java.lang.String |
ETMLocalLogsDirString
The directory that contains the experiment directories the SSHExperiments
class logged to.
|
static java.lang.String |
EventLogDirectory |
static java.lang.String |
preferredExperimentDate |
static java.util.HashMap<TreeFitnessInfo,java.lang.Double> |
standardWeights |
static java.text.SimpleDateFormat |
statsDateFormat |
static java.io.File |
TEMPuntarDir
Directory used to temporarily untar the tar.gz files, process the
contents and then delete the files again.
|
static java.lang.String |
ThesisBaseDirectory |
Constructor and Description |
---|
ThesisExperimentProcessor() |
Modifier and Type | Method and Description |
---|---|
static ConfigurationFitness |
getConfigurationFitness(NAryTree tree,
CentralRegistryConfigurable registry,
java.util.HashMap<TreeFitnessInfo,java.lang.Double> weights) |
static NAryTree |
getTreeWithBestOf(ParetoFront pf,
java.util.HashMap<TreeFitnessInfo,java.lang.Double> weights)
Returns the tree with the best overall fitness, using the given weights
|
static java.util.ArrayList<org.deckfour.xes.model.XLog> |
loadConfigCaseStudyLogs()
Instantiate the case study logs from the original files
|
static java.util.ArrayList<org.deckfour.xes.model.XLog> |
loadLogs(java.lang.String[] filenames)
Tries to load the provided list of filenames from the EventLogDirectory
|
static void |
main(java.lang.String[] args) |
static void |
parse_basicDisc_runEx_noise(java.io.File eTMLocalLogsDirMostrecent,
java.lang.String experimentDate,
ThesisExperimentProcessor.ProcessingModes currentProcessingMode)
Parses the basicDisc_runEx_noise experiment files and produces a
statistics file and a .tex file with the 'most average' process tree
found in the final generation.
|
static void |
parse_basicDisc_runEx_noNoise(java.io.File eTMLocalLogsDirMostrecent,
java.lang.String experimentDate,
ThesisExperimentProcessor.ProcessingModes currentProcessingMode)
Parses the basicDisc_runEx_noNoise experiment files and produces a
statistics file and a .tex file with the 'most average' process tree
found in the final generation.
|
static void |
parse_basicDisc_runExNoise_pareto(java.io.File eTMLocalLogsDirMostrecent,
java.lang.String experimentDate,
ThesisExperimentProcessor.ProcessingModes currentProcessingMode) |
static void |
parse_caseStudies_buildingPerm_and_WABO(java.io.File eTMLocalLogsDirPreferred,
java.lang.String experimentDate,
ThesisExperimentProcessor.ProcessingModes currentProcessingMode)
Processes the experiment codes caseStudies_BuildingPerm and
caseStudies_WABO1..5
|
static void |
parse_caseStudies_buildingPerm_randomVsGuided(java.io.File eTMLocalLogsDirMostrecent,
java.lang.String experimentDate)
Parses the caseStudies_buildingPerm_randomVsGuided experiment files and
produces a statistics file with the average Of of the different ratios.
|
static void |
parse_caseStudies_randomVsGuided(java.io.File eTMLocalLogsDirMostrecent,
java.lang.String experimentDate)
Parses the caseStudies_randomVsGuided experiment files and produces a
statistics file with the average Of of the different ratios.
|
static void |
parse_config_runEx()
Parse the configuration experiments on the running example event logs
|
static void |
parse_config_standard(java.util.List<org.deckfour.xes.model.XLog> logs,
java.lang.String baseLatexCode,
java.util.Map<ThesisExperimentProcessor.ConfigurationApproaches,java.lang.String[]> standardTrees)
Processes the configuration experiments, all 5 approaches.
|
static void |
parse_config_wabo() |
static void |
parse_standardStatsFile(java.io.File eTMLocalLogsDirMostrecent,
java.lang.String experimentDate,
java.lang.String experimentCode,
boolean randomVsGuidedMode,
ThesisExperimentProcessor.ProcessingModes currentProcessingMode)
Parses the provided experiment code statistic files and produces an
aggregated file.
|
static void |
purgeDirectory(java.io.File dir) |
public static java.lang.String ETMLocalLogsDirString
public static java.lang.String ThesisBaseDirectory
public static java.lang.String EventLogDirectory
public static java.lang.String preferredExperimentDate
public static java.text.SimpleDateFormat statsDateFormat
public static java.io.File TEMPuntarDir
public static java.util.HashMap<TreeFitnessInfo,java.lang.Double> standardWeights
public static int[][] aggregationDetail
public static void main(java.lang.String[] args)
public static void parse_basicDisc_runEx_noNoise(java.io.File eTMLocalLogsDirMostrecent, java.lang.String experimentDate, ThesisExperimentProcessor.ProcessingModes currentProcessingMode)
eTMLocalLogsDirMostrecent
- experimentDate
- public static void parse_basicDisc_runEx_noise(java.io.File eTMLocalLogsDirMostrecent, java.lang.String experimentDate, ThesisExperimentProcessor.ProcessingModes currentProcessingMode)
eTMLocalLogsDirMostrecent
- experimentDate
- public static void parse_caseStudies_buildingPerm_and_WABO(java.io.File eTMLocalLogsDirPreferred, java.lang.String experimentDate, ThesisExperimentProcessor.ProcessingModes currentProcessingMode)
eTMLocalLogsDirPreferred
- experimentDate
- currentProcessingMode
- public static void parse_basicDisc_runExNoise_pareto(java.io.File eTMLocalLogsDirMostrecent, java.lang.String experimentDate, ThesisExperimentProcessor.ProcessingModes currentProcessingMode)
public static void parse_caseStudies_buildingPerm_randomVsGuided(java.io.File eTMLocalLogsDirMostrecent, java.lang.String experimentDate)
eTMLocalLogsDirMostrecent
- experimentDate
- public static void parse_caseStudies_randomVsGuided(java.io.File eTMLocalLogsDirMostrecent, java.lang.String experimentDate)
eTMLocalLogsDirMostrecent
- experimentDate
- public static void parse_standardStatsFile(java.io.File eTMLocalLogsDirMostrecent, java.lang.String experimentDate, java.lang.String experimentCode, boolean randomVsGuidedMode, ThesisExperimentProcessor.ProcessingModes currentProcessingMode)
eTMLocalLogsDirMostrecent
- experimentDate
- experimentCode
- randomVsGuidedMode
- if false, assumes 'normal' parsing of several stats filescurrentProcessingMode
- The process mode of this stats filepublic static void parse_config_runEx()
public static void parse_config_wabo()
public static void parse_config_standard(java.util.List<org.deckfour.xes.model.XLog> logs, java.lang.String baseLatexCode, java.util.Map<ThesisExperimentProcessor.ConfigurationApproaches,java.lang.String[]> standardTrees)
logs
- Event logs used in the experimentsbaseLatexCode
- Prefix for latex labelsstandardTrees
- null or an array of 'standard' trees for given configuration
approaches, such that they do not need to be entered.public static java.util.ArrayList<org.deckfour.xes.model.XLog> loadConfigCaseStudyLogs()
public static java.util.ArrayList<org.deckfour.xes.model.XLog> loadLogs(java.lang.String[] filenames)
filenames
- list of files to be found in EventLogDirectorypublic static ConfigurationFitness getConfigurationFitness(NAryTree tree, CentralRegistryConfigurable registry, java.util.HashMap<TreeFitnessInfo,java.lang.Double> weights)
public static void purgeDirectory(java.io.File dir)
public static NAryTree getTreeWithBestOf(ParetoFront pf, java.util.HashMap<TreeFitnessInfo,java.lang.Double> weights)
pf
- weights
-