public static void main(String[] args) {
QSMTool tool = new QSMTool();
tool.loadConfig(args[0]);
if (tool.showLTL) {
Learner l = new RPNIUniversalLearner(null, tool.learnerInitConfiguration);
LTL_to_ba ba = new LTL_to_ba(tool.learnerInitConfiguration.config, tool.learnerInitConfiguration.getLabelConverter());
if (ba.ltlToBA(tool.learnerInitConfiguration.ifthenSequences, l.init(tool.sPlus, tool.sMinus), true,
GlobalConfiguration.getConfiguration().getProperty(GlobalConfiguration.G_PROPERTIES.LTL2BA))) {
try {
LearnerGraph graph = Transform.ltlToIfThenAutomaton(ba.getLTLgraph().pathroutines.buildDeterministicGraph());
DirectedSparseGraph gr = graph.pathroutines.getGraph();
PathRoutines.convertPairAssociationsToTransitions(gr, graph, tool.learnerInitConfiguration.config,tool.learnerInitConfiguration.getLabelConverter());
Visualiser.updateFrame(gr, null);
} catch (IncompatibleStatesException e) {
e.printStackTrace();