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

Public Member Functions

Builder clear ()
 
com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
 
com.google.ortools.constraintsolver.ConstraintSolverStatistics getDefaultInstanceForType ()
 
com.google.ortools.constraintsolver.ConstraintSolverStatistics build ()
 
com.google.ortools.constraintsolver.ConstraintSolverStatistics buildPartial ()
 
Builder mergeFrom (com.google.protobuf.Message other)
 
Builder mergeFrom (com.google.ortools.constraintsolver.ConstraintSolverStatistics other)
 
final boolean isInitialized ()
 
Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
long getNumBranches ()
 
Builder setNumBranches (long value)
 
Builder clearNumBranches ()
 
long getNumFailures ()
 
Builder setNumFailures (long value)
 
Builder clearNumFailures ()
 
long getNumSolutions ()
 
Builder setNumSolutions (long value)
 
Builder clearNumSolutions ()
 
long getBytesUsed ()
 
Builder setBytesUsed (long value)
 
Builder clearBytesUsed ()
 
double getDurationSeconds ()
 
Builder setDurationSeconds (double value)
 
Builder clearDurationSeconds ()
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.ConstraintSolverStatisticsOrBuilder

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
 

Detailed Description

Statistics on the search in the constraint solver.

Protobuf type operations_research.ConstraintSolverStatistics

Definition at line 337 of file ConstraintSolverStatistics.java.

Member Function Documentation

◆ build()

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

Definition at line 388 of file ConstraintSolverStatistics.java.

◆ buildPartial()

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

Definition at line 397 of file ConstraintSolverStatistics.java.

◆ clear()

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

Definition at line 365 of file ConstraintSolverStatistics.java.

◆ clearBytesUsed()

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder.clearBytesUsed ( )
Memory usage of the solver.

int64 bytes_used = 4;

Returns
This builder for chaining.

Definition at line 687 of file ConstraintSolverStatistics.java.

◆ clearDurationSeconds()

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder.clearDurationSeconds ( )
Total time spent in the solver.

double duration_seconds = 5;

Returns
This builder for chaining.

Definition at line 731 of file ConstraintSolverStatistics.java.

◆ clearNumBranches()

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder.clearNumBranches ( )
Number of branches explored.

int64 num_branches = 1;

Returns
This builder for chaining.

Definition at line 555 of file ConstraintSolverStatistics.java.

◆ clearNumFailures()

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder.clearNumFailures ( )
Number of failures/backtracks.

int64 num_failures = 2;

Returns
This builder for chaining.

Definition at line 599 of file ConstraintSolverStatistics.java.

◆ clearNumSolutions()

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder.clearNumSolutions ( )
Number of solutions found.

int64 num_solutions = 3;

Returns
This builder for chaining.

Definition at line 643 of file ConstraintSolverStatistics.java.

◆ getBytesUsed()

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

int64 bytes_used = 4;

Returns
The bytesUsed.

Implements com.google.ortools.constraintsolver.ConstraintSolverStatisticsOrBuilder.

Definition at line 660 of file ConstraintSolverStatistics.java.

◆ getDefaultInstanceForType()

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

Definition at line 383 of file ConstraintSolverStatistics.java.

◆ getDescriptor()

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

Definition at line 342 of file ConstraintSolverStatistics.java.

◆ getDescriptorForType()

com.google.protobuf.Descriptors.Descriptor com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder.getDescriptorForType ( )

Definition at line 378 of file ConstraintSolverStatistics.java.

◆ getDurationSeconds()

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

double duration_seconds = 5;

Returns
The durationSeconds.

Implements com.google.ortools.constraintsolver.ConstraintSolverStatisticsOrBuilder.

Definition at line 704 of file ConstraintSolverStatistics.java.

◆ getNumBranches()

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

int64 num_branches = 1;

Returns
The numBranches.

Implements com.google.ortools.constraintsolver.ConstraintSolverStatisticsOrBuilder.

Definition at line 528 of file ConstraintSolverStatistics.java.

◆ getNumFailures()

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

int64 num_failures = 2;

Returns
The numFailures.

Implements com.google.ortools.constraintsolver.ConstraintSolverStatisticsOrBuilder.

Definition at line 572 of file ConstraintSolverStatistics.java.

◆ getNumSolutions()

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

int64 num_solutions = 3;

Returns
The numSolutions.

Implements com.google.ortools.constraintsolver.ConstraintSolverStatisticsOrBuilder.

Definition at line 616 of file ConstraintSolverStatistics.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 348 of file ConstraintSolverStatistics.java.

◆ isInitialized()

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

Definition at line 456 of file ConstraintSolverStatistics.java.

◆ mergeFrom() [1/3]

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder.mergeFrom ( com.google.ortools.constraintsolver.ConstraintSolverStatistics other)

Definition at line 433 of file ConstraintSolverStatistics.java.

◆ mergeFrom() [2/3]

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

Definition at line 461 of file ConstraintSolverStatistics.java.

◆ mergeFrom() [3/3]

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder.mergeFrom ( com.google.protobuf.Message other)

Definition at line 424 of file ConstraintSolverStatistics.java.

◆ setBytesUsed()

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder.setBytesUsed ( long value)
Memory usage of the solver.

int64 bytes_used = 4;

Parameters
valueThe bytesUsed to set.
Returns
This builder for chaining.

Definition at line 672 of file ConstraintSolverStatistics.java.

◆ setDurationSeconds()

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder.setDurationSeconds ( double value)
Total time spent in the solver.

double duration_seconds = 5;

Parameters
valueThe durationSeconds to set.
Returns
This builder for chaining.

Definition at line 716 of file ConstraintSolverStatistics.java.

◆ setNumBranches()

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder.setNumBranches ( long value)
Number of branches explored.

int64 num_branches = 1;

Parameters
valueThe numBranches to set.
Returns
This builder for chaining.

Definition at line 540 of file ConstraintSolverStatistics.java.

◆ setNumFailures()

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder.setNumFailures ( long value)
Number of failures/backtracks.

int64 num_failures = 2;

Parameters
valueThe numFailures to set.
Returns
This builder for chaining.

Definition at line 584 of file ConstraintSolverStatistics.java.

◆ setNumSolutions()

Builder com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder.setNumSolutions ( long value)
Number of solutions found.

int64 num_solutions = 3;

Parameters
valueThe numSolutions to set.
Returns
This builder for chaining.

Definition at line 628 of file ConstraintSolverStatistics.java.


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