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

Public Member Functions

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

Detailed Description

Definition at line 7 of file ElementConstraintProtoOrBuilder.java.

Member Function Documentation

◆ getIndex()

int com.google.ortools.sat.ElementConstraintProtoOrBuilder.getIndex ( )

◆ getTarget()

int com.google.ortools.sat.ElementConstraintProtoOrBuilder.getTarget ( )

◆ getVars()

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

repeated int32 vars = 3;

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

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

◆ getVarsCount()

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

repeated int32 vars = 3;

Returns
The count of vars.

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

◆ getVarsList()

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

repeated int32 vars = 3;

Returns
A list containing the vars.

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


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