Package graphplan.domain.jason

Examples of graphplan.domain.jason.OperatorImpl.addTerms()


          }
        }

        this.parameterTypes.put(actionDef.getName(), parameterTypes);
       
        operatorImpl.addTerms(termsOp);
       
        operatorImpl.getPreconds().addAll(this.getPropositionFromDomainExp(precontidion));
        operatorImpl.getEffects().addAll(this.getPropositionFromDomainExp(effect));
       
        operators.add(operatorImpl);
View Full Code Here


        List<Term> newTerms = new ArrayList<Term>();
       
        for(int i=0; i<n; i++)
          newTerms.add(termInstances[i]);

        newOp.addTerms(newTerms);
        List<String> termsOp = new ArrayList<String>();
        for(int i=0; i<newOp.getTerms().toArray().length; i++)
          termsOp.add(op.getTerms().toArray()[i].toString() +"@"+ newOp.getTerms().toArray()[i].toString());
       
        BitSet pe = new BitSet();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.