Class Domain

java.lang.Object
edu.uky.ai.planning.Domain

public class Domain extends Object
A planning domain is a reusable set of action templates called Operators that describes all the ways the state of the world can change.
Author:
Stephen G. Ware
  • Field Details

    • name

      public final String name
      The name of the domain
    • constants

      public final ImmutableArray<Constant> constants
      A set of objects that must exist in for problems in this domain
    • operators

      public final ImmutableArray<Operator> operators
      A set of action templates
  • Constructor Details

    • Domain

      public Domain(String name, ImmutableArray<Constant> constants, ImmutableArray<Operator> operators)
      Constructs a new domain.
      Parameters:
      name - the name of the domain
      constants - a set of objects that must exist in for problems in this domain
      operators - a set of action templates
    • Domain

      public Domain(String name, Constant[] constants, Operator... operators)
      Constructs a new domain.
      Parameters:
      name - the name of the domain
      constants - a set of objects that must exist in for problems in this domain
      operators - a set of action templates
  • Method Details