Newer
Older
package Main;
import java.util.Map;
import FaultTree.*;
import Heuristics.Heuristic;
public class Main {
public static void main(String[] args) throws Exception {
String heuristicArg = args[0];
Heuristic heuristic;
switch (heuristicArg) {
case "h1":
case "depth-first":
heuristic = null; // TODO
break;
// TODO
default:
throw new Exception("You have to specify a valid heuristic.");
}
FaultTree tree = null; // TODO
Map<BasicEvent, Integer> ordering = heuristic.getOrder(tree);
// TODO: call transformation
}
}