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

Public Member Functions

java.util.List< java.lang.Long > getValuesList ()
 
int getValuesCount ()
 
long getValues (int index)
 

Detailed Description

Definition at line 7 of file CpSolverSolutionOrBuilder.java.

Member Function Documentation

◆ getValues()

long com.google.ortools.sat.CpSolverSolutionOrBuilder.getValues ( int index)

repeated int64 values = 1;

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

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

◆ getValuesCount()

int com.google.ortools.sat.CpSolverSolutionOrBuilder.getValuesCount ( )

repeated int64 values = 1;

Returns
The count of values.

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

◆ getValuesList()

java.util.List< java.lang.Long > com.google.ortools.sat.CpSolverSolutionOrBuilder.getValuesList ( )

repeated int64 values = 1;

Returns
A list containing the values.

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


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