/** * Get the goalbase. * @return The goalbase */ public RGoalbase getGoalbase() { if(goalbase==null) { goalbase = new RGoalbase(getAgent(), null); } return goalbase; }
/** * Get the goal base. * @return The goal base. */ public IGoalbase getGoalbase() { return scope!=null ? new RGoalbase(agent, scope) : capa.getGoalbase(); }
SimpleValueFetcher fetcher = new SimpleValueFetcher(ret); fetcher.setValue("$beliefbase", new BeliefbaseWrapper(capa.getBeliefbase(), prefix)); fetcher.setValue("$goalbase", new RGoalbase(agent, scope)); fetcher.setValue("$planbase", new PlanbaseWrapper(capa.getPlanbase(), prefix)); fetcher.setValue("$eventbase", new REventbase(agent, scope));