Java Reference

Java Reference

Detailed Description

The two arrays of variable each represent a function, the second is the
inverse of the first: f_direct[i] == j <=> f_inverse[j] == i.

Protobuf type

operations_research.sat.InverseConstraintProto

Definition at line 402 of file InverseConstraintProto.java.

Public Member Functions

.lang.Override Builder clear ()
 
.lang.Override com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
 
.lang.Override com.google.ortools.sat.InverseConstraintProto getDefaultInstanceForType ()
 
.lang.Override com.google.ortools.sat.InverseConstraintProto build ()
 
.lang.Override com.google.ortools.sat.InverseConstraintProto buildPartial ()
 
.lang.Override Builder clone ()
 
.lang.Override Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
 
.lang.Override Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
 
.lang.Override Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
 
.lang.Override Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
 
.lang.Override Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
 
.lang.Override Builder mergeFrom (com.google.protobuf.Message other)
 
Builder mergeFrom (com.google.ortools.sat.InverseConstraintProto other)
 
.lang.Override final boolean isInitialized ()
 
.lang.Override Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
java.util.List< java.lang.Integer > getFDirectList ()
 repeated int32 f_direct = 1; More...
 
int getFDirectCount ()
 repeated int32 f_direct = 1; More...
 
int getFDirect (int index)
 repeated int32 f_direct = 1; More...
 
Builder setFDirect (int index, int value)
 repeated int32 f_direct = 1; More...
 
Builder addFDirect (int value)
 repeated int32 f_direct = 1; More...
 
Builder addAllFDirect (java.lang.Iterable<? extends java.lang.Integer > values)
 repeated int32 f_direct = 1; More...
 
Builder clearFDirect ()
 repeated int32 f_direct = 1; More...
 
java.util.List< java.lang.Integer > getFInverseList ()
 repeated int32 f_inverse = 2; More...
 
int getFInverseCount ()
 repeated int32 f_inverse = 2; More...
 
int getFInverse (int index)
 repeated int32 f_inverse = 2; More...
 
Builder setFInverse (int index, int value)
 repeated int32 f_inverse = 2; More...
 
Builder addFInverse (int value)
 repeated int32 f_inverse = 2; More...
 
Builder addAllFInverse (java.lang.Iterable<? extends java.lang.Integer > values)
 repeated int32 f_inverse = 2; More...
 
Builder clearFInverse ()
 repeated int32 f_inverse = 2; More...
 
.lang.Override final Builder setUnknownFields (final com.google.protobuf.UnknownFieldSet unknownFields)
 
.lang.Override final Builder mergeUnknownFields (final com.google.protobuf.UnknownFieldSet unknownFields)
 

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 

Protected Member Functions

.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ()
 

Member Function Documentation

◆ addAllFDirect()

Builder addAllFDirect ( java.lang.Iterable<? extends java.lang.Integer >  values)

repeated int32 f_direct = 1;

Parameters
valuesThe fDirect to add.
Returns
This builder for chaining.

Definition at line 636 of file InverseConstraintProto.java.

◆ addAllFInverse()

Builder addAllFInverse ( java.lang.Iterable<? extends java.lang.Integer >  values)

repeated int32 f_inverse = 2;

Parameters
valuesThe fInverse to add.
Returns
This builder for chaining.

Definition at line 715 of file InverseConstraintProto.java.

◆ addFDirect()

Builder addFDirect ( int  value)

repeated int32 f_direct = 1;

Parameters
valueThe fDirect to add.
Returns
This builder for chaining.

Definition at line 625 of file InverseConstraintProto.java.

◆ addFInverse()

Builder addFInverse ( int  value)

repeated int32 f_inverse = 2;

Parameters
valueThe fInverse to add.
Returns
This builder for chaining.

Definition at line 704 of file InverseConstraintProto.java.

◆ addRepeatedField()

.lang.Override Builder addRepeatedField ( com.google.protobuf.Descriptors.FieldDescriptor  field,
java.lang.Object  value 
)

Definition at line 509 of file InverseConstraintProto.java.

◆ build()

Definition at line 456 of file InverseConstraintProto.java.

◆ buildPartial()

.lang.Override com.google.ortools.sat.InverseConstraintProto buildPartial ( )

Definition at line 465 of file InverseConstraintProto.java.

◆ clear()

.lang.Override Builder clear ( )

Definition at line 435 of file InverseConstraintProto.java.

◆ clearFDirect()

Builder clearFDirect ( )

repeated int32 f_direct = 1;

Returns
This builder for chaining.

Definition at line 648 of file InverseConstraintProto.java.

◆ clearField()

.lang.Override Builder clearField ( com.google.protobuf.Descriptors.FieldDescriptor  field)

Definition at line 493 of file InverseConstraintProto.java.

◆ clearFInverse()

Builder clearFInverse ( )

repeated int32 f_inverse = 2;

Returns
This builder for chaining.

Definition at line 727 of file InverseConstraintProto.java.

◆ clearOneof()

.lang.Override Builder clearOneof ( com.google.protobuf.Descriptors.OneofDescriptor  oneof)

Definition at line 498 of file InverseConstraintProto.java.

◆ clone()

.lang.Override Builder clone ( )

Definition at line 483 of file InverseConstraintProto.java.

◆ getDefaultInstanceForType()

.lang.Override com.google.ortools.sat.InverseConstraintProto getDefaultInstanceForType ( )

Definition at line 451 of file InverseConstraintProto.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ( )
static

Definition at line 407 of file InverseConstraintProto.java.

◆ getDescriptorForType()

.lang.Override com.google.protobuf.Descriptors.Descriptor getDescriptorForType ( )

Definition at line 446 of file InverseConstraintProto.java.

◆ getFDirect()

int getFDirect ( int  index)

repeated int32 f_direct = 1;

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

Implements InverseConstraintProtoOrBuilder.

Definition at line 604 of file InverseConstraintProto.java.

◆ getFDirectCount()

int getFDirectCount ( )

repeated int32 f_direct = 1;

Returns
The count of fDirect.

Implements InverseConstraintProtoOrBuilder.

Definition at line 596 of file InverseConstraintProto.java.

◆ getFDirectList()

java.util.List<java.lang.Integer> getFDirectList ( )

repeated int32 f_direct = 1;

Returns
A list containing the fDirect.

Implements InverseConstraintProtoOrBuilder.

Definition at line 588 of file InverseConstraintProto.java.

◆ getFInverse()

int getFInverse ( int  index)

repeated int32 f_inverse = 2;

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

Implements InverseConstraintProtoOrBuilder.

Definition at line 683 of file InverseConstraintProto.java.

◆ getFInverseCount()

int getFInverseCount ( )

repeated int32 f_inverse = 2;

Returns
The count of fInverse.

Implements InverseConstraintProtoOrBuilder.

Definition at line 675 of file InverseConstraintProto.java.

◆ getFInverseList()

java.util.List<java.lang.Integer> getFInverseList ( )

repeated int32 f_inverse = 2;

Returns
A list containing the fInverse.

Implements InverseConstraintProtoOrBuilder.

Definition at line 667 of file InverseConstraintProto.java.

◆ internalGetFieldAccessorTable()

.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ( )
protected

Definition at line 413 of file InverseConstraintProto.java.

◆ isInitialized()

.lang.Override final boolean isInitialized ( )

Definition at line 552 of file InverseConstraintProto.java.

◆ mergeFrom() [1/3]

◆ mergeFrom() [2/3]

.lang.Override Builder mergeFrom ( com.google.protobuf.CodedInputStream  input,
com.google.protobuf.ExtensionRegistryLite  extensionRegistry 
) throws java.io.IOException

Definition at line 557 of file InverseConstraintProto.java.

◆ mergeFrom() [3/3]

.lang.Override Builder mergeFrom ( com.google.protobuf.Message  other)

Definition at line 515 of file InverseConstraintProto.java.

◆ mergeUnknownFields()

.lang.Override final Builder mergeUnknownFields ( final com.google.protobuf.UnknownFieldSet  unknownFields)

Definition at line 740 of file InverseConstraintProto.java.

◆ setFDirect()

Builder setFDirect ( int  index,
int  value 
)

repeated int32 f_direct = 1;

Parameters
indexThe index to set the value at.
valueThe fDirect to set.
Returns
This builder for chaining.

Definition at line 613 of file InverseConstraintProto.java.

◆ setField()

.lang.Override Builder setField ( com.google.protobuf.Descriptors.FieldDescriptor  field,
java.lang.Object  value 
)

Definition at line 487 of file InverseConstraintProto.java.

◆ setFInverse()

Builder setFInverse ( int  index,
int  value 
)

repeated int32 f_inverse = 2;

Parameters
indexThe index to set the value at.
valueThe fInverse to set.
Returns
This builder for chaining.

Definition at line 692 of file InverseConstraintProto.java.

◆ setRepeatedField()

.lang.Override Builder setRepeatedField ( com.google.protobuf.Descriptors.FieldDescriptor  field,
int  index,
java.lang.Object  value 
)

Definition at line 503 of file InverseConstraintProto.java.

◆ setUnknownFields()

.lang.Override final Builder setUnknownFields ( final com.google.protobuf.UnknownFieldSet  unknownFields)

Definition at line 734 of file InverseConstraintProto.java.


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