Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.ConstraintSolverStatistics Class Reference
Inheritance diagram for com.google.ortools.constraintsolver.ConstraintSolverStatistics:
com.google.ortools.constraintsolver.ConstraintSolverStatisticsOrBuilder

Classes

class  Builder
 

Public Member Functions

long getNumBranches ()
 
long getNumFailures ()
 
long getNumSolutions ()
 
long getBytesUsed ()
 
double getDurationSeconds ()
 
final boolean isInitialized ()
 
void writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException
 
int getSerializedSize ()
 
boolean equals (final java.lang.Object obj)
 
int hashCode ()
 
Builder newBuilderForType ()
 
Builder toBuilder ()
 
com.google.protobuf.Parser< ConstraintSolverStatisticsgetParserForType ()
 
com.google.ortools.constraintsolver.ConstraintSolverStatistics getDefaultInstanceForType ()
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.ConstraintSolverStatisticsOrBuilder

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 
static com.google.ortools.constraintsolver.ConstraintSolverStatistics parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.constraintsolver.ConstraintSolverStatistics parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.constraintsolver.ConstraintSolverStatistics parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.constraintsolver.ConstraintSolverStatistics parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.constraintsolver.ConstraintSolverStatistics parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.constraintsolver.ConstraintSolverStatistics parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.constraintsolver.ConstraintSolverStatistics parseFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.constraintsolver.ConstraintSolverStatistics parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.constraintsolver.ConstraintSolverStatistics parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.constraintsolver.ConstraintSolverStatistics parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.constraintsolver.ConstraintSolverStatistics parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
 
static com.google.ortools.constraintsolver.ConstraintSolverStatistics parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static Builder newBuilder ()
 
static Builder newBuilder (com.google.ortools.constraintsolver.ConstraintSolverStatistics prototype)
 
static com.google.ortools.constraintsolver.ConstraintSolverStatistics getDefaultInstance ()
 
static com.google.protobuf.Parser< ConstraintSolverStatisticsparser ()
 

Static Public Attributes

static final int NUM_BRANCHES_FIELD_NUMBER = 1
 
static final int NUM_FAILURES_FIELD_NUMBER = 2
 
static final int NUM_SOLUTIONS_FIELD_NUMBER = 3
 
static final int BYTES_USED_FIELD_NUMBER = 4
 
static final int DURATION_SECONDS_FIELD_NUMBER = 5
 

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent)
 

Detailed Description

Statistics on the search in the constraint solver.

Protobuf type operations_research.ConstraintSolverStatistics

Definition at line 14 of file ConstraintSolverStatistics.java.

Member Function Documentation

◆ equals()

boolean com.google.ortools.constraintsolver.ConstraintSolverStatistics.equals ( final java.lang.Object obj)

Definition at line 187 of file ConstraintSolverStatistics.java.

◆ getBytesUsed()

long com.google.ortools.constraintsolver.ConstraintSolverStatistics.getBytesUsed ( )
Memory usage of the solver.

int64 bytes_used = 4;

Returns
The bytesUsed.

Implements com.google.ortools.constraintsolver.ConstraintSolverStatisticsOrBuilder.

Definition at line 104 of file ConstraintSolverStatistics.java.

◆ getDefaultInstance()

static com.google.ortools.constraintsolver.ConstraintSolverStatistics com.google.ortools.constraintsolver.ConstraintSolverStatistics.getDefaultInstance ( )
static

Definition at line 747 of file ConstraintSolverStatistics.java.

◆ getDefaultInstanceForType()

com.google.ortools.constraintsolver.ConstraintSolverStatistics com.google.ortools.constraintsolver.ConstraintSolverStatistics.getDefaultInstanceForType ( )

Definition at line 783 of file ConstraintSolverStatistics.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.ConstraintSolverStatistics.getDescriptor ( )
static

Definition at line 36 of file ConstraintSolverStatistics.java.

◆ getDurationSeconds()

double com.google.ortools.constraintsolver.ConstraintSolverStatistics.getDurationSeconds ( )
Total time spent in the solver.

double duration_seconds = 5;

Returns
The durationSeconds.

Implements com.google.ortools.constraintsolver.ConstraintSolverStatisticsOrBuilder.

Definition at line 119 of file ConstraintSolverStatistics.java.

◆ getNumBranches()

long com.google.ortools.constraintsolver.ConstraintSolverStatistics.getNumBranches ( )
Number of branches explored.

int64 num_branches = 1;

Returns
The numBranches.

Implements com.google.ortools.constraintsolver.ConstraintSolverStatisticsOrBuilder.

Definition at line 59 of file ConstraintSolverStatistics.java.

◆ getNumFailures()

long com.google.ortools.constraintsolver.ConstraintSolverStatistics.getNumFailures ( )
Number of failures/backtracks.

int64 num_failures = 2;

Returns
The numFailures.

Implements com.google.ortools.constraintsolver.ConstraintSolverStatisticsOrBuilder.

Definition at line 74 of file ConstraintSolverStatistics.java.

◆ getNumSolutions()

long com.google.ortools.constraintsolver.ConstraintSolverStatistics.getNumSolutions ( )
Number of solutions found.

int64 num_solutions = 3;

Returns
The numSolutions.

Implements com.google.ortools.constraintsolver.ConstraintSolverStatisticsOrBuilder.

Definition at line 89 of file ConstraintSolverStatistics.java.

◆ getParserForType()

com.google.protobuf.Parser< ConstraintSolverStatistics > com.google.ortools.constraintsolver.ConstraintSolverStatistics.getParserForType ( )

Definition at line 778 of file ConstraintSolverStatistics.java.

◆ getSerializedSize()

int com.google.ortools.constraintsolver.ConstraintSolverStatistics.getSerializedSize ( )

Definition at line 156 of file ConstraintSolverStatistics.java.

◆ hashCode()

int com.google.ortools.constraintsolver.ConstraintSolverStatistics.hashCode ( )

Definition at line 212 of file ConstraintSolverStatistics.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.constraintsolver.ConstraintSolverStatistics.internalGetFieldAccessorTable ( )
protected

Definition at line 42 of file ConstraintSolverStatistics.java.

◆ isInitialized()

final boolean com.google.ortools.constraintsolver.ConstraintSolverStatistics.isInitialized ( )

Definition at line 125 of file ConstraintSolverStatistics.java.

◆ newBuilder() [1/2]

static Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.newBuilder ( )
static

Definition at line 312 of file ConstraintSolverStatistics.java.

◆ newBuilder() [2/2]

static Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.newBuilder ( com.google.ortools.constraintsolver.ConstraintSolverStatistics prototype)
static

Definition at line 315 of file ConstraintSolverStatistics.java.

◆ newBuilderForType() [1/2]

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.newBuilderForType ( )

Definition at line 311 of file ConstraintSolverStatistics.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.newBuilderForType ( com.google.protobuf.GeneratedMessage.BuilderParent parent)
protected

Definition at line 325 of file ConstraintSolverStatistics.java.

◆ parseDelimitedFrom() [1/2]

static com.google.ortools.constraintsolver.ConstraintSolverStatistics com.google.ortools.constraintsolver.ConstraintSolverStatistics.parseDelimitedFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 283 of file ConstraintSolverStatistics.java.

◆ parseDelimitedFrom() [2/2]

static com.google.ortools.constraintsolver.ConstraintSolverStatistics com.google.ortools.constraintsolver.ConstraintSolverStatistics.parseDelimitedFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 289 of file ConstraintSolverStatistics.java.

◆ parseFrom() [1/10]

static com.google.ortools.constraintsolver.ConstraintSolverStatistics com.google.ortools.constraintsolver.ConstraintSolverStatistics.parseFrom ( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 260 of file ConstraintSolverStatistics.java.

◆ parseFrom() [2/10]

static com.google.ortools.constraintsolver.ConstraintSolverStatistics com.google.ortools.constraintsolver.ConstraintSolverStatistics.parseFrom ( byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 264 of file ConstraintSolverStatistics.java.

◆ parseFrom() [3/10]

static com.google.ortools.constraintsolver.ConstraintSolverStatistics com.google.ortools.constraintsolver.ConstraintSolverStatistics.parseFrom ( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 249 of file ConstraintSolverStatistics.java.

◆ parseFrom() [4/10]

static com.google.ortools.constraintsolver.ConstraintSolverStatistics com.google.ortools.constraintsolver.ConstraintSolverStatistics.parseFrom ( com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 254 of file ConstraintSolverStatistics.java.

◆ parseFrom() [5/10]

static com.google.ortools.constraintsolver.ConstraintSolverStatistics com.google.ortools.constraintsolver.ConstraintSolverStatistics.parseFrom ( com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

Definition at line 296 of file ConstraintSolverStatistics.java.

◆ parseFrom() [6/10]

static com.google.ortools.constraintsolver.ConstraintSolverStatistics com.google.ortools.constraintsolver.ConstraintSolverStatistics.parseFrom ( com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 302 of file ConstraintSolverStatistics.java.

◆ parseFrom() [7/10]

static com.google.ortools.constraintsolver.ConstraintSolverStatistics com.google.ortools.constraintsolver.ConstraintSolverStatistics.parseFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 270 of file ConstraintSolverStatistics.java.

◆ parseFrom() [8/10]

static com.google.ortools.constraintsolver.ConstraintSolverStatistics com.google.ortools.constraintsolver.ConstraintSolverStatistics.parseFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 275 of file ConstraintSolverStatistics.java.

◆ parseFrom() [9/10]

static com.google.ortools.constraintsolver.ConstraintSolverStatistics com.google.ortools.constraintsolver.ConstraintSolverStatistics.parseFrom ( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 238 of file ConstraintSolverStatistics.java.

◆ parseFrom() [10/10]

static com.google.ortools.constraintsolver.ConstraintSolverStatistics com.google.ortools.constraintsolver.ConstraintSolverStatistics.parseFrom ( java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 243 of file ConstraintSolverStatistics.java.

◆ parser()

static com.google.protobuf.Parser< ConstraintSolverStatistics > com.google.ortools.constraintsolver.ConstraintSolverStatistics.parser ( )
static

Definition at line 773 of file ConstraintSolverStatistics.java.

◆ toBuilder()

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.toBuilder ( )

Definition at line 319 of file ConstraintSolverStatistics.java.

◆ writeTo()

void com.google.ortools.constraintsolver.ConstraintSolverStatistics.writeTo ( com.google.protobuf.CodedOutputStream output) throws java.io.IOException

Definition at line 135 of file ConstraintSolverStatistics.java.

Member Data Documentation

◆ BYTES_USED_FIELD_NUMBER

final int com.google.ortools.constraintsolver.ConstraintSolverStatistics.BYTES_USED_FIELD_NUMBER = 4
static

Definition at line 93 of file ConstraintSolverStatistics.java.

◆ DURATION_SECONDS_FIELD_NUMBER

final int com.google.ortools.constraintsolver.ConstraintSolverStatistics.DURATION_SECONDS_FIELD_NUMBER = 5
static

Definition at line 108 of file ConstraintSolverStatistics.java.

◆ NUM_BRANCHES_FIELD_NUMBER

final int com.google.ortools.constraintsolver.ConstraintSolverStatistics.NUM_BRANCHES_FIELD_NUMBER = 1
static

Definition at line 48 of file ConstraintSolverStatistics.java.

◆ NUM_FAILURES_FIELD_NUMBER

final int com.google.ortools.constraintsolver.ConstraintSolverStatistics.NUM_FAILURES_FIELD_NUMBER = 2
static

Definition at line 63 of file ConstraintSolverStatistics.java.

◆ NUM_SOLUTIONS_FIELD_NUMBER

final int com.google.ortools.constraintsolver.ConstraintSolverStatistics.NUM_SOLUTIONS_FIELD_NUMBER = 3
static

Definition at line 78 of file ConstraintSolverStatistics.java.


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