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);