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

Public Member Functions

java.util.List< java.lang.Integer > getVarsList ()
 
int getVarsCount ()
 
int getVars (int index)
 
java.util.List< java.lang.Long > getValuesList ()
 
int getValuesCount ()
 
long getValues (int index)
 
boolean getNegated ()
 

Detailed Description

Definition at line 7 of file TableConstraintProtoOrBuilder.java.

Member Function Documentation

◆ getNegated()

boolean com.google.ortools.sat.TableConstraintProtoOrBuilder.getNegated ( )
If true, the meaning is "negated", that is we forbid any of the given
tuple from a feasible assignment.

bool negated = 3;

Returns
The negated.

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

◆ getValues()

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

repeated int64 values = 2;

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

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

◆ getValuesCount()

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

repeated int64 values = 2;

Returns
The count of values.

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

◆ getValuesList()

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

repeated int64 values = 2;

Returns
A list containing the values.

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

◆ getVars()

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

repeated int32 vars = 1;

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

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

◆ getVarsCount()

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

repeated int32 vars = 1;

Returns
The count of vars.

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

◆ getVarsList()

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

repeated int32 vars = 1;

Returns
A list containing the vars.

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


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