Package javaff.data.strips

Examples of javaff.data.strips.PDDLObject


      typeSets.put(st, s);

      Iterator oit = objects.iterator();
      while (oit.hasNext())
      {
        PDDLObject o = (PDDLObject) oit.next();
        if (o.isOfType(st)) s.add(o);
      }

      Iterator cit = constants.iterator();
      while (cit.hasNext())
      {
        PDDLObject c = (PDDLObject) cit.next();
        if (c.isOfType(st)) s.add(c);
      }
    }

    Set s = new HashSet(objects);
    s.addAll(constants);
View Full Code Here


    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);
   
View Full Code Here

    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;
  }
View Full Code Here

TOP

Related Classes of javaff.data.strips.PDDLObject

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.