Interface TaskVerifier


  • public interface TaskVerifier
    The interface for a verifier of a task.
    Author:
    Fabian Bühler
    • Method Detail

      • attachToSimulation

        void attachToSimulation​(Simulation sim)
        Attach the verifier to a simulation.

        Must be called by the simulation or the simulation builder.

        Parameters:
        sim - the simulation to verify
      • verify

        void verify()
        Verify if the current state of the simulation matches the requirements for the successful completion of the task.

        This method should update the task information returned by getTaskInformation().

      • getTaskInformation

        TaskInformation getTaskInformation()
        Get the current task information.

        The information returned by this method should not change unless verify() is called.

        Returns:
        the task information