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

Public Member Functions

java.util.List< java.lang.Integer > getVarIndexList ()
 
int getVarIndexCount ()
 
int getVarIndex (int index)
 
java.util.List< java.lang.Double > getVarValueList ()
 
int getVarValueCount ()
 
double getVarValue (int index)
 

Detailed Description

Definition at line 7 of file PartialVariableAssignmentOrBuilder.java.

Member Function Documentation

◆ getVarIndex()

int com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.getVarIndex ( int index)

repeated int32 var_index = 1 [packed = true];

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

Implemented in com.google.ortools.linearsolver.PartialVariableAssignment.Builder, and com.google.ortools.linearsolver.PartialVariableAssignment.

◆ getVarIndexCount()

int com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.getVarIndexCount ( )

repeated int32 var_index = 1 [packed = true];

Returns
The count of varIndex.

Implemented in com.google.ortools.linearsolver.PartialVariableAssignment.Builder, and com.google.ortools.linearsolver.PartialVariableAssignment.

◆ getVarIndexList()

java.util.List< java.lang.Integer > com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.getVarIndexList ( )

repeated int32 var_index = 1 [packed = true];

Returns
A list containing the varIndex.

Implemented in com.google.ortools.linearsolver.PartialVariableAssignment.Builder, and com.google.ortools.linearsolver.PartialVariableAssignment.

◆ getVarValue()

double com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.getVarValue ( int index)

repeated double var_value = 2 [packed = true];

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

Implemented in com.google.ortools.linearsolver.PartialVariableAssignment.Builder, and com.google.ortools.linearsolver.PartialVariableAssignment.

◆ getVarValueCount()

int com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.getVarValueCount ( )

repeated double var_value = 2 [packed = true];

Returns
The count of varValue.

Implemented in com.google.ortools.linearsolver.PartialVariableAssignment.Builder, and com.google.ortools.linearsolver.PartialVariableAssignment.

◆ getVarValueList()

java.util.List< java.lang.Double > com.google.ortools.linearsolver.PartialVariableAssignmentOrBuilder.getVarValueList ( )

repeated double var_value = 2 [packed = true];

Returns
A list containing the varValue.

Implemented in com.google.ortools.linearsolver.PartialVariableAssignment.Builder, and com.google.ortools.linearsolver.PartialVariableAssignment.


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