com.google.ortools.constraintsolver.SearchLog Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-or-tools Show documentation
Show all versions of google-or-tools Show documentation
A project to publish Google OR-Tools as a dependable dependency in Maven.
The newest version!
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.10
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.google.ortools.constraintsolver;
public class SearchLog extends SearchMonitor {
private transient long swigCPtr;
protected SearchLog(long cPtr, boolean cMemoryOwn) {
super(operations_research_constraint_solverJNI.SearchLog_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(SearchLog obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
operations_research_constraint_solverJNI.delete_SearchLog(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public SearchLog(Solver s, OptimizeVar obj, IntVar var, VoidToString display_callback, int period) {
this(operations_research_constraint_solverJNI.new_SearchLog(Solver.getCPtr(s), s, OptimizeVar.getCPtr(obj), obj, IntVar.getCPtr(var), var, display_callback, period), true);
}
public void enterSearch() {
operations_research_constraint_solverJNI.SearchLog_enterSearch(swigCPtr, this);
}
public void ExitSearch() {
operations_research_constraint_solverJNI.SearchLog_ExitSearch(swigCPtr, this);
}
public boolean atSolution() {
return operations_research_constraint_solverJNI.SearchLog_atSolution(swigCPtr, this);
}
public void beginFail() {
operations_research_constraint_solverJNI.SearchLog_beginFail(swigCPtr, this);
}
public void noMoreSolutions() {
operations_research_constraint_solverJNI.SearchLog_noMoreSolutions(swigCPtr, this);
}
public void applyDecision(Decision decision) {
operations_research_constraint_solverJNI.SearchLog_applyDecision(swigCPtr, this, Decision.getCPtr(decision), decision);
}
public void refuteDecision(Decision decision) {
operations_research_constraint_solverJNI.SearchLog_refuteDecision(swigCPtr, this, Decision.getCPtr(decision), decision);
}
public void OutputDecision() {
operations_research_constraint_solverJNI.SearchLog_OutputDecision(swigCPtr, this);
}
public void Maintain() {
operations_research_constraint_solverJNI.SearchLog_Maintain(swigCPtr, this);
}
public void beginInitialPropagation() {
operations_research_constraint_solverJNI.SearchLog_beginInitialPropagation(swigCPtr, this);
}
public void endInitialPropagation() {
operations_research_constraint_solverJNI.SearchLog_endInitialPropagation(swigCPtr, this);
}
public String toString() {
return operations_research_constraint_solverJNI.SearchLog_toString(swigCPtr, this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy