Class LocalSearchStatistics
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ortools.constraintsolver.LocalSearchStatistics
- All Implemented Interfaces:
LocalSearchStatisticsOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
@Generated
public final class LocalSearchStatistics
extends com.google.protobuf.GeneratedMessage
implements LocalSearchStatisticsOrBuilder
Statistics on local search.Protobuf type
operations_research.LocalSearchStatistics
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Statistics on local search.static final class
First solution statistics collected during search.static interface
static final class
Statistics on local search filters called during the search.static interface
static final class
Statistics on local search operators called during the search.static interface
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static LocalSearchStatistics
static final com.google.protobuf.Descriptors.Descriptor
getFirstSolutionStatistics
(int index) Statistics for each first solution called during the search.int
Statistics for each first solution called during the search.Statistics for each first solution called during the search.getFirstSolutionStatisticsOrBuilder
(int index) Statistics for each first solution called during the search.Statistics for each first solution called during the search.getLocalSearchFilterStatistics
(int index) Statistics for each filter called during the search.int
Statistics for each filter called during the search.Statistics for each filter called during the search.getLocalSearchFilterStatisticsOrBuilder
(int index) Statistics for each filter called during the search.Statistics for each filter called during the search.getLocalSearchOperatorStatistics
(int index) Statistics for each operator called during the search.int
Statistics for each operator called during the search.Statistics for each operator called during the search.getLocalSearchOperatorStatisticsOrBuilder
(int index) Statistics for each operator called during the search.Statistics for each operator called during the search.com.google.protobuf.Parser
<LocalSearchStatistics> int
long
int64 total_num_accepted_neighbors = 5;
long
int64 total_num_filtered_neighbors = 4;
long
Total number of (filtered/accepted) neighbors created during the search.int
hashCode()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
newBuilder
(LocalSearchStatistics prototype) protected LocalSearchStatistics.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static LocalSearchStatistics
parseDelimitedFrom
(InputStream input) static LocalSearchStatistics
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalSearchStatistics
parseFrom
(byte[] data) static LocalSearchStatistics
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalSearchStatistics
parseFrom
(com.google.protobuf.ByteString data) static LocalSearchStatistics
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalSearchStatistics
parseFrom
(com.google.protobuf.CodedInputStream input) static LocalSearchStatistics
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalSearchStatistics
parseFrom
(InputStream input) static LocalSearchStatistics
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalSearchStatistics
parseFrom
(ByteBuffer data) static LocalSearchStatistics
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<LocalSearchStatistics> parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FIRST_SOLUTION_STATISTICS_FIELD_NUMBER
public static final int FIRST_SOLUTION_STATISTICS_FIELD_NUMBER- See Also:
-
LOCAL_SEARCH_OPERATOR_STATISTICS_FIELD_NUMBER
public static final int LOCAL_SEARCH_OPERATOR_STATISTICS_FIELD_NUMBER- See Also:
-
TOTAL_NUM_NEIGHBORS_FIELD_NUMBER
public static final int TOTAL_NUM_NEIGHBORS_FIELD_NUMBER- See Also:
-
TOTAL_NUM_FILTERED_NEIGHBORS_FIELD_NUMBER
public static final int TOTAL_NUM_FILTERED_NEIGHBORS_FIELD_NUMBER- See Also:
-
TOTAL_NUM_ACCEPTED_NEIGHBORS_FIELD_NUMBER
public static final int TOTAL_NUM_ACCEPTED_NEIGHBORS_FIELD_NUMBER- See Also:
-
LOCAL_SEARCH_FILTER_STATISTICS_FIELD_NUMBER
public static final int LOCAL_SEARCH_FILTER_STATISTICS_FIELD_NUMBER- See Also:
-
-
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
-
getFirstSolutionStatisticsList
Statistics for each first solution called during the search.
repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics = 6;
- Specified by:
getFirstSolutionStatisticsList
in interfaceLocalSearchStatisticsOrBuilder
-
getFirstSolutionStatisticsOrBuilderList
public List<? extends LocalSearchStatistics.FirstSolutionStatisticsOrBuilder> getFirstSolutionStatisticsOrBuilderList()Statistics for each first solution called during the search.
repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics = 6;
- Specified by:
getFirstSolutionStatisticsOrBuilderList
in interfaceLocalSearchStatisticsOrBuilder
-
getFirstSolutionStatisticsCount
public int getFirstSolutionStatisticsCount()Statistics for each first solution called during the search.
repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics = 6;
- Specified by:
getFirstSolutionStatisticsCount
in interfaceLocalSearchStatisticsOrBuilder
-
getFirstSolutionStatistics
Statistics for each first solution called during the search.
repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics = 6;
- Specified by:
getFirstSolutionStatistics
in interfaceLocalSearchStatisticsOrBuilder
-
getFirstSolutionStatisticsOrBuilder
public LocalSearchStatistics.FirstSolutionStatisticsOrBuilder getFirstSolutionStatisticsOrBuilder(int index) Statistics for each first solution called during the search.
repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics = 6;
- Specified by:
getFirstSolutionStatisticsOrBuilder
in interfaceLocalSearchStatisticsOrBuilder
-
getLocalSearchOperatorStatisticsList
public List<LocalSearchStatistics.LocalSearchOperatorStatistics> getLocalSearchOperatorStatisticsList()Statistics for each operator called during the search.
repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
- Specified by:
getLocalSearchOperatorStatisticsList
in interfaceLocalSearchStatisticsOrBuilder
-
getLocalSearchOperatorStatisticsOrBuilderList
public List<? extends LocalSearchStatistics.LocalSearchOperatorStatisticsOrBuilder> getLocalSearchOperatorStatisticsOrBuilderList()Statistics for each operator called during the search.
repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
- Specified by:
getLocalSearchOperatorStatisticsOrBuilderList
in interfaceLocalSearchStatisticsOrBuilder
-
getLocalSearchOperatorStatisticsCount
public int getLocalSearchOperatorStatisticsCount()Statistics for each operator called during the search.
repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
- Specified by:
getLocalSearchOperatorStatisticsCount
in interfaceLocalSearchStatisticsOrBuilder
-
getLocalSearchOperatorStatistics
public LocalSearchStatistics.LocalSearchOperatorStatistics getLocalSearchOperatorStatistics(int index) Statistics for each operator called during the search.
repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
- Specified by:
getLocalSearchOperatorStatistics
in interfaceLocalSearchStatisticsOrBuilder
-
getLocalSearchOperatorStatisticsOrBuilder
public LocalSearchStatistics.LocalSearchOperatorStatisticsOrBuilder getLocalSearchOperatorStatisticsOrBuilder(int index) Statistics for each operator called during the search.
repeated .operations_research.LocalSearchStatistics.LocalSearchOperatorStatistics local_search_operator_statistics = 1;
- Specified by:
getLocalSearchOperatorStatisticsOrBuilder
in interfaceLocalSearchStatisticsOrBuilder
-
getTotalNumNeighbors
public long getTotalNumNeighbors()Total number of (filtered/accepted) neighbors created during the search.
int64 total_num_neighbors = 3;
- Specified by:
getTotalNumNeighbors
in interfaceLocalSearchStatisticsOrBuilder
- Returns:
- The totalNumNeighbors.
-
getTotalNumFilteredNeighbors
public long getTotalNumFilteredNeighbors()int64 total_num_filtered_neighbors = 4;
- Specified by:
getTotalNumFilteredNeighbors
in interfaceLocalSearchStatisticsOrBuilder
- Returns:
- The totalNumFilteredNeighbors.
-
getTotalNumAcceptedNeighbors
public long getTotalNumAcceptedNeighbors()int64 total_num_accepted_neighbors = 5;
- Specified by:
getTotalNumAcceptedNeighbors
in interfaceLocalSearchStatisticsOrBuilder
- Returns:
- The totalNumAcceptedNeighbors.
-
getLocalSearchFilterStatisticsList
Statistics for each filter called during the search.
repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
- Specified by:
getLocalSearchFilterStatisticsList
in interfaceLocalSearchStatisticsOrBuilder
-
getLocalSearchFilterStatisticsOrBuilderList
public List<? extends LocalSearchStatistics.LocalSearchFilterStatisticsOrBuilder> getLocalSearchFilterStatisticsOrBuilderList()Statistics for each filter called during the search.
repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
- Specified by:
getLocalSearchFilterStatisticsOrBuilderList
in interfaceLocalSearchStatisticsOrBuilder
-
getLocalSearchFilterStatisticsCount
public int getLocalSearchFilterStatisticsCount()Statistics for each filter called during the search.
repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
- Specified by:
getLocalSearchFilterStatisticsCount
in interfaceLocalSearchStatisticsOrBuilder
-
getLocalSearchFilterStatistics
Statistics for each filter called during the search.
repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
- Specified by:
getLocalSearchFilterStatistics
in interfaceLocalSearchStatisticsOrBuilder
-
getLocalSearchFilterStatisticsOrBuilder
public LocalSearchStatistics.LocalSearchFilterStatisticsOrBuilder getLocalSearchFilterStatisticsOrBuilder(int index) Statistics for each filter called during the search.
repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;
- Specified by:
getLocalSearchFilterStatisticsOrBuilder
in interfaceLocalSearchStatisticsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LocalSearchStatistics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalSearchStatistics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalSearchStatistics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalSearchStatistics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalSearchStatistics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalSearchStatistics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LocalSearchStatistics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LocalSearchStatistics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LocalSearchStatistics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LocalSearchStatistics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocalSearchStatistics.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-