8283848586878889909192
a.name = this.name; Iterator pit = params.iterator(); while (pit.hasNext()) { Variable v = (Variable) pit.next(); PDDLObject o = (PDDLObject) varMap.get(v); a.params.add(o); } varMap.put(duration, a.duration);
103104105106107108109110111112113
{ NamedFunction nf = new NamedFunction((FunctionSymbol)name); Iterator pit = parameters.iterator(); while (pit.hasNext()) { Variable v = (Variable) pit.next(); PDDLObject po = (PDDLObject) varMap.get(v); nf.addParameter(po); } return nf; }