Skip to content

Commit ed10f93

Browse files
committed
MSPD updated
1 parent 31e055f commit ed10f93

4 files changed

Lines changed: 20 additions & 6 deletions

File tree

225 Bytes
Binary file not shown.

jbpt-pm/src/main/java/org/jbpt/pm/mspd/swarmBasedSolutions/PSO.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ public void optimize() {
119119
}
120120
}
121121
}
122-
System.out.println(executionTime+" "+System.nanoTime());
123122
executionTime = (System.nanoTime() - executionTime)/ (currentIter * 1_000_000_000.0);
124123
executor.shutdown(); // Shutdown the executor service
125124
}

jbpt-pm/src/main/java/org/jbpt/pm/mspd/utilities/LateXReportGenerator.java

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ public void generateReports(String eventLogName,HashMap<String,Double>algorithms
374374
myWriter.write("\\usepackage{booktabs}\n");
375375
myWriter.write("\\usepackage{caption}\n");
376376
myWriter.write("\\usepackage{subcaption}\n");
377+
myWriter.write("\\usepackage{ragged2e}\n");
377378
myWriter.write("\\begin{document}\n");
378379
myWriter.write("\\date{Compiled at {\\ampmtime} on {\\today}}\n");
379380
myWriter.write("\\title{Entropia: Process Discovery Experiment Report}\n");
@@ -382,17 +383,31 @@ public void generateReports(String eventLogName,HashMap<String,Double>algorithms
382383
myWriter.write("\\section{Introduction}\n");
383384

384385
myWriter.write("This report summarizes the setup and results of a process discovery experiment conducted using the \\textsl{Entropia}\n");
385-
myWriter.write("tool~\\cite{CITE-TOOL-PAPER}.\n");
386+
//myWriter.write("tool~\\cite{CITE-TOOL-PAPER}.\n");
387+
myWriter.write("tool.\n");
386388
myWriter.write("The following section outlines the discovery techniques used and their configurations in the experiment.\n");
387389
myWriter.write("\\Cref{sec:quality} specifies the evaluation criteria used to assess the quality of the discovered models and to compare the performance of the discovery techniques.\n");
388390
myWriter.write("Finally, \\cref{sec:results} presents the experimental results.\n");
389391
myWriter.write("\\section{Discovery}\n");
390392

391393
myWriter.write("The command line used to execute the experiment is listed below:\n");
392394

393-
myWriter.write("\\begin{verbatim}\n");
394-
myWriter.write("TODO: command line\n");
395-
myWriter.write("\\end{verbatim}\n");
395+
//myWriter.write("\\begin{verbatim}\n");
396+
String command="\\begin{justify}\n -mspd -el \""+parms.get("LOG_DIRECTORY").replaceAll("\\_", "\\\\_")+"\" ";
397+
int i=1;
398+
for(String s:algorithms.keySet())
399+
command+=" m"+(i++)+" ";
400+
command+="-p "+parms.get("POPULATION")+" ";
401+
command+="-mxItr "+parms.get("MAX_GENERATION")+" ";
402+
command+="-t "+ parms.get("TIME_LIMITATION")+" ";
403+
command+="-mms "+ parms.get("Maximum Model Size")+" ";
404+
command+="-pfs "+parms.get("PARETO_LIST_SIZE")+" ";
405+
command+="-ebrm "+parms.get("Entropic Relevance Background Model")+" ";
406+
command+="- optm "+parms.get("Optimal Model")+" \n\\end{justify}";
407+
408+
myWriter.write(command);
409+
//myWriter.write("TODO: command line\n");
410+
//myWriter.write("\\end{verbatim}\n");
396411
myWriter.write("\\noindent\n");
397412
myWriter.write("\\Cref{tbl:experiment} summarizes the key characteristics of the experimental setup used for performance comparison.\n");
398413

jbpt-pm/src/main/java/org/jbpt/pm/mspd/utilities/MetaheuristicStochasticProcessDiscovery.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ else if(parms.get("Optimal Model").compareTo("DFG")==0)
224224

225225
MetaheuristicStochasticProcessDiscovery fspd = new MetaheuristicStochasticProcessDiscovery(1,1,"DFvM",fileDirectory,true,true,0.01,0.99,pareto_size,"d", LocalDateTime.now(),time_limit,bkgt,parms.get("Optimal Model"),sizeLimit);
226226
List<Frontier> DFGList = new ArrayList<Frontier>();
227-
System.out.println("DFvM Algorithm started "+sdf.format(new Date()));
227+
System.out.println("DFvM algorithm started "+sdf.format(new Date()));
228228

229229
for(Frontier frontier:fspd.ExtractParetoList())
230230
{

0 commit comments

Comments
 (0)