Interface ConstraintSolver

  • All Known Implementing Classes:
    MappingConstraintSolver, TimeScheduler

    public interface ConstraintSolver
    ConstraintSolver is an interface used to let the subclass schedule MetroII events. The scheduling is via updating the MetroII events passed to resolve() method. An MetroII event status is updated to NOTIFIED when it satisfies the constraints in the subclass. Otherwise the event status should be updated to WAITING.
    Since:
    Ptolemy II 11.0
    Version:
    $Id$
    Author:
    Liangpeng Guo
    Pt.AcceptedRating:
    Red (glp)
    Pt.ProposedRating:
    Red (glp)
    • Method Detail

      • resolve

        void resolve​(java.lang.Iterable<metroIIcomm.Event.Builder> metroIIEventList)
        Update the MetroII events in the specified list.
        Parameters:
        metroIIEventList - a list of MetroII events to be updated.