Class FalseContext

java.lang.Object
edu.tufts.hrilab.action.execution.Context
edu.tufts.hrilab.action.execution.control.FalseContext

public class FalseContext extends Context
  • Constructor Details

  • Method Details

    • getNextStepForType

      protected Context getNextStepForType()
      Description copied from class: Context
      Get the next step (i.e., context) to be executed. Returns null if there are no more steps. TODO: remove this method
      Overrides:
      getNextStepForType in class Context
      Returns:
    • copy

      public FalseContext copy(Context newParent)
      Description copied from class: Context
      deep copy of the context, its status, and its children
      Specified by:
      copy in class Context
      Parameters:
      newParent - parent to attach the copied context too
      Returns:
      the copied context
    • doStep

      public void doStep()
      Description copied from class: Context
      If Context has a concrete execution step to perform, it should happen in this method. This should not include setting up next steps (i.e., children to perform), which should happen in the setupNextStep method. Primitive actions and operators (i.e., leaf nodes in the context tree) are examples where this method should be implemented.
      Overrides:
      doStep in class Context