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

Public Member Functions

synchronized void delete ()
 
void swigReleaseOwnership ()
 
void swigTakeOwnership ()
 
 DecisionBuilder ()
 
Decision nextWrap (Solver s)
 
String toString ()
 
void set_name (String name)
 
String GetName ()
 
- Public Member Functions inherited from com.google.ortools.constraintsolver.BaseObject
 BaseObject ()
 

Protected Member Functions

 DecisionBuilder (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 
void swigDirectorDisconnect ()
 
- Protected Member Functions inherited from com.google.ortools.constraintsolver.BaseObject
 BaseObject (long cPtr, boolean cMemoryOwn)
 

Static Protected Member Functions

static long getCPtr (DecisionBuilder obj)
 
static long swigRelease (DecisionBuilder obj)
 
- Static Protected Member Functions inherited from com.google.ortools.constraintsolver.BaseObject
static long getCPtr (BaseObject obj)
 
static long swigRelease (BaseObject obj)
 

Additional Inherited Members

- Protected Attributes inherited from com.google.ortools.constraintsolver.BaseObject
transient boolean swigCMemOwn
 

Detailed Description

A DecisionBuilder is responsible for creating the search tree. The
important method is Next(), which returns the next decision to execute.

Definition at line 15 of file DecisionBuilder.java.

Constructor & Destructor Documentation

◆ DecisionBuilder() [1/2]

com.google.ortools.constraintsolver.DecisionBuilder.DecisionBuilder ( long cPtr,
boolean cMemoryOwn )
protected

Definition at line 18 of file DecisionBuilder.java.

◆ DecisionBuilder() [2/2]

com.google.ortools.constraintsolver.DecisionBuilder.DecisionBuilder ( )

Definition at line 70 of file DecisionBuilder.java.

Member Function Documentation

◆ delete()

synchronized void com.google.ortools.constraintsolver.DecisionBuilder.delete ( )

Reimplemented from com.google.ortools.constraintsolver.BaseObject.

Definition at line 44 of file DecisionBuilder.java.

◆ finalize()

void com.google.ortools.constraintsolver.DecisionBuilder.finalize ( )
protected

Reimplemented from com.google.ortools.constraintsolver.BaseObject.

Definition at line 40 of file DecisionBuilder.java.

◆ getCPtr()

static long com.google.ortools.constraintsolver.DecisionBuilder.getCPtr ( DecisionBuilder obj)
staticprotected

Definition at line 23 of file DecisionBuilder.java.

◆ GetName()

String com.google.ortools.constraintsolver.DecisionBuilder.GetName ( )

Definition at line 94 of file DecisionBuilder.java.

◆ nextWrap()

Decision com.google.ortools.constraintsolver.DecisionBuilder.nextWrap ( Solver s)

This is the main method of the decision builder class. It must
return a decision (an instance of the class Decision). If it
returns nullptr, this means that the decision builder has finished
its work.

Reimplemented in com.google.ortools.constraintsolver.JavaDecisionBuilder, and com.google.ortools.constraintsolver.JavaDecisionBuilder.

Definition at line 81 of file DecisionBuilder.java.

◆ set_name()

void com.google.ortools.constraintsolver.DecisionBuilder.set_name ( String name)

Definition at line 90 of file DecisionBuilder.java.

◆ swigDirectorDisconnect()

void com.google.ortools.constraintsolver.DecisionBuilder.swigDirectorDisconnect ( )
protected

Definition at line 55 of file DecisionBuilder.java.

◆ swigRelease()

static long com.google.ortools.constraintsolver.DecisionBuilder.swigRelease ( DecisionBuilder obj)
staticprotected

Definition at line 27 of file DecisionBuilder.java.

◆ swigReleaseOwnership()

void com.google.ortools.constraintsolver.DecisionBuilder.swigReleaseOwnership ( )

Definition at line 60 of file DecisionBuilder.java.

◆ swigTakeOwnership()

void com.google.ortools.constraintsolver.DecisionBuilder.swigTakeOwnership ( )

Definition at line 65 of file DecisionBuilder.java.

◆ toString()

String com.google.ortools.constraintsolver.DecisionBuilder.toString ( )

Reimplemented from com.google.ortools.constraintsolver.BaseObject.

Definition at line 86 of file DecisionBuilder.java.


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