Class ConstraintSolverParameters

  • All Implemented Interfaces:
    ConstraintSolverParametersOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class ConstraintSolverParameters
    extends com.google.protobuf.GeneratedMessageV3
    implements ConstraintSolverParametersOrBuilder
     Solver parameters.
     
    Protobuf type operations_research.ConstraintSolverParameters
    See Also:
    Serialized Form
    • Field Detail

      • COMPRESS_TRAIL_FIELD_NUMBER

        public static final int COMPRESS_TRAIL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TRAIL_BLOCK_SIZE_FIELD_NUMBER

        public static final int TRAIL_BLOCK_SIZE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ARRAY_SPLIT_SIZE_FIELD_NUMBER

        public static final int ARRAY_SPLIT_SIZE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STORE_NAMES_FIELD_NUMBER

        public static final int STORE_NAMES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NAME_CAST_VARIABLES_FIELD_NUMBER

        public static final int NAME_CAST_VARIABLES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NAME_ALL_VARIABLES_FIELD_NUMBER

        public static final int NAME_ALL_VARIABLES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROFILE_PROPAGATION_FIELD_NUMBER

        public static final int PROFILE_PROPAGATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROFILE_FILE_FIELD_NUMBER

        public static final int PROFILE_FILE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROFILE_LOCAL_SEARCH_FIELD_NUMBER

        public static final int PROFILE_LOCAL_SEARCH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRINT_LOCAL_SEARCH_PROFILE_FIELD_NUMBER

        public static final int PRINT_LOCAL_SEARCH_PROFILE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TRACE_PROPAGATION_FIELD_NUMBER

        public static final int TRACE_PROPAGATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TRACE_SEARCH_FIELD_NUMBER

        public static final int TRACE_SEARCH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRINT_MODEL_FIELD_NUMBER

        public static final int PRINT_MODEL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRINT_MODEL_STATS_FIELD_NUMBER

        public static final int PRINT_MODEL_STATS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRINT_ADDED_CONSTRAINTS_FIELD_NUMBER

        public static final int PRINT_ADDED_CONSTRAINTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DISABLE_SOLVE_FIELD_NUMBER

        public static final int DISABLE_SOLVE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • USE_SMALL_TABLE_FIELD_NUMBER

        public static final int USE_SMALL_TABLE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • USE_CUMULATIVE_EDGE_FINDER_FIELD_NUMBER

        public static final int USE_CUMULATIVE_EDGE_FINDER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • USE_CUMULATIVE_TIME_TABLE_FIELD_NUMBER

        public static final int USE_CUMULATIVE_TIME_TABLE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • USE_CUMULATIVE_TIME_TABLE_SYNC_FIELD_NUMBER

        public static final int USE_CUMULATIVE_TIME_TABLE_SYNC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • USE_SEQUENCE_HIGH_DEMAND_TASKS_FIELD_NUMBER

        public static final int USE_SEQUENCE_HIGH_DEMAND_TASKS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • USE_ALL_POSSIBLE_DISJUNCTIONS_FIELD_NUMBER

        public static final int USE_ALL_POSSIBLE_DISJUNCTIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MAX_EDGE_FINDER_SIZE_FIELD_NUMBER

        public static final int MAX_EDGE_FINDER_SIZE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DIFFN_USE_CUMULATIVE_FIELD_NUMBER

        public static final int DIFFN_USE_CUMULATIVE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • USE_ELEMENT_RMQ_FIELD_NUMBER

        public static final int USE_ELEMENT_RMQ_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SKIP_LOCALLY_OPTIMAL_PATHS_FIELD_NUMBER

        public static final int SKIP_LOCALLY_OPTIMAL_PATHS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CHECK_SOLUTION_PERIOD_FIELD_NUMBER

        public static final int CHECK_SOLUTION_PERIOD_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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 interface ConstraintSolverParametersOrBuilder
        Returns:
        The enum numeric value on the wire for compressTrail.
      • 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 interface ConstraintSolverParametersOrBuilder
        Returns:
        The trailBlockSize.
      • 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 interface ConstraintSolverParametersOrBuilder
        Returns:
        The arraySplitSize.
      • 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 interface ConstraintSolverParametersOrBuilder
        Returns:
        The storeNames.
      • getProfileFileBytes

        public com.google.protobuf.ByteString getProfileFileBytes()
         Export propagation profiling data to file.
         
        string profile_file = 8;
        Specified by:
        getProfileFileBytes in interface ConstraintSolverParametersOrBuilder
        Returns:
        The bytes for profileFile.
      • 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 interface ConstraintSolverParametersOrBuilder
        Returns:
        The skipLocallyOptimalPaths.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ConstraintSolverParameters parseFrom​(java.nio.ByteBuffer data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ConstraintSolverParameters parseFrom​(java.nio.ByteBuffer data,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ConstraintSolverParameters parseFrom​(com.google.protobuf.ByteString data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ConstraintSolverParameters parseFrom​(com.google.protobuf.ByteString data,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ConstraintSolverParameters parseFrom​(byte[] data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ConstraintSolverParameters parseFrom​(byte[] data,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ConstraintSolverParameters parseFrom​(java.io.InputStream input)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ConstraintSolverParameters parseFrom​(java.io.InputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static ConstraintSolverParameters parseDelimitedFrom​(java.io.InputStream input)
                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static ConstraintSolverParameters parseDelimitedFrom​(java.io.InputStream input,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ConstraintSolverParameters parseFrom​(com.google.protobuf.CodedInputStream input)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ConstraintSolverParameters parseFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public ConstraintSolverParameters.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ConstraintSolverParameters.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ConstraintSolverParameters.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ConstraintSolverParameters> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ConstraintSolverParameters getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder