Skip to content
Snippets Groups Projects
Commit c1855efb authored by Sebastian Ebert's avatar Sebastian Ebert
Browse files

clean-up, tested fix

parent 85c45a4a
No related branches found
No related tags found
No related merge requests found
...@@ -22,21 +22,16 @@ public class Main { ...@@ -22,21 +22,16 @@ public class Main {
public static void main(String[] args) throws IOException, InvalidIDException, InterruptedException { public static void main(String[] args) throws IOException, InvalidIDException, InterruptedException {
String configPath = (args.length > 1) ? args[1] : null; String configPath = (args.length > 1) ? args[1] : null;
/* String pnmlPath = (args.length > 0) ? args[0] : null; String pnmlPath = (args.length > 0) ? args[0] : null;
if (pnmlPath == null || configPath == null) { if (pnmlPath == null || configPath == null) {
System.out.println("No model found on given input path."); System.out.println("No model found on given input path.");
return; return;
}*/ }
// parse the global not flatted petri net // parse the global not flatted petri net
// String pnmlPath = "../pnml-relast-nets/src/main/resources/topicTestNets/structureTestNets/topic-structure-correct.pnml"; // pnmlPath = "../pnml-relast-nets/src/main/resources/useCaseNets/RoboticUseCase-TopLayer-Left.pnml";
String pnmlPath = "../pnml-relast-nets/src/main/resources/useCaseNets/RoboticUseCase-TopLayer-Left.pnml"; // configPath = "src/main/config/siftConfig.json";
// String pnmlPath = "../pnml-relast-nets/src/main/resources/useCaseNets/TopicEvaluation/RoboticUseCase-TopLayer-TopicScale-NoSignals.pnml";
// String pnmlPath = "../pnml-relast-nets/src/main/resources/useCaseNets/RoboticUseCase-AllLayers.pnml";
// String pnmlPath = "../pnml-relast-nets/src/main/resources/useCaseNets/TopicEvaluation/PublisherScale/RoboticUseCase-TopLayer-PublisherScale-6.pnml";
// String pnmlPath = "../pnml-relast-nets/src/main/resources/serviceTestNets/structureTestNets/service-structure-correct.pnml";*/
configPath = "src/main/config/siftConfig.json";
PetriNet petriNet = PnmlParser.parsePnml(pnmlPath).get(0); PetriNet petriNet = PnmlParser.parsePnml(pnmlPath).get(0);
// read config for analyzer from file // read config for analyzer from file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment