Class ConstraintSolverParameters.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ConstraintSolverParameters.Builder>
com.google.protobuf.GeneratedMessage.Builder<ConstraintSolverParameters.Builder>
com.google.ortools.constraintsolver.ConstraintSolverParameters.Builder
- All Implemented Interfaces:
ConstraintSolverParametersOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
ConstraintSolverParameters
public static final class ConstraintSolverParameters.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConstraintSolverParameters.Builder>
implements ConstraintSolverParametersOrBuilder
Solver parameters.Protobuf type
operations_research.ConstraintSolverParameters
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
When a sum/min/max operation is applied on a large array, this array is recursively split into blocks of size 'array_split_size'.Control the behavior of local search.This parameter indicates if the solver should compress the trail during the search.Control the propagation of the diffn constraint.bool disable_solve = 15;
int32 max_edge_finder_size = 109;
Should anonymous variables be given a name.Create names for cast variables.Print added constraints.Print local search profiling data after solving.Print the model before solving.Print model statistics before solving.Export propagation profiling data to file.Activate local search profiling.Activate propagation profiling.Skip locally optimal pairs of paths in PathOperators.This parameters indicates if the solver should store the names of the objets it manages.Activate propagate tracing.Trace search.This parameter indicates the default size of a block of the trail.bool use_all_possible_disjunctions = 108;
Control the propagation of the cumulative constraint.bool use_cumulative_time_table = 106;
bool use_cumulative_time_table_sync = 112;
Control the implementation of the element constraint.bool use_sequence_high_demand_tasks = 107;
Control the implementation of the table constraint.int
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
Control the behavior of local search.This parameter indicates if the solver should compress the trail during the search.int
This parameter indicates if the solver should compress the trail during the search.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
Control the propagation of the diffn constraint.boolean
bool disable_solve = 15;
int
int32 max_edge_finder_size = 109;
boolean
Should anonymous variables be given a name.boolean
Create names for cast variables.boolean
Print added constraints.boolean
Print local search profiling data after solving.boolean
Print the model before solving.boolean
Print model statistics before solving.Export propagation profiling data to file.com.google.protobuf.ByteString
Export propagation profiling data to file.boolean
Activate local search profiling.boolean
Activate propagation profiling.boolean
Skip locally optimal pairs of paths in PathOperators.boolean
This parameters indicates if the solver should store the names of the objets it manages.boolean
Activate propagate tracing.boolean
Trace search.int
This parameter indicates the default size of a block of the trail.boolean
bool use_all_possible_disjunctions = 108;
boolean
Control the propagation of the cumulative constraint.boolean
bool use_cumulative_time_table = 106;
boolean
bool use_cumulative_time_table_sync = 112;
boolean
Control the implementation of the element constraint.boolean
bool use_sequence_high_demand_tasks = 107;
boolean
Control the implementation of the table constraint.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) setArraySplitSize
(int value) When a sum/min/max operation is applied on a large array, this array is recursively split into blocks of size 'array_split_size'.setCheckSolutionPeriod
(int value) Control the behavior of local search.This parameter indicates if the solver should compress the trail during the search.setCompressTrailValue
(int value) This parameter indicates if the solver should compress the trail during the search.setDiffnUseCumulative
(boolean value) Control the propagation of the diffn constraint.setDisableSolve
(boolean value) bool disable_solve = 15;
setMaxEdgeFinderSize
(int value) int32 max_edge_finder_size = 109;
setNameAllVariables
(boolean value) Should anonymous variables be given a name.setNameCastVariables
(boolean value) Create names for cast variables.setPrintAddedConstraints
(boolean value) Print added constraints.setPrintLocalSearchProfile
(boolean value) Print local search profiling data after solving.setPrintModel
(boolean value) Print the model before solving.setPrintModelStats
(boolean value) Print model statistics before solving.setProfileFile
(String value) Export propagation profiling data to file.setProfileFileBytes
(com.google.protobuf.ByteString value) Export propagation profiling data to file.setProfileLocalSearch
(boolean value) Activate local search profiling.setProfilePropagation
(boolean value) Activate propagation profiling.setSkipLocallyOptimalPaths
(boolean value) Skip locally optimal pairs of paths in PathOperators.setStoreNames
(boolean value) This parameters indicates if the solver should store the names of the objets it manages.setTracePropagation
(boolean value) Activate propagate tracing.setTraceSearch
(boolean value) Trace search.setTrailBlockSize
(int value) This parameter indicates the default size of a block of the trail.setUseAllPossibleDisjunctions
(boolean value) bool use_all_possible_disjunctions = 108;
setUseCumulativeEdgeFinder
(boolean value) Control the propagation of the cumulative constraint.setUseCumulativeTimeTable
(boolean value) bool use_cumulative_time_table = 106;
setUseCumulativeTimeTableSync
(boolean value) bool use_cumulative_time_table_sync = 112;
setUseElementRmq
(boolean value) Control the implementation of the element constraint.setUseSequenceHighDemandTasks
(boolean value) bool use_sequence_high_demand_tasks = 107;
setUseSmallTable
(boolean value) Control the implementation of the table constraint.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<ConstraintSolverParameters.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<ConstraintSolverParameters.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<ConstraintSolverParameters.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConstraintSolverParameters.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ConstraintSolverParameters.Builder>
-
mergeFrom
public ConstraintSolverParameters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConstraintSolverParameters.Builder>
- Throws:
IOException
-
getCompressTrailValue
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;
- Specified by:
getCompressTrailValue
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The enum numeric value on the wire for compressTrail.
-
setCompressTrailValue
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;
- Parameters:
value
- The enum numeric value on the wire for compressTrail to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getCompressTrail
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The compressTrail.
-
setCompressTrail
public ConstraintSolverParameters.Builder setCompressTrail(ConstraintSolverParameters.TrailCompression value) 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;
- Parameters:
value
- The compressTrail to set.- Returns:
- This builder for chaining.
-
clearCompressTrail
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;
- Returns:
- This builder for chaining.
-
getTrailBlockSize
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;
- Specified by:
getTrailBlockSize
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The trailBlockSize.
-
setTrailBlockSize
This parameter indicates the default size of a block of the trail. Compression applies at the block level.
int32 trail_block_size = 2;
- Parameters:
value
- The trailBlockSize to set.- Returns:
- This builder for chaining.
-
clearTrailBlockSize
This parameter indicates the default size of a block of the trail. Compression applies at the block level.
int32 trail_block_size = 2;
- Returns:
- This builder for chaining.
-
getArraySplitSize
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;
- Specified by:
getArraySplitSize
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The arraySplitSize.
-
setArraySplitSize
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;
- Parameters:
value
- The arraySplitSize to set.- Returns:
- This builder for chaining.
-
clearArraySplitSize
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;
- Returns:
- This builder for chaining.
-
getStoreNames
public boolean getStoreNames()This parameters indicates if the solver should store the names of the objets it manages.
bool store_names = 4;
- Specified by:
getStoreNames
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The storeNames.
-
setStoreNames
This parameters indicates if the solver should store the names of the objets it manages.
bool store_names = 4;
- Parameters:
value
- The storeNames to set.- Returns:
- This builder for chaining.
-
clearStoreNames
This parameters indicates if the solver should store the names of the objets it manages.
bool store_names = 4;
- Returns:
- This builder for chaining.
-
getNameCastVariables
public boolean getNameCastVariables()Create names for cast variables.
bool name_cast_variables = 5;
- Specified by:
getNameCastVariables
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The nameCastVariables.
-
setNameCastVariables
Create names for cast variables.
bool name_cast_variables = 5;
- Parameters:
value
- The nameCastVariables to set.- Returns:
- This builder for chaining.
-
clearNameCastVariables
Create names for cast variables.
bool name_cast_variables = 5;
- Returns:
- This builder for chaining.
-
getNameAllVariables
public boolean getNameAllVariables()Should anonymous variables be given a name.
bool name_all_variables = 6;
- Specified by:
getNameAllVariables
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The nameAllVariables.
-
setNameAllVariables
Should anonymous variables be given a name.
bool name_all_variables = 6;
- Parameters:
value
- The nameAllVariables to set.- Returns:
- This builder for chaining.
-
clearNameAllVariables
Should anonymous variables be given a name.
bool name_all_variables = 6;
- Returns:
- This builder for chaining.
-
getProfilePropagation
public boolean getProfilePropagation()Activate propagation profiling.
bool profile_propagation = 7;
- Specified by:
getProfilePropagation
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The profilePropagation.
-
setProfilePropagation
Activate propagation profiling.
bool profile_propagation = 7;
- Parameters:
value
- The profilePropagation to set.- Returns:
- This builder for chaining.
-
clearProfilePropagation
Activate propagation profiling.
bool profile_propagation = 7;
- Returns:
- This builder for chaining.
-
getProfileFile
Export propagation profiling data to file.
string profile_file = 8;
- Specified by:
getProfileFile
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The profileFile.
-
getProfileFileBytes
public com.google.protobuf.ByteString getProfileFileBytes()Export propagation profiling data to file.
string profile_file = 8;
- Specified by:
getProfileFileBytes
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The bytes for profileFile.
-
setProfileFile
Export propagation profiling data to file.
string profile_file = 8;
- Parameters:
value
- The profileFile to set.- Returns:
- This builder for chaining.
-
clearProfileFile
Export propagation profiling data to file.
string profile_file = 8;
- Returns:
- This builder for chaining.
-
setProfileFileBytes
Export propagation profiling data to file.
string profile_file = 8;
- Parameters:
value
- The bytes for profileFile to set.- Returns:
- This builder for chaining.
-
getProfileLocalSearch
public boolean getProfileLocalSearch()Activate local search profiling.
bool profile_local_search = 16;
- Specified by:
getProfileLocalSearch
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The profileLocalSearch.
-
setProfileLocalSearch
Activate local search profiling.
bool profile_local_search = 16;
- Parameters:
value
- The profileLocalSearch to set.- Returns:
- This builder for chaining.
-
clearProfileLocalSearch
Activate local search profiling.
bool profile_local_search = 16;
- Returns:
- This builder for chaining.
-
getPrintLocalSearchProfile
public boolean getPrintLocalSearchProfile()Print local search profiling data after solving.
bool print_local_search_profile = 17;
- Specified by:
getPrintLocalSearchProfile
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The printLocalSearchProfile.
-
setPrintLocalSearchProfile
Print local search profiling data after solving.
bool print_local_search_profile = 17;
- Parameters:
value
- The printLocalSearchProfile to set.- Returns:
- This builder for chaining.
-
clearPrintLocalSearchProfile
Print local search profiling data after solving.
bool print_local_search_profile = 17;
- Returns:
- This builder for chaining.
-
getTracePropagation
public boolean getTracePropagation()Activate propagate tracing.
bool trace_propagation = 9;
- Specified by:
getTracePropagation
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The tracePropagation.
-
setTracePropagation
Activate propagate tracing.
bool trace_propagation = 9;
- Parameters:
value
- The tracePropagation to set.- Returns:
- This builder for chaining.
-
clearTracePropagation
Activate propagate tracing.
bool trace_propagation = 9;
- Returns:
- This builder for chaining.
-
getTraceSearch
public boolean getTraceSearch()Trace search.
bool trace_search = 10;
- Specified by:
getTraceSearch
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The traceSearch.
-
setTraceSearch
Trace search.
bool trace_search = 10;
- Parameters:
value
- The traceSearch to set.- Returns:
- This builder for chaining.
-
clearTraceSearch
Trace search.
bool trace_search = 10;
- Returns:
- This builder for chaining.
-
getPrintModel
public boolean getPrintModel()Print the model before solving.
bool print_model = 11;
- Specified by:
getPrintModel
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The printModel.
-
setPrintModel
Print the model before solving.
bool print_model = 11;
- Parameters:
value
- The printModel to set.- Returns:
- This builder for chaining.
-
clearPrintModel
Print the model before solving.
bool print_model = 11;
- Returns:
- This builder for chaining.
-
getPrintModelStats
public boolean getPrintModelStats()Print model statistics before solving.
bool print_model_stats = 12;
- Specified by:
getPrintModelStats
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The printModelStats.
-
setPrintModelStats
Print model statistics before solving.
bool print_model_stats = 12;
- Parameters:
value
- The printModelStats to set.- Returns:
- This builder for chaining.
-
clearPrintModelStats
Print model statistics before solving.
bool print_model_stats = 12;
- Returns:
- This builder for chaining.
-
getPrintAddedConstraints
public boolean getPrintAddedConstraints()Print added constraints.
bool print_added_constraints = 13;
- Specified by:
getPrintAddedConstraints
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The printAddedConstraints.
-
setPrintAddedConstraints
Print added constraints.
bool print_added_constraints = 13;
- Parameters:
value
- The printAddedConstraints to set.- Returns:
- This builder for chaining.
-
clearPrintAddedConstraints
Print added constraints.
bool print_added_constraints = 13;
- Returns:
- This builder for chaining.
-
getDisableSolve
public boolean getDisableSolve()bool disable_solve = 15;
- Specified by:
getDisableSolve
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The disableSolve.
-
setDisableSolve
bool disable_solve = 15;
- Parameters:
value
- The disableSolve to set.- Returns:
- This builder for chaining.
-
clearDisableSolve
bool disable_solve = 15;
- Returns:
- This builder for chaining.
-
getUseSmallTable
public boolean getUseSmallTable()Control the implementation of the table constraint.
bool use_small_table = 101;
- Specified by:
getUseSmallTable
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The useSmallTable.
-
setUseSmallTable
Control the implementation of the table constraint.
bool use_small_table = 101;
- Parameters:
value
- The useSmallTable to set.- Returns:
- This builder for chaining.
-
clearUseSmallTable
Control the implementation of the table constraint.
bool use_small_table = 101;
- Returns:
- This builder for chaining.
-
getUseCumulativeEdgeFinder
public boolean getUseCumulativeEdgeFinder()Control the propagation of the cumulative constraint.
bool use_cumulative_edge_finder = 105;
- Specified by:
getUseCumulativeEdgeFinder
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The useCumulativeEdgeFinder.
-
setUseCumulativeEdgeFinder
Control the propagation of the cumulative constraint.
bool use_cumulative_edge_finder = 105;
- Parameters:
value
- The useCumulativeEdgeFinder to set.- Returns:
- This builder for chaining.
-
clearUseCumulativeEdgeFinder
Control the propagation of the cumulative constraint.
bool use_cumulative_edge_finder = 105;
- Returns:
- This builder for chaining.
-
getUseCumulativeTimeTable
public boolean getUseCumulativeTimeTable()bool use_cumulative_time_table = 106;
- Specified by:
getUseCumulativeTimeTable
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The useCumulativeTimeTable.
-
setUseCumulativeTimeTable
bool use_cumulative_time_table = 106;
- Parameters:
value
- The useCumulativeTimeTable to set.- Returns:
- This builder for chaining.
-
clearUseCumulativeTimeTable
bool use_cumulative_time_table = 106;
- Returns:
- This builder for chaining.
-
getUseCumulativeTimeTableSync
public boolean getUseCumulativeTimeTableSync()bool use_cumulative_time_table_sync = 112;
- Specified by:
getUseCumulativeTimeTableSync
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The useCumulativeTimeTableSync.
-
setUseCumulativeTimeTableSync
bool use_cumulative_time_table_sync = 112;
- Parameters:
value
- The useCumulativeTimeTableSync to set.- Returns:
- This builder for chaining.
-
clearUseCumulativeTimeTableSync
bool use_cumulative_time_table_sync = 112;
- Returns:
- This builder for chaining.
-
getUseSequenceHighDemandTasks
public boolean getUseSequenceHighDemandTasks()bool use_sequence_high_demand_tasks = 107;
- Specified by:
getUseSequenceHighDemandTasks
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The useSequenceHighDemandTasks.
-
setUseSequenceHighDemandTasks
bool use_sequence_high_demand_tasks = 107;
- Parameters:
value
- The useSequenceHighDemandTasks to set.- Returns:
- This builder for chaining.
-
clearUseSequenceHighDemandTasks
bool use_sequence_high_demand_tasks = 107;
- Returns:
- This builder for chaining.
-
getUseAllPossibleDisjunctions
public boolean getUseAllPossibleDisjunctions()bool use_all_possible_disjunctions = 108;
- Specified by:
getUseAllPossibleDisjunctions
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The useAllPossibleDisjunctions.
-
setUseAllPossibleDisjunctions
bool use_all_possible_disjunctions = 108;
- Parameters:
value
- The useAllPossibleDisjunctions to set.- Returns:
- This builder for chaining.
-
clearUseAllPossibleDisjunctions
bool use_all_possible_disjunctions = 108;
- Returns:
- This builder for chaining.
-
getMaxEdgeFinderSize
public int getMaxEdgeFinderSize()int32 max_edge_finder_size = 109;
- Specified by:
getMaxEdgeFinderSize
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The maxEdgeFinderSize.
-
setMaxEdgeFinderSize
int32 max_edge_finder_size = 109;
- Parameters:
value
- The maxEdgeFinderSize to set.- Returns:
- This builder for chaining.
-
clearMaxEdgeFinderSize
int32 max_edge_finder_size = 109;
- Returns:
- This builder for chaining.
-
getDiffnUseCumulative
public boolean getDiffnUseCumulative()Control the propagation of the diffn constraint.
bool diffn_use_cumulative = 110;
- Specified by:
getDiffnUseCumulative
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The diffnUseCumulative.
-
setDiffnUseCumulative
Control the propagation of the diffn constraint.
bool diffn_use_cumulative = 110;
- Parameters:
value
- The diffnUseCumulative to set.- Returns:
- This builder for chaining.
-
clearDiffnUseCumulative
Control the propagation of the diffn constraint.
bool diffn_use_cumulative = 110;
- Returns:
- This builder for chaining.
-
getUseElementRmq
public boolean getUseElementRmq()Control the implementation of the element constraint.
bool use_element_rmq = 111;
- Specified by:
getUseElementRmq
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The useElementRmq.
-
setUseElementRmq
Control the implementation of the element constraint.
bool use_element_rmq = 111;
- Parameters:
value
- The useElementRmq to set.- Returns:
- This builder for chaining.
-
clearUseElementRmq
Control the implementation of the element constraint.
bool use_element_rmq = 111;
- Returns:
- This builder for chaining.
-
getSkipLocallyOptimalPaths
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;
- Specified by:
getSkipLocallyOptimalPaths
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The skipLocallyOptimalPaths.
-
setSkipLocallyOptimalPaths
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;
- Parameters:
value
- The skipLocallyOptimalPaths to set.- Returns:
- This builder for chaining.
-
clearSkipLocallyOptimalPaths
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;
- Returns:
- This builder for chaining.
-
getCheckSolutionPeriod
public int getCheckSolutionPeriod()Control the behavior of local search.
int32 check_solution_period = 114;
- Specified by:
getCheckSolutionPeriod
in interfaceConstraintSolverParametersOrBuilder
- Returns:
- The checkSolutionPeriod.
-
setCheckSolutionPeriod
Control the behavior of local search.
int32 check_solution_period = 114;
- Parameters:
value
- The checkSolutionPeriod to set.- Returns:
- This builder for chaining.
-
clearCheckSolutionPeriod
Control the behavior of local search.
int32 check_solution_period = 114;
- Returns:
- This builder for chaining.
-