public final class ConstraintSolverParameters extends com.google.protobuf.GeneratedMessage implements ConstraintSolverParametersOrBuilder
Solver parameters.Protobuf type
operations_research.ConstraintSolverParameters
Modifier and Type | Class and Description |
---|---|
static class |
ConstraintSolverParameters.Builder
Solver parameters.
|
static class |
ConstraintSolverParameters.TrailCompression
Internal parameters of the solver.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getArraySplitSize()
When a sum/min/max operation is applied on a large array, this
array is recursively split into blocks of size 'array_split_size'.
|
int |
getCheckSolutionPeriod()
Control the behavior of local search.
|
ConstraintSolverParameters.TrailCompression |
getCompressTrail()
This parameter indicates if the solver should compress the trail
during the search.
|
int |
getCompressTrailValue()
This parameter indicates if the solver should compress the trail
during the search.
|
static ConstraintSolverParameters |
getDefaultInstance() |
ConstraintSolverParameters |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getDiffnUseCumulative()
Control the propagation of the diffn constraint.
|
boolean |
getDisableSolve()
bool disable_solve = 15; |
int |
getMaxEdgeFinderSize()
int32 max_edge_finder_size = 109; |
boolean |
getNameAllVariables()
Should anonymous variables be given a name.
|
boolean |
getNameCastVariables()
Create names for cast variables.
|
com.google.protobuf.Parser<ConstraintSolverParameters> |
getParserForType() |
boolean |
getPrintAddedConstraints()
Print added constraints.
|
boolean |
getPrintLocalSearchProfile()
Print local search profiling data after solving.
|
boolean |
getPrintModel()
Print the model before solving.
|
boolean |
getPrintModelStats()
Print model statistics before solving.
|
java.lang.String |
getProfileFile()
Export propagation profiling data to file.
|
com.google.protobuf.ByteString |
getProfileFileBytes()
Export propagation profiling data to file.
|
boolean |
getProfileLocalSearch()
Activate local search profiling.
|
boolean |
getProfilePropagation()
Activate propagation profiling.
|
int |
getSerializedSize() |
boolean |
getSkipLocallyOptimalPaths()
Skip locally optimal pairs of paths in PathOperators.
|
boolean |
getStoreNames()
This parameters indicates if the solver should store the names of
the objets it manages.
|
boolean |
getTracePropagation()
Activate propagate tracing.
|
boolean |
getTraceSearch()
Trace search.
|
int |
getTrailBlockSize()
This parameter indicates the default size of a block of the trail.
|
boolean |
getUseAllPossibleDisjunctions()
bool use_all_possible_disjunctions = 108; |
boolean |
getUseCumulativeEdgeFinder()
Control the propagation of the cumulative constraint.
|
boolean |
getUseCumulativeTimeTable()
bool use_cumulative_time_table = 106; |
boolean |
getUseCumulativeTimeTableSync()
bool use_cumulative_time_table_sync = 112; |
boolean |
getUseElementRmq()
Control the implementation of the element constraint.
|
boolean |
getUseSequenceHighDemandTasks()
bool use_sequence_high_demand_tasks = 107; |
boolean |
getUseSmallTable()
Control the implementation of the table constraint.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ConstraintSolverParameters.Builder |
newBuilder() |
static ConstraintSolverParameters.Builder |
newBuilder(ConstraintSolverParameters prototype) |
ConstraintSolverParameters.Builder |
newBuilderForType() |
protected ConstraintSolverParameters.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static ConstraintSolverParameters |
parseDelimitedFrom(java.io.InputStream input) |
static ConstraintSolverParameters |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConstraintSolverParameters |
parseFrom(byte[] data) |
static ConstraintSolverParameters |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConstraintSolverParameters |
parseFrom(java.nio.ByteBuffer data) |
static ConstraintSolverParameters |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConstraintSolverParameters |
parseFrom(com.google.protobuf.ByteString data) |
static ConstraintSolverParameters |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConstraintSolverParameters |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ConstraintSolverParameters |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConstraintSolverParameters |
parseFrom(java.io.InputStream input) |
static ConstraintSolverParameters |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ConstraintSolverParameters> |
parser() |
ConstraintSolverParameters.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int COMPRESS_TRAIL_FIELD_NUMBER
public static final int TRAIL_BLOCK_SIZE_FIELD_NUMBER
public static final int ARRAY_SPLIT_SIZE_FIELD_NUMBER
public static final int STORE_NAMES_FIELD_NUMBER
public static final int NAME_CAST_VARIABLES_FIELD_NUMBER
public static final int NAME_ALL_VARIABLES_FIELD_NUMBER
public static final int PROFILE_PROPAGATION_FIELD_NUMBER
public static final int PROFILE_FILE_FIELD_NUMBER
public static final int PROFILE_LOCAL_SEARCH_FIELD_NUMBER
public static final int PRINT_LOCAL_SEARCH_PROFILE_FIELD_NUMBER
public static final int TRACE_PROPAGATION_FIELD_NUMBER
public static final int TRACE_SEARCH_FIELD_NUMBER
public static final int PRINT_MODEL_FIELD_NUMBER
public static final int PRINT_MODEL_STATS_FIELD_NUMBER
public static final int PRINT_ADDED_CONSTRAINTS_FIELD_NUMBER
public static final int DISABLE_SOLVE_FIELD_NUMBER
public static final int USE_SMALL_TABLE_FIELD_NUMBER
public static final int USE_CUMULATIVE_EDGE_FINDER_FIELD_NUMBER
public static final int USE_CUMULATIVE_TIME_TABLE_FIELD_NUMBER
public static final int USE_CUMULATIVE_TIME_TABLE_SYNC_FIELD_NUMBER
public static final int USE_SEQUENCE_HIGH_DEMAND_TASKS_FIELD_NUMBER
public static final int USE_ALL_POSSIBLE_DISJUNCTIONS_FIELD_NUMBER
public static final int MAX_EDGE_FINDER_SIZE_FIELD_NUMBER
public static final int DIFFN_USE_CUMULATIVE_FIELD_NUMBER
public static final int USE_ELEMENT_RMQ_FIELD_NUMBER
public static final int SKIP_LOCALLY_OPTIMAL_PATHS_FIELD_NUMBER
public static final int CHECK_SOLUTION_PERIOD_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public int getCompressTrailValue()
This parameter indicates if the solver should compress the trail during the search. No compression means that the solver will be faster, but will use more memory.
.operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
getCompressTrailValue
in interface ConstraintSolverParametersOrBuilder
public ConstraintSolverParameters.TrailCompression getCompressTrail()
This parameter indicates if the solver should compress the trail during the search. No compression means that the solver will be faster, but will use more memory.
.operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
getCompressTrail
in interface ConstraintSolverParametersOrBuilder
public int getTrailBlockSize()
This parameter indicates the default size of a block of the trail. Compression applies at the block level.
int32 trail_block_size = 2;
getTrailBlockSize
in interface ConstraintSolverParametersOrBuilder
public int getArraySplitSize()
When a sum/min/max operation is applied on a large array, this array is recursively split into blocks of size 'array_split_size'.
int32 array_split_size = 3;
getArraySplitSize
in interface ConstraintSolverParametersOrBuilder
public boolean getStoreNames()
This parameters indicates if the solver should store the names of the objets it manages.
bool store_names = 4;
getStoreNames
in interface ConstraintSolverParametersOrBuilder
public boolean getNameCastVariables()
Create names for cast variables.
bool name_cast_variables = 5;
getNameCastVariables
in interface ConstraintSolverParametersOrBuilder
public boolean getNameAllVariables()
Should anonymous variables be given a name.
bool name_all_variables = 6;
getNameAllVariables
in interface ConstraintSolverParametersOrBuilder
public boolean getProfilePropagation()
Activate propagation profiling.
bool profile_propagation = 7;
getProfilePropagation
in interface ConstraintSolverParametersOrBuilder
public java.lang.String getProfileFile()
Export propagation profiling data to file.
string profile_file = 8;
getProfileFile
in interface ConstraintSolverParametersOrBuilder
public com.google.protobuf.ByteString getProfileFileBytes()
Export propagation profiling data to file.
string profile_file = 8;
getProfileFileBytes
in interface ConstraintSolverParametersOrBuilder
public boolean getProfileLocalSearch()
Activate local search profiling.
bool profile_local_search = 16;
getProfileLocalSearch
in interface ConstraintSolverParametersOrBuilder
public boolean getPrintLocalSearchProfile()
Print local search profiling data after solving.
bool print_local_search_profile = 17;
getPrintLocalSearchProfile
in interface ConstraintSolverParametersOrBuilder
public boolean getTracePropagation()
Activate propagate tracing.
bool trace_propagation = 9;
getTracePropagation
in interface ConstraintSolverParametersOrBuilder
public boolean getTraceSearch()
Trace search.
bool trace_search = 10;
getTraceSearch
in interface ConstraintSolverParametersOrBuilder
public boolean getPrintModel()
Print the model before solving.
bool print_model = 11;
getPrintModel
in interface ConstraintSolverParametersOrBuilder
public boolean getPrintModelStats()
Print model statistics before solving.
bool print_model_stats = 12;
getPrintModelStats
in interface ConstraintSolverParametersOrBuilder
public boolean getPrintAddedConstraints()
Print added constraints.
bool print_added_constraints = 13;
getPrintAddedConstraints
in interface ConstraintSolverParametersOrBuilder
public boolean getDisableSolve()
bool disable_solve = 15;
getDisableSolve
in interface ConstraintSolverParametersOrBuilder
public boolean getUseSmallTable()
Control the implementation of the table constraint.
bool use_small_table = 101;
getUseSmallTable
in interface ConstraintSolverParametersOrBuilder
public boolean getUseCumulativeEdgeFinder()
Control the propagation of the cumulative constraint.
bool use_cumulative_edge_finder = 105;
getUseCumulativeEdgeFinder
in interface ConstraintSolverParametersOrBuilder
public boolean getUseCumulativeTimeTable()
bool use_cumulative_time_table = 106;
getUseCumulativeTimeTable
in interface ConstraintSolverParametersOrBuilder
public boolean getUseCumulativeTimeTableSync()
bool use_cumulative_time_table_sync = 112;
getUseCumulativeTimeTableSync
in interface ConstraintSolverParametersOrBuilder
public boolean getUseSequenceHighDemandTasks()
bool use_sequence_high_demand_tasks = 107;
getUseSequenceHighDemandTasks
in interface ConstraintSolverParametersOrBuilder
public boolean getUseAllPossibleDisjunctions()
bool use_all_possible_disjunctions = 108;
getUseAllPossibleDisjunctions
in interface ConstraintSolverParametersOrBuilder
public int getMaxEdgeFinderSize()
int32 max_edge_finder_size = 109;
getMaxEdgeFinderSize
in interface ConstraintSolverParametersOrBuilder
public boolean getDiffnUseCumulative()
Control the propagation of the diffn constraint.
bool diffn_use_cumulative = 110;
getDiffnUseCumulative
in interface ConstraintSolverParametersOrBuilder
public boolean getUseElementRmq()
Control the implementation of the element constraint.
bool use_element_rmq = 111;
getUseElementRmq
in interface ConstraintSolverParametersOrBuilder
public boolean getSkipLocallyOptimalPaths()
Skip locally optimal pairs of paths in PathOperators. Setting this parameter to true might skip valid neighbors if there are constraints linking paths together (such as precedences). In any other case this should only speed up the search without omitting any neighbors.
bool skip_locally_optimal_paths = 113;
getSkipLocallyOptimalPaths
in interface ConstraintSolverParametersOrBuilder
public int getCheckSolutionPeriod()
Control the behavior of local search.
int32 check_solution_period = 114;
getCheckSolutionPeriod
in interface ConstraintSolverParametersOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessage
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ConstraintSolverParameters parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ConstraintSolverParameters parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ConstraintSolverParameters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ConstraintSolverParameters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ConstraintSolverParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ConstraintSolverParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ConstraintSolverParameters parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ConstraintSolverParameters parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ConstraintSolverParameters parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ConstraintSolverParameters parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ConstraintSolverParameters parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ConstraintSolverParameters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public ConstraintSolverParameters.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ConstraintSolverParameters.Builder newBuilder()
public static ConstraintSolverParameters.Builder newBuilder(ConstraintSolverParameters prototype)
public ConstraintSolverParameters.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ConstraintSolverParameters.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.AbstractMessage
public static ConstraintSolverParameters getDefaultInstance()
public static com.google.protobuf.Parser<ConstraintSolverParameters> parser()
public com.google.protobuf.Parser<ConstraintSolverParameters> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public ConstraintSolverParameters getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2025. All rights reserved.