Class TTChecker


  • public class TTChecker
    extends Object
    Class to verify well formedness of timetables

    TTChecker class diagram

    • Constructor Detail

      • TTChecker

        public TTChecker​(TimeTable tbl)
    • Method Detail

      • isSound

        public Boolean isSound()
        Returns:
        a boolean set to true if the table contains no cycle, and respect all dependencies
      • hasNoCycle

        public Boolean hasNoCycle()
        Returns:
        a boolean set to true if the dependencies in the TT do not form a cycle
      • verifiedConstraints

        public Boolean verifiedConstraints()
        Returns:
        a boolean set to true if all constraints are satisfied in the TT, i.e. for every dependency (org, dest,val) date(dest)> date(org)+val