Package pddl4j.exp

Examples of pddl4j.exp.AndExp


  @SuppressWarnings("rawtypes")
  private List<PropositionImpl> getPropositionFromDomainExp(Exp exp, boolean negated){
    List<PropositionImpl> propositionImpls = new ArrayList<PropositionImpl>();
    switch (exp.getExpID()) {
        case AND:
              AndExp andExp = (AndExp) exp;
              for (Exp and : andExp) {
                propositionImpls.addAll(getPropositionFromDomainExp(and, false));
              }
              break;
          case ATOMIC_FORMULA:
View Full Code Here


  @SuppressWarnings("rawtypes")
  private List<PropositionImpl> getPropositionFromProblemExp(Exp exp, boolean negated){
    List<PropositionImpl> propositionImpls = new ArrayList<PropositionImpl>();
    switch (exp.getExpID()) {
        case AND:
              AndExp andExp = (AndExp) exp;
              for (Exp and : andExp) {
                propositionImpls.addAll(getPropositionFromProblemExp(and, false));
              }
              break;
          case ATOMIC_FORMULA:
View Full Code Here

TOP

Related Classes of pddl4j.exp.AndExp

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.