org.cpsolver.coursett.constraint

## Interface GroupConstraint.ConstraintTypeInterface

- All Superinterfaces:
    GroupConstraint.AssignmentPairCheck
  All Known Implementing Classes:
    GroupConstraint.ConstraintType, GroupConstraint.ParametrizedConstraintType
  Enclosing class:
    GroupConstraint

      public static interface GroupConstraint.ConstraintTypeInterface
      extends GroupConstraint.AssignmentPairCheck

  Constraint type interface

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getMax()` Maximum (gap, hours a day) parameter
    `int` | `getMin()` Minimum (gap) parameter
    `String` | `getName()` Constraint name
    `boolean` | `is(GroupConstraint.Flag f)` Flag check (true if contains given flag)
    `String` | `reference()` Constraint reference
    `GroupConstraint.ConstraintType` | `type()` Constraint type

    - ### Methods inherited from interface org.cpsolver.coursett.constraint.GroupConstraint.AssignmentPairCheck

      `isSatisfied, isViolated`

- - ### Method Detail

    - #### type

          GroupConstraint.ConstraintType type()

      Constraint type
      Returns:
        constraint type

    - #### reference

          String reference()

      Constraint reference
      Returns:
        constraint reference

    - #### getName

          String getName()

      Constraint name
      Returns:
        constraint name

    - #### getMin

          int getMin()

      Minimum (gap) parameter
      Returns:
        minimum gap (first constraint parameter)

    - #### getMax

          int getMax()

      Maximum (gap, hours a day) parameter
      Returns:
        maximum gap (second constraint parameter)

    - #### is

          boolean is(GroupConstraint.Flag f)

      Flag check (true if contains given flag)
      Parameters:
        `f` - a flag to check
      Returns:
        true if present