Package javaff.data

Examples of javaff.data.UngroundCondition


  {
    Set rSet = new HashSet();
    Iterator it = literals.iterator();
    while (it.hasNext())
    {
      UngroundCondition c = (UngroundCondition) it.next();
      rSet.addAll(c.getStaticPredicates());
    }
    return rSet;
  }
View Full Code Here


    {
    AND a = new AND();
    Iterator lit = literals.iterator();
    while (lit.hasNext())
    {
      UngroundCondition p = (UngroundCondition) lit.next();
      a.add(p.minus(effect));
    }
    return a;
    }
View Full Code Here

    }

  public UngroundCondition effectsAdd(UngroundCondition cond)
    {
    Iterator lit = literals.iterator();
    UngroundCondition c = null;
    while (lit.hasNext())
    {
      UngroundEffect p = (UngroundEffect) lit.next();
      UngroundCondition d = p.effectsAdd(cond);
      if (!d.equals(cond)) c=d;
    }
    if (c == null) return cond;
    else return c;
    }
View Full Code Here

  {
    AND a = new AND();
    Iterator lit = literals.iterator();
    while (lit.hasNext())
    {
      UngroundCondition p = (UngroundCondition) lit.next();
      a.add(p.groundCondition(varMap));
    }
    return a;
  }
View Full Code Here

TOP

Related Classes of javaff.data.UngroundCondition

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.