Interface IntervalConstraintProtoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
IntervalConstraintProto, IntervalConstraintProto.Builder

public interface IntervalConstraintProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getStart

      int getStart()
      int32 start = 1;
      Returns:
      The start.
    • getEnd

      int getEnd()
      int32 end = 2;
      Returns:
      The end.
    • getSize

      int getSize()
      int32 size = 3;
      Returns:
      The size.
    • hasStartView

      boolean hasStartView()
       EXPERIMENTAL: This will become the new way to specify an interval.
       Depending on the parameters, the presolve will convert the old way to the
       new way. Do not forget to add an associated linear constraint if you use
       this directly.
       If any of this field is set, then all must be set and the ones above will
       be ignored.
       IMPORTANT: For now, this constraint do not enforce any relations on the
       view, and a linear constraint must be added together with this to enforce
       enforcement => start_view + size_view == end_view. An enforcement =>
       size_view >=0 might also be needed.
       IMPORTANT: For now, we just support affine relation. We could easily
       create an intermediate variable to support full linear expression, but this
       isn't done currently.
       
      .operations_research.sat.LinearExpressionProto start_view = 4;
      Returns:
      Whether the startView field is set.
    • getStartView

      LinearExpressionProto getStartView()
       EXPERIMENTAL: This will become the new way to specify an interval.
       Depending on the parameters, the presolve will convert the old way to the
       new way. Do not forget to add an associated linear constraint if you use
       this directly.
       If any of this field is set, then all must be set and the ones above will
       be ignored.
       IMPORTANT: For now, this constraint do not enforce any relations on the
       view, and a linear constraint must be added together with this to enforce
       enforcement => start_view + size_view == end_view. An enforcement =>
       size_view >=0 might also be needed.
       IMPORTANT: For now, we just support affine relation. We could easily
       create an intermediate variable to support full linear expression, but this
       isn't done currently.
       
      .operations_research.sat.LinearExpressionProto start_view = 4;
      Returns:
      The startView.
    • getStartViewOrBuilder

      LinearExpressionProtoOrBuilder getStartViewOrBuilder()
       EXPERIMENTAL: This will become the new way to specify an interval.
       Depending on the parameters, the presolve will convert the old way to the
       new way. Do not forget to add an associated linear constraint if you use
       this directly.
       If any of this field is set, then all must be set and the ones above will
       be ignored.
       IMPORTANT: For now, this constraint do not enforce any relations on the
       view, and a linear constraint must be added together with this to enforce
       enforcement => start_view + size_view == end_view. An enforcement =>
       size_view >=0 might also be needed.
       IMPORTANT: For now, we just support affine relation. We could easily
       create an intermediate variable to support full linear expression, but this
       isn't done currently.
       
      .operations_research.sat.LinearExpressionProto start_view = 4;
    • hasEndView

      boolean hasEndView()
      .operations_research.sat.LinearExpressionProto end_view = 5;
      Returns:
      Whether the endView field is set.
    • getEndView

      LinearExpressionProto getEndView()
      .operations_research.sat.LinearExpressionProto end_view = 5;
      Returns:
      The endView.
    • getEndViewOrBuilder

      LinearExpressionProtoOrBuilder getEndViewOrBuilder()
      .operations_research.sat.LinearExpressionProto end_view = 5;
    • hasSizeView

      boolean hasSizeView()
      .operations_research.sat.LinearExpressionProto size_view = 6;
      Returns:
      Whether the sizeView field is set.
    • getSizeView

      LinearExpressionProto getSizeView()
      .operations_research.sat.LinearExpressionProto size_view = 6;
      Returns:
      The sizeView.
    • getSizeViewOrBuilder

      LinearExpressionProtoOrBuilder getSizeViewOrBuilder()
      .operations_research.sat.LinearExpressionProto size_view = 6;