Java Reference

Java Reference

ConstraintSolverParametersOrBuilder

Detailed Description

Definition at line 6 of file ConstraintSolverParametersOrBuilder.java.

Public Member Functions

int getCompressTrailValue ()
 
com.google.ortools.constraintsolver.ConstraintSolverParameters.TrailCompression getCompressTrail ()
 
int getTrailBlockSize ()
 
int getArraySplitSize ()
 
boolean getStoreNames ()
 
boolean getNameCastVariables ()
 
boolean getNameAllVariables ()
 
boolean getProfilePropagation ()
 
java.lang.String getProfileFile ()
 
com.google.protobuf.ByteString getProfileFileBytes ()
 
boolean getProfileLocalSearch ()
 
boolean getPrintLocalSearchProfile ()
 
boolean getTracePropagation ()
 
boolean getTraceSearch ()
 
boolean getPrintModel ()
 
boolean getPrintModelStats ()
 
boolean getPrintAddedConstraints ()
 
boolean getDisableSolve ()
 bool disable_solve = 15; More...
 
boolean getUseSmallTable ()
 
boolean getUseCumulativeEdgeFinder ()
 
boolean getUseCumulativeTimeTable ()
 bool use_cumulative_time_table = 106; More...
 
boolean getUseCumulativeTimeTableSync ()
 bool use_cumulative_time_table_sync = 112; More...
 
boolean getUseSequenceHighDemandTasks ()
 bool use_sequence_high_demand_tasks = 107; More...
 
boolean getUseAllPossibleDisjunctions ()
 bool use_all_possible_disjunctions = 108; More...
 
int getMaxEdgeFinderSize ()
 int32 max_edge_finder_size = 109; More...
 
boolean getDiffnUseCumulative ()
 
boolean getUseElementRmq ()
 
boolean getSkipLocallyOptimalPaths ()
 
int getCheckSolutionPeriod ()
 

Member Function Documentation

◆ getArraySplitSize()

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;

Returns
The arraySplitSize.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getCheckSolutionPeriod()

int getCheckSolutionPeriod ( )
Control the behavior of local search.

int32 check_solution_period = 114;

Returns
The checkSolutionPeriod.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ 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;

Returns
The compressTrail.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getCompressTrailValue()

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;

Returns
The enum numeric value on the wire for compressTrail.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getDiffnUseCumulative()

boolean getDiffnUseCumulative ( )
Control the propagation of the diffn constraint.

bool diffn_use_cumulative = 110;

Returns
The diffnUseCumulative.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getDisableSolve()

boolean getDisableSolve ( )

bool disable_solve = 15;

Returns
The disableSolve.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getMaxEdgeFinderSize()

int getMaxEdgeFinderSize ( )

int32 max_edge_finder_size = 109;

Returns
The maxEdgeFinderSize.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getNameAllVariables()

boolean getNameAllVariables ( )
Should anonymous variables be given a name.

bool name_all_variables = 6;

Returns
The nameAllVariables.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getNameCastVariables()

boolean getNameCastVariables ( )
Create names for cast variables.

bool name_cast_variables = 5;

Returns
The nameCastVariables.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getPrintAddedConstraints()

boolean getPrintAddedConstraints ( )
Print added constraints.

bool print_added_constraints = 13;

Returns
The printAddedConstraints.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getPrintLocalSearchProfile()

boolean getPrintLocalSearchProfile ( )
Print local search profiling data after solving.

bool print_local_search_profile = 17;

Returns
The printLocalSearchProfile.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getPrintModel()

boolean getPrintModel ( )
Print the model before solving.

bool print_model = 11;

Returns
The printModel.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getPrintModelStats()

boolean getPrintModelStats ( )
Print model statistics before solving.

bool print_model_stats = 12;

Returns
The printModelStats.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getProfileFile()

java.lang.String getProfileFile ( )
Export propagation profiling data to file.

string profile_file = 8;

Returns
The profileFile.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getProfileFileBytes()

com.google.protobuf.ByteString getProfileFileBytes ( )
Export propagation profiling data to file.

string profile_file = 8;

Returns
The bytes for profileFile.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getProfileLocalSearch()

boolean getProfileLocalSearch ( )
Activate local search profiling.

bool profile_local_search = 16;

Returns
The profileLocalSearch.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getProfilePropagation()

boolean getProfilePropagation ( )
Activate propagation profiling.

bool profile_propagation = 7;

Returns
The profilePropagation.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getSkipLocallyOptimalPaths()

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;

Returns
The skipLocallyOptimalPaths.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getStoreNames()

boolean getStoreNames ( )
This parameters indicates if the solver should store the names of
the objets it manages.

bool store_names = 4;

Returns
The storeNames.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getTracePropagation()

boolean getTracePropagation ( )
Activate propagate tracing.

bool trace_propagation = 9;

Returns
The tracePropagation.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getTraceSearch()

boolean getTraceSearch ( )
Trace search.

bool trace_search = 10;

Returns
The traceSearch.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getTrailBlockSize()

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;

Returns
The trailBlockSize.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getUseAllPossibleDisjunctions()

boolean getUseAllPossibleDisjunctions ( )

bool use_all_possible_disjunctions = 108;

Returns
The useAllPossibleDisjunctions.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getUseCumulativeEdgeFinder()

boolean getUseCumulativeEdgeFinder ( )
Control the propagation of the cumulative constraint.

bool use_cumulative_edge_finder = 105;

Returns
The useCumulativeEdgeFinder.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getUseCumulativeTimeTable()

boolean getUseCumulativeTimeTable ( )

bool use_cumulative_time_table = 106;

Returns
The useCumulativeTimeTable.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getUseCumulativeTimeTableSync()

boolean getUseCumulativeTimeTableSync ( )

bool use_cumulative_time_table_sync = 112;

Returns
The useCumulativeTimeTableSync.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getUseElementRmq()

boolean getUseElementRmq ( )
Control the implementation of the element constraint.

bool use_element_rmq = 111;

Returns
The useElementRmq.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getUseSequenceHighDemandTasks()

boolean getUseSequenceHighDemandTasks ( )

bool use_sequence_high_demand_tasks = 107;

Returns
The useSequenceHighDemandTasks.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.

◆ getUseSmallTable()

boolean getUseSmallTable ( )
Control the implementation of the table constraint.

bool use_small_table = 101;

Returns
The useSmallTable.

Implemented in ConstraintSolverParameters.Builder, and ConstraintSolverParameters.


The documentation for this interface was generated from the following file: