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 
13  boolean hasType();
18 
27  java.util.List<java.lang.Integer> getVarIndexList();
36  int getVarIndexCount();
45  int getVarIndex(int index);
46 
63  java.util.List<java.lang.Double> getWeightList();
80  int getWeightCount();
97  double getWeight(int index);
98 }
boolean hasType()
optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];
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()