Class Type

java.lang.Object
edu.tufts.hrilab.pddl.Type

public class Type extends Object
Defines a PDDL type and it's sub-types and super-types.
  • Constructor Details

    • Type

      public Type(String name)
  • Method Details

    • addSuperTypes

      public void addSuperTypes(List<Type> superTypes)
    • generate

      public String generate()
    • getName

      public String getName()
    • getSuperTypes

      public List<Type> getSuperTypes()
    • getSubTypes

      public List<Type> getSubTypes()
    • isSuper

      public boolean isSuper(Type type)
    • getCommonSuper

      public String getCommonSuper(Type query)
    • getSpecific

      public String getSpecific(Type query)