Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
java.util.List< java.lang.Integer > | getLiteralsList () |
int | getLiteralsCount () |
int | getLiterals (int index) |
final boolean | isInitialized () |
void | writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException |
int | getSerializedSize () |
boolean | equals (final java.lang.Object obj) |
int | hashCode () |
Builder | newBuilderForType () |
Builder | toBuilder () |
com.google.protobuf.Parser< BooleanAssignment > | getParserForType () |
com.google.ortools.sat.BooleanAssignment | getDefaultInstanceForType () |
Public Member Functions inherited from com.google.ortools.sat.BooleanAssignmentOrBuilder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.sat.BooleanAssignment | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.BooleanAssignment | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.BooleanAssignment | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.BooleanAssignment | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.BooleanAssignment | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.BooleanAssignment | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.BooleanAssignment | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.BooleanAssignment | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.BooleanAssignment | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.BooleanAssignment | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.BooleanAssignment | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.sat.BooleanAssignment | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static Builder | newBuilder () |
static Builder | newBuilder (com.google.ortools.sat.BooleanAssignment prototype) |
static com.google.ortools.sat.BooleanAssignment | getDefaultInstance () |
static com.google.protobuf.Parser< BooleanAssignment > | parser () |
Static Public Attributes | |
static final int | LITERALS_FIELD_NUMBER = 1 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
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 18 of file BooleanAssignment.java.
boolean com.google.ortools.sat.BooleanAssignment.equals | ( | final java.lang.Object | obj | ) |
Definition at line 123 of file BooleanAssignment.java.
|
static |
Definition at line 503 of file BooleanAssignment.java.
com.google.ortools.sat.BooleanAssignment com.google.ortools.sat.BooleanAssignment.getDefaultInstanceForType | ( | ) |
Definition at line 539 of file BooleanAssignment.java.
|
static |
Definition at line 41 of file BooleanAssignment.java.
int com.google.ortools.sat.BooleanAssignment.getLiterals | ( | int | index | ) |
repeated int32 literals = 1;
index | The index of the element to return. |
Implements com.google.ortools.sat.BooleanAssignmentOrBuilder.
Definition at line 78 of file BooleanAssignment.java.
int com.google.ortools.sat.BooleanAssignment.getLiteralsCount | ( | ) |
repeated int32 literals = 1;
Implements com.google.ortools.sat.BooleanAssignmentOrBuilder.
Definition at line 70 of file BooleanAssignment.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.BooleanAssignment.getLiteralsList | ( | ) |
repeated int32 literals = 1;
Implements com.google.ortools.sat.BooleanAssignmentOrBuilder.
Definition at line 63 of file BooleanAssignment.java.
com.google.protobuf.Parser< BooleanAssignment > com.google.ortools.sat.BooleanAssignment.getParserForType | ( | ) |
Definition at line 534 of file BooleanAssignment.java.
int com.google.ortools.sat.BooleanAssignment.getSerializedSize | ( | ) |
Definition at line 103 of file BooleanAssignment.java.
int com.google.ortools.sat.BooleanAssignment.hashCode | ( | ) |
Definition at line 139 of file BooleanAssignment.java.
|
protected |
Definition at line 47 of file BooleanAssignment.java.
final boolean com.google.ortools.sat.BooleanAssignment.isInitialized | ( | ) |
Definition at line 84 of file BooleanAssignment.java.
|
static |
Definition at line 228 of file BooleanAssignment.java.
|
static |
Definition at line 231 of file BooleanAssignment.java.
Builder com.google.ortools.sat.BooleanAssignment.newBuilderForType | ( | ) |
Definition at line 227 of file BooleanAssignment.java.
|
protected |
Definition at line 241 of file BooleanAssignment.java.
|
static |
Definition at line 199 of file BooleanAssignment.java.
|
static |
Definition at line 205 of file BooleanAssignment.java.
|
static |
Definition at line 176 of file BooleanAssignment.java.
|
static |
Definition at line 180 of file BooleanAssignment.java.
|
static |
Definition at line 165 of file BooleanAssignment.java.
|
static |
Definition at line 170 of file BooleanAssignment.java.
|
static |
Definition at line 212 of file BooleanAssignment.java.
|
static |
Definition at line 218 of file BooleanAssignment.java.
|
static |
Definition at line 186 of file BooleanAssignment.java.
|
static |
Definition at line 191 of file BooleanAssignment.java.
|
static |
Definition at line 154 of file BooleanAssignment.java.
|
static |
Definition at line 159 of file BooleanAssignment.java.
|
static |
Definition at line 529 of file BooleanAssignment.java.
Builder com.google.ortools.sat.BooleanAssignment.toBuilder | ( | ) |
Definition at line 235 of file BooleanAssignment.java.
void com.google.ortools.sat.BooleanAssignment.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 94 of file BooleanAssignment.java.
|
static |
Definition at line 53 of file BooleanAssignment.java.