Google OR-Tools v9.9
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, and com.google.ortools.sat.ElementConstraintProto.Builder.

◆ getVarsCount()

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

repeated int32 vars = 3;

Returns
The count of vars.

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

◆ 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, and com.google.ortools.sat.ElementConstraintProto.Builder.


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