com.google.ortools.sat.CumulativeConstraintProtoOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ortools/sat/cp_model.proto
package com.google.ortools.sat;
public interface CumulativeConstraintProtoOrBuilder extends
// @@protoc_insertion_point(interface_extends:operations_research.sat.CumulativeConstraintProto)
com.google.protobuf.MessageOrBuilder {
/**
* int32 capacity = 1;
* @return The capacity.
*/
int getCapacity();
/**
* repeated int32 intervals = 2;
* @return A list containing the intervals.
*/
java.util.List getIntervalsList();
/**
* repeated int32 intervals = 2;
* @return The count of intervals.
*/
int getIntervalsCount();
/**
* repeated int32 intervals = 2;
* @param index The index of the element to return.
* @return The intervals at the given index.
*/
int getIntervals(int index);
/**
*
* Same size as intervals.
*
*
* repeated int32 demands = 3;
* @return A list containing the demands.
*/
java.util.List getDemandsList();
/**
*
* Same size as intervals.
*
*
* repeated int32 demands = 3;
* @return The count of demands.
*/
int getDemandsCount();
/**
*
* Same size as intervals.
*
*
* repeated int32 demands = 3;
* @param index The index of the element to return.
* @return The demands at the given index.
*/
int getDemands(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy