Interface IPlan

  • All Superinterfaces:
    Clonable<IPlan>
    All Known Implementing Classes:
    NestedPlan, Plan

    public interface IPlan
    extends Clonable<IPlan>
    Implements the Plan Interface.
    Version:
    1.0
    Author:
    Axel-C. Ngonga Ngomo (ngonga@informatik.uni-leipzig.de), Kleanthi Georgala (georgala@informatik.uni-leipzig.de)
    • Method Detail

      • addInstruction

        void addInstruction​(Instruction instruction)
        Adds an instruction to the instructionList.
        Parameters:
        instruction - The Instruction to add
      • removeInstruction

        void removeInstruction​(int index)
        Removes the i-th instruction from the instructionList.
        Parameters:
        index - Index of instruction to remove
      • removeInstruction

        void removeInstruction​(Instruction instruction)
        Removes san instruction from a instructionList.
        Parameters:
        instruction - Instruction to remove
      • getInstructionList

        List<Instruction> getInstructionList()
        Returns the list of instructions contained in a instructionList.
        Returns:
        List of instructions