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

Public Member Functions

java.util.List< java.lang.Integer > getLiteralsList ()
 
int getLiteralsCount ()
 
int getLiterals (int index)
 

Detailed Description

Definition at line 7 of file BooleanAssignmentOrBuilder.java.

Member Function Documentation

◆ getLiterals()

int com.google.ortools.sat.BooleanAssignmentOrBuilder.getLiterals ( int index)

repeated int32 literals = 1;

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

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

◆ getLiteralsCount()

int com.google.ortools.sat.BooleanAssignmentOrBuilder.getLiteralsCount ( )

repeated int32 literals = 1;

Returns
The count of literals.

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

◆ getLiteralsList()

java.util.List< java.lang.Integer > com.google.ortools.sat.BooleanAssignmentOrBuilder.getLiteralsList ( )

repeated int32 literals = 1;

Returns
A list containing the literals.

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


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