![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
java.util.List< java.lang.Integer > | getTailsList () |
int | getTailsCount () |
int | getTails (int index) |
java.util.List< java.lang.Integer > | getHeadsList () |
int | getHeadsCount () |
int | getHeads (int index) |
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< CircuitConstraintProto > | getParserForType () |
com.google.ortools.sat.CircuitConstraintProto | getDefaultInstanceForType () |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.sat.CircuitConstraintProto | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.CircuitConstraintProto | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.CircuitConstraintProto | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.CircuitConstraintProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.CircuitConstraintProto | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.CircuitConstraintProto | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.CircuitConstraintProto | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.CircuitConstraintProto | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.CircuitConstraintProto | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.CircuitConstraintProto | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.CircuitConstraintProto | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.sat.CircuitConstraintProto | 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.CircuitConstraintProto prototype) |
static com.google.ortools.sat.CircuitConstraintProto | getDefaultInstance () |
static com.google.protobuf.Parser< CircuitConstraintProto > | parser () |
Static Public Attributes | |
static final int | TAILS_FIELD_NUMBER = 3 |
static final int | HEADS_FIELD_NUMBER = 4 |
static final int | LITERALS_FIELD_NUMBER = 5 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
The circuit constraint is defined on a graph where the arc presence are controlled by literals. Each arc is given by an index in the tails/heads/literals lists that must have the same size. For now, we ignore node indices with no incident arc. All the other nodes must have exactly one incoming and one outgoing selected arc (i.e. literal at true). All the selected arcs that are not self-loops must form a single circuit. Note that multi-arcs are allowed, but only one of them will be true at the same time. Multi-self loop are disallowed though.
Protobuf type operations_research.sat.CircuitConstraintProto
Definition at line 23 of file CircuitConstraintProto.java.
boolean com.google.ortools.sat.CircuitConstraintProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 243 of file CircuitConstraintProto.java.
|
static |
Definition at line 871 of file CircuitConstraintProto.java.
com.google.ortools.sat.CircuitConstraintProto com.google.ortools.sat.CircuitConstraintProto.getDefaultInstanceForType | ( | ) |
Definition at line 907 of file CircuitConstraintProto.java.
|
static |
Definition at line 48 of file CircuitConstraintProto.java.
int com.google.ortools.sat.CircuitConstraintProto.getHeads | ( | int | index | ) |
repeated int32 heads = 4;
index | The index of the element to return. |
Implements com.google.ortools.sat.CircuitConstraintProtoOrBuilder.
Definition at line 115 of file CircuitConstraintProto.java.
int com.google.ortools.sat.CircuitConstraintProto.getHeadsCount | ( | ) |
repeated int32 heads = 4;
Implements com.google.ortools.sat.CircuitConstraintProtoOrBuilder.
Definition at line 107 of file CircuitConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.CircuitConstraintProto.getHeadsList | ( | ) |
repeated int32 heads = 4;
Implements com.google.ortools.sat.CircuitConstraintProtoOrBuilder.
Definition at line 100 of file CircuitConstraintProto.java.
int com.google.ortools.sat.CircuitConstraintProto.getLiterals | ( | int | index | ) |
repeated int32 literals = 5;
index | The index of the element to return. |
Implements com.google.ortools.sat.CircuitConstraintProtoOrBuilder.
Definition at line 145 of file CircuitConstraintProto.java.
int com.google.ortools.sat.CircuitConstraintProto.getLiteralsCount | ( | ) |
repeated int32 literals = 5;
Implements com.google.ortools.sat.CircuitConstraintProtoOrBuilder.
Definition at line 137 of file CircuitConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.CircuitConstraintProto.getLiteralsList | ( | ) |
repeated int32 literals = 5;
Implements com.google.ortools.sat.CircuitConstraintProtoOrBuilder.
Definition at line 130 of file CircuitConstraintProto.java.
com.google.protobuf.Parser< CircuitConstraintProto > com.google.ortools.sat.CircuitConstraintProto.getParserForType | ( | ) |
Definition at line 902 of file CircuitConstraintProto.java.
int com.google.ortools.sat.CircuitConstraintProto.getSerializedSize | ( | ) |
Definition at line 190 of file CircuitConstraintProto.java.
int com.google.ortools.sat.CircuitConstraintProto.getTails | ( | int | index | ) |
repeated int32 tails = 3;
index | The index of the element to return. |
Implements com.google.ortools.sat.CircuitConstraintProtoOrBuilder.
Definition at line 85 of file CircuitConstraintProto.java.
int com.google.ortools.sat.CircuitConstraintProto.getTailsCount | ( | ) |
repeated int32 tails = 3;
Implements com.google.ortools.sat.CircuitConstraintProtoOrBuilder.
Definition at line 77 of file CircuitConstraintProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.CircuitConstraintProto.getTailsList | ( | ) |
repeated int32 tails = 3;
Implements com.google.ortools.sat.CircuitConstraintProtoOrBuilder.
Definition at line 70 of file CircuitConstraintProto.java.
int com.google.ortools.sat.CircuitConstraintProto.hashCode | ( | ) |
Definition at line 263 of file CircuitConstraintProto.java.
|
protected |
Definition at line 54 of file CircuitConstraintProto.java.
final boolean com.google.ortools.sat.CircuitConstraintProto.isInitialized | ( | ) |
Definition at line 152 of file CircuitConstraintProto.java.
|
static |
Definition at line 360 of file CircuitConstraintProto.java.
|
static |
Definition at line 363 of file CircuitConstraintProto.java.
Builder com.google.ortools.sat.CircuitConstraintProto.newBuilderForType | ( | ) |
Definition at line 359 of file CircuitConstraintProto.java.
|
protected |
Definition at line 373 of file CircuitConstraintProto.java.
|
static |
Definition at line 331 of file CircuitConstraintProto.java.
|
static |
Definition at line 337 of file CircuitConstraintProto.java.
|
static |
Definition at line 308 of file CircuitConstraintProto.java.
|
static |
Definition at line 312 of file CircuitConstraintProto.java.
|
static |
Definition at line 297 of file CircuitConstraintProto.java.
|
static |
Definition at line 302 of file CircuitConstraintProto.java.
|
static |
Definition at line 344 of file CircuitConstraintProto.java.
|
static |
Definition at line 350 of file CircuitConstraintProto.java.
|
static |
Definition at line 318 of file CircuitConstraintProto.java.
|
static |
Definition at line 323 of file CircuitConstraintProto.java.
|
static |
Definition at line 286 of file CircuitConstraintProto.java.
|
static |
Definition at line 291 of file CircuitConstraintProto.java.
|
static |
Definition at line 897 of file CircuitConstraintProto.java.
Builder com.google.ortools.sat.CircuitConstraintProto.toBuilder | ( | ) |
Definition at line 367 of file CircuitConstraintProto.java.
void com.google.ortools.sat.CircuitConstraintProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 162 of file CircuitConstraintProto.java.
|
static |
Definition at line 90 of file CircuitConstraintProto.java.
|
static |
Definition at line 120 of file CircuitConstraintProto.java.
|
static |
Definition at line 60 of file CircuitConstraintProto.java.