Java Reference

Java Reference

MPSosConstraintOrBuilder.java
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/linear_solver/linear_solver.proto
3
4package com.google.ortools.linearsolver;
5
6public interface MPSosConstraintOrBuilder extends
7 // @@protoc_insertion_point(interface_extends:operations_research.MPSosConstraint)
8 com.google.protobuf.MessageOrBuilder {
9
14 boolean hasType();
19 com.google.ortools.linearsolver.MPSosConstraint.Type getType();
20
30 java.util.List<java.lang.Integer> getVarIndexList();
51 int getVarIndex(int index);
52
70 java.util.List<java.lang.Double> getWeightList();
107 double getWeight(int index);
108}
java.util.List< java.lang.Double > getWeightList()
com.google.ortools.linearsolver.MPSosConstraint.Type getType()
optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];
java.util.List< java.lang.Integer > getVarIndexList()
boolean hasType()
optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];