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

Public Member Functions

long getNumBranches ()
 
long getNumFailures ()
 
long getNumSolutions ()
 
long getBytesUsed ()
 
double getDurationSeconds ()
 

Detailed Description

Definition at line 7 of file ConstraintSolverStatisticsOrBuilder.java.

Member Function Documentation

◆ getBytesUsed()

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

int64 bytes_used = 4;

Returns
The bytesUsed.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder, and com.google.ortools.constraintsolver.ConstraintSolverStatistics.

◆ getDurationSeconds()

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

double duration_seconds = 5;

Returns
The durationSeconds.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder, and com.google.ortools.constraintsolver.ConstraintSolverStatistics.

◆ getNumBranches()

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

int64 num_branches = 1;

Returns
The numBranches.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder, and com.google.ortools.constraintsolver.ConstraintSolverStatistics.

◆ getNumFailures()

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

int64 num_failures = 2;

Returns
The numFailures.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder, and com.google.ortools.constraintsolver.ConstraintSolverStatistics.

◆ getNumSolutions()

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

int64 num_solutions = 3;

Returns
The numSolutions.

Implemented in com.google.ortools.constraintsolver.ConstraintSolverStatistics.Builder, and com.google.ortools.constraintsolver.ConstraintSolverStatistics.


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