Class InstantiatedProblem

All Implemented Interfaces:
AtomicFormulaSimplifier<Integer>, Problem, Serializable
Direct Known Subclasses:
PostInstantiatedProblem

public abstract class InstantiatedProblem extends PreInstantiatedProblem
This class contains all the methods needed to instantiate the actions and the metods of the problem.
See Also:
Serialized Form
  • Constructor Details

    • InstantiatedProblem

      public InstantiatedProblem(DefaultParsedProblem problem)
      Creates a new problem from a domain and problem.
      Parameters:
      problem - the problem.
  • Method Details

    • getRelevantPrimitiveTasks

      protected List<Expression<Integer>> getRelevantPrimitiveTasks()
      Returns the list of the relevant primitive tasks task of the problem. The list contains also tasks that can not be reached by decomposing the initial tasks of the problem. To get only primitive tasks produced by the hierarchical decomposition of the initial task network of the problem used the method getHierarchicalRelevantPrimitiveTasks().
      Returns:
      the list of relevant primitive tasks.
      See Also:
      getHierarchicalRelevantPrimitiveTasks()
    • getHierarchicalRelevantPrimitiveTasks

      protected List<Expression<Integer>> getHierarchicalRelevantPrimitiveTasks()
      Returns the list of the relevant primitive tasks of the problem that are present in the task decomposition of the problem. To get all the primitive tasks used the method getRelevantPrimitiveTasks().
      Returns:
      the list of hierarchical relevant primitive tasks.
      See Also:
      getRelevantPrimitiveTasks()
    • getRelevantCompoundTasks

      protected List<Expression<Integer>> getRelevantCompoundTasks()
      Return the list of relevant compound tasks of the problem. A compound task is relevant if it can be reach by decomposing the initial tasks of the problem.
      Returns:
      the list of relevant compound tasks of the problem.
    • getRelevantActions

      protected List<Integer> getRelevantActions()
      Returns the list of relevant actions of the problem. The list contains also action that can not be reached by decomposing the initial tasks of the problem. To get only actions produced by the hierarchical decomposition of the initial task network of the problem used the method getRelevantHierarchicalActions().
      Returns:
      the list of relevant actions of the problem.
      See Also:
      getRelevantHierarchicalActions()
    • getRelevantHierarchicalActions

      protected List<Integer> getRelevantHierarchicalActions()
      Returns the list of the relevant actions of the problem that are present in the task decomposition of the problem. To get all the actions used the method getRelevantActions().
      Returns:
      the list of hierarchical relevant primitive tasks.
      See Also:
      getRelevantActions()
    • getRelevantMethods

      protected List<List<Integer>> getRelevantMethods()
      Returns the list of relevant methods of the problem.
      Returns:
      the list of relevant methods of the problem.
    • instantiateActions

      protected void instantiateActions()
      Instantiates the actions of the problem.
    • instantiateGoal

      protected void instantiateGoal()
      Instantiate the goal.
    • instantiateInitialTaskNetwork

      protected void instantiateInitialTaskNetwork()
      Instantiates the initial task network.
    • instantiateMethods

      protected void instantiateMethods()
      Instantiate the methods of the problem.