Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.sat.ListOfVariablesProtoOrBuilder Interface Reference
Inheritance diagram for com.google.ortools.sat.ListOfVariablesProtoOrBuilder:
com.google.ortools.sat.ListOfVariablesProto com.google.ortools.sat.ListOfVariablesProto.Builder

Public Member Functions

java.util.List< java.lang.Integer > getVarsList ()
 
int getVarsCount ()
 
int getVars (int index)
 

Detailed Description

Definition at line 7 of file ListOfVariablesProtoOrBuilder.java.

Member Function Documentation

◆ getVars()

int com.google.ortools.sat.ListOfVariablesProtoOrBuilder.getVars ( int index)

repeated int32 vars = 1;

Parameters
indexThe index of the element to return.
Returns
The vars at the given index.

Implemented in com.google.ortools.sat.ListOfVariablesProto.Builder, and com.google.ortools.sat.ListOfVariablesProto.

◆ getVarsCount()

int com.google.ortools.sat.ListOfVariablesProtoOrBuilder.getVarsCount ( )

repeated int32 vars = 1;

Returns
The count of vars.

Implemented in com.google.ortools.sat.ListOfVariablesProto.Builder, and com.google.ortools.sat.ListOfVariablesProto.

◆ getVarsList()

java.util.List< java.lang.Integer > com.google.ortools.sat.ListOfVariablesProtoOrBuilder.getVarsList ( )

repeated int32 vars = 1;

Returns
A list containing the vars.

Implemented in com.google.ortools.sat.ListOfVariablesProto.Builder, and com.google.ortools.sat.ListOfVariablesProto.


The documentation for this interface was generated from the following file: