/** * Create a new rule system. */ public RuleSystem(IOAVState state, IRulebase rulebase, IPatternMatcherFunctionality matcherfunc, AbstractAgenda agenda) { this.state = state; this.rulebase = rulebase; this.matcherfunc = matcherfunc; this.matcherstate = matcherfunc.createMatcherState(state, agenda); }
for(Iterator it=matcherfunc.getRulebase().getRules().iterator(); it.hasNext(); ) names.add(((IRule)it.next()).getName()); modelinfo.addProperty("debugger.breakpoints", names);
rulesystem = new RuleSystem(state, model.getMatcherFunctionality().getRulebase(), model.getMatcherFunctionality(), new PriorityAgenda());
/** * Create a new rule system. */ public RuleSystem(IOAVState state, IRulebase rulebase, IPatternMatcherFunctionality matcherfunc, AbstractAgenda agenda) { this.state = state; this.rulebase = rulebase; this.matcherfunc = matcherfunc; this.matcherstate = matcherfunc.createMatcherState(state, agenda); }