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 
4 package com.google.ortools.linearsolver;
5 
6 public interface MPSosConstraintOrBuilder extends
7  // @@protoc_insertion_point(interface_extends:operations_research.MPSosConstraint)
8  com.google.protobuf.MessageOrBuilder {
9 
14  boolean hasType();
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 }
double getWeight(int index)
int getVarIndex(int index)
java.util.List< java.lang.Double > getWeightList()
int getWeightCount()
com.google.ortools.linearsolver.MPSosConstraint.Type getType()
optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];
Protobuf enum.
int getVarIndexCount()
java.util.List< java.lang.Integer > getVarIndexList()
boolean hasType()
optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];