Class CumulativeConstraintProto.Builder

  • All Implemented Interfaces:
    CumulativeConstraintProtoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    CumulativeConstraintProto

    public static final class CumulativeConstraintProto.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<CumulativeConstraintProto.Builder>
    implements CumulativeConstraintProtoOrBuilder
     The sum of the demands of the intervals at each interval point cannot exceed
     a capacity. Note that intervals are interpreted as [start, end) and as
     such intervals like [2,3) and [3,4) do not overlap for the point of view of
     this constraint. Moreover, intervals of size zero are ignored.
    
     All demands must not contain any negative value in their domains. This is
     checked at validation. The capacity can currently contains negative values,
     but it will be propagated to >= 0 right away.
     
    Protobuf type operations_research.sat.CumulativeConstraintProto