/** Generate the tree */ public override void generateTree() { // if (_options.scheck_path!="") { //if (LTL2DSTAR_Tree_Scheck.worksWith(_ltl, _options.verbose_scheduler)) { // addChild(new LTL2DSTAR_Tree_Scheck(_ltl, _options, _sched)); //} // add stuff for path. check here // } if (_options.allow_union && _ltl.getRootNode().getType() == type_t.T_OR) { _tree_union = new LTL2DSTAR_Tree_Union(_ltl, buchiAutomata, _options, _sched); addChild(_tree_union); } if (!((_options.only_union && _options.allow_union) || (_options.only_safety && _options.safety))) { _tree_normal = new LTL2DSTAR_Tree_Safra(_ltl, this.buchiAutomata, _options, _sched); addChild(_tree_normal); } }
/** * Constructor * @param ltl The LTL formula * @param options the LTL2DSTAR options * @param sched a reference back to the scheduler */ public LTL2DSTAR_Tree_Rabin(LTLFormula ltl, BuchiAutomata ba, LTL2DSTAR_Options options, LTL2DSTAR_Scheduler sched) : base(ltl, ba, options, sched) { _tree_normal = null; _tree_union = null; generateTree(); }