Package graphplan.graph

Examples of graphplan.graph.PropositionLevel


            addInstance = preconds.contains(proposition);
           
            if(proposition.negated() && !addInstance) {
              /*Closed World Assumption*/
              if(initialState != null && initialState.isPropositionLevel()){
                PropositionLevel initial = (PropositionLevel) initialState;
                PropositionImpl positiveProposition = new PropositionImpl(proposition.getFunctor());
                positiveProposition.setTerms(proposition.getTerms());

                if(!initial.hasProposition(positiveProposition)){
                  initial.addProposition(proposition);
                }
              }
              //addInstance = true;
            }
            if(!addInstance) {
View Full Code Here

TOP

Related Classes of graphplan.graph.PropositionLevel

Copyright © 2018 www.massapicom. 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.