Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
Builder | clear () |
com.google.protobuf.Descriptors.Descriptor | getDescriptorForType () |
com.google.ortools.sat.BooleanAssignment | getDefaultInstanceForType () |
com.google.ortools.sat.BooleanAssignment | build () |
com.google.ortools.sat.BooleanAssignment | buildPartial () |
Builder | mergeFrom (com.google.protobuf.Message other) |
Builder | mergeFrom (com.google.ortools.sat.BooleanAssignment other) |
final boolean | isInitialized () |
Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
java.util.List< java.lang.Integer > | getLiteralsList () |
int | getLiteralsCount () |
int | getLiterals (int index) |
Builder | setLiterals (int index, int value) |
Builder | addLiterals (int value) |
Builder | addAllLiterals (java.lang.Iterable<? extends java.lang.Integer > values) |
Builder | clearLiterals () |
Public Member Functions inherited from com.google.ortools.sat.BooleanAssignmentOrBuilder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Stores an assignment of variables as a list of true literals using their signed representation. There will be at most one literal per variable. The literals will be sorted by increasing variable index. The assignment may be partial in the sense that some variables may not appear and thus not be assigned.
Protobuf type operations_research.sat.BooleanAssignment
Definition at line 257 of file BooleanAssignment.java.
Builder com.google.ortools.sat.BooleanAssignment.Builder.addAllLiterals | ( | java.lang.Iterable<? extends java.lang.Integer > | values | ) |
repeated int32 literals = 1;
values | The literals to add. |
Definition at line 474 of file BooleanAssignment.java.
Builder com.google.ortools.sat.BooleanAssignment.Builder.addLiterals | ( | int | value | ) |
repeated int32 literals = 1;
value | The literals to add. |
Definition at line 461 of file BooleanAssignment.java.
com.google.ortools.sat.BooleanAssignment com.google.ortools.sat.BooleanAssignment.Builder.build | ( | ) |
Definition at line 304 of file BooleanAssignment.java.
com.google.ortools.sat.BooleanAssignment com.google.ortools.sat.BooleanAssignment.Builder.buildPartial | ( | ) |
Definition at line 313 of file BooleanAssignment.java.
Builder com.google.ortools.sat.BooleanAssignment.Builder.clear | ( | ) |
Definition at line 285 of file BooleanAssignment.java.
Builder com.google.ortools.sat.BooleanAssignment.Builder.clearLiterals | ( | ) |
repeated int32 literals = 1;
Definition at line 487 of file BooleanAssignment.java.
com.google.ortools.sat.BooleanAssignment com.google.ortools.sat.BooleanAssignment.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 299 of file BooleanAssignment.java.
|
static |
Definition at line 262 of file BooleanAssignment.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.BooleanAssignment.Builder.getDescriptorForType | ( | ) |
Definition at line 294 of file BooleanAssignment.java.
int com.google.ortools.sat.BooleanAssignment.Builder.getLiterals | ( | int | index | ) |
repeated int32 literals = 1;
index | The index of the element to return. |
Implements com.google.ortools.sat.BooleanAssignmentOrBuilder.
Definition at line 438 of file BooleanAssignment.java.
int com.google.ortools.sat.BooleanAssignment.Builder.getLiteralsCount | ( | ) |
repeated int32 literals = 1;
Implements com.google.ortools.sat.BooleanAssignmentOrBuilder.
Definition at line 430 of file BooleanAssignment.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.BooleanAssignment.Builder.getLiteralsList | ( | ) |
repeated int32 literals = 1;
Implements com.google.ortools.sat.BooleanAssignmentOrBuilder.
Definition at line 422 of file BooleanAssignment.java.
|
protected |
Definition at line 268 of file BooleanAssignment.java.
final boolean com.google.ortools.sat.BooleanAssignment.Builder.isInitialized | ( | ) |
Definition at line 357 of file BooleanAssignment.java.
Builder com.google.ortools.sat.BooleanAssignment.Builder.mergeFrom | ( | com.google.ortools.sat.BooleanAssignment | other | ) |
Definition at line 338 of file BooleanAssignment.java.
Builder com.google.ortools.sat.BooleanAssignment.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 362 of file BooleanAssignment.java.
Builder com.google.ortools.sat.BooleanAssignment.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 329 of file BooleanAssignment.java.
Builder com.google.ortools.sat.BooleanAssignment.Builder.setLiterals | ( | int | index, |
int | value ) |
repeated int32 literals = 1;
index | The index to set the value at. |
value | The literals to set. |
Definition at line 447 of file BooleanAssignment.java.