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 classStatistics on local search.static final classFirst solution statistics collected during search.static interfacestatic final classStatistics on local search filters called during the search.static interfacestatic final classStatistics on local search operators called during the search.static interfaceNested 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.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LocalSearchStatisticsstatic final com.google.protobuf.Descriptors.DescriptorgetFirstSolutionStatistics(int index) Statistics for each first solution called during the search.intStatistics 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.intStatistics 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.intStatistics 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> intlongint64 total_num_accepted_neighbors = 5;longint64 total_num_filtered_neighbors = 4;longTotal number of (filtered/accepted) neighbors created during the search.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(LocalSearchStatistics prototype) protected LocalSearchStatistics.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static LocalSearchStatisticsparseDelimitedFrom(InputStream input) static LocalSearchStatisticsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalSearchStatisticsparseFrom(byte[] data) static LocalSearchStatisticsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalSearchStatisticsparseFrom(com.google.protobuf.ByteString data) static LocalSearchStatisticsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalSearchStatisticsparseFrom(com.google.protobuf.CodedInputStream input) static LocalSearchStatisticsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalSearchStatisticsparseFrom(InputStream input) static LocalSearchStatisticsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocalSearchStatisticsparseFrom(ByteBuffer data) static LocalSearchStatisticsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LocalSearchStatistics> parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
internalGetFieldAccessorTablein 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:
getFirstSolutionStatisticsListin 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:
getFirstSolutionStatisticsOrBuilderListin 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:
getFirstSolutionStatisticsCountin interfaceLocalSearchStatisticsOrBuilder
-
getFirstSolutionStatistics
Statistics for each first solution called during the search.
repeated .operations_research.LocalSearchStatistics.FirstSolutionStatistics first_solution_statistics = 6;- Specified by:
getFirstSolutionStatisticsin 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:
getFirstSolutionStatisticsOrBuilderin 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:
getLocalSearchOperatorStatisticsListin 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:
getLocalSearchOperatorStatisticsOrBuilderListin 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:
getLocalSearchOperatorStatisticsCountin 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:
getLocalSearchOperatorStatisticsin 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:
getLocalSearchOperatorStatisticsOrBuilderin interfaceLocalSearchStatisticsOrBuilder
-
getTotalNumNeighbors
public long getTotalNumNeighbors()Total number of (filtered/accepted) neighbors created during the search.
int64 total_num_neighbors = 3;- Specified by:
getTotalNumNeighborsin interfaceLocalSearchStatisticsOrBuilder- Returns:
- The totalNumNeighbors.
-
getTotalNumFilteredNeighbors
public long getTotalNumFilteredNeighbors()int64 total_num_filtered_neighbors = 4;- Specified by:
getTotalNumFilteredNeighborsin interfaceLocalSearchStatisticsOrBuilder- Returns:
- The totalNumFilteredNeighbors.
-
getTotalNumAcceptedNeighbors
public long getTotalNumAcceptedNeighbors()int64 total_num_accepted_neighbors = 5;- Specified by:
getTotalNumAcceptedNeighborsin 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:
getLocalSearchFilterStatisticsListin 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:
getLocalSearchFilterStatisticsOrBuilderListin 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:
getLocalSearchFilterStatisticsCountin interfaceLocalSearchStatisticsOrBuilder
-
getLocalSearchFilterStatistics
Statistics for each filter called during the search.
repeated .operations_research.LocalSearchStatistics.LocalSearchFilterStatistics local_search_filter_statistics = 2;- Specified by:
getLocalSearchFilterStatisticsin 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:
getLocalSearchFilterStatisticsOrBuilderin interfaceLocalSearchStatisticsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocalSearchStatistics.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-