com.google.ortools.constraintsolver.IntervalVarElement 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 IntervalVarElement extends AssignmentElement {
private transient long swigCPtr;
protected IntervalVarElement(long cPtr, boolean cMemoryOwn) {
super(operations_research_constraint_solverJNI.IntervalVarElement_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(IntervalVarElement 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_IntervalVarElement(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public IntervalVarElement() {
this(operations_research_constraint_solverJNI.new_IntervalVarElement__SWIG_0(), true);
}
public IntervalVarElement(IntervalVar var) {
this(operations_research_constraint_solverJNI.new_IntervalVarElement__SWIG_1(IntervalVar.getCPtr(var), var), true);
}
public void Reset(IntervalVar var) {
operations_research_constraint_solverJNI.IntervalVarElement_Reset(swigCPtr, this, IntervalVar.getCPtr(var), var);
}
public IntervalVarElement Clone() {
long cPtr = operations_research_constraint_solverJNI.IntervalVarElement_Clone(swigCPtr, this);
return (cPtr == 0) ? null : new IntervalVarElement(cPtr, false);
}
public void Copy(IntervalVarElement element) {
operations_research_constraint_solverJNI.IntervalVarElement_Copy(swigCPtr, this, IntervalVarElement.getCPtr(element), element);
}
public IntervalVar Var() {
long cPtr = operations_research_constraint_solverJNI.IntervalVarElement_Var(swigCPtr, this);
return (cPtr == 0) ? null : new IntervalVar(cPtr, false);
}
public void Store() {
operations_research_constraint_solverJNI.IntervalVarElement_Store(swigCPtr, this);
}
public void Restore() {
operations_research_constraint_solverJNI.IntervalVarElement_Restore(swigCPtr, this);
}
public void LoadFromProto(SWIGTYPE_p_operations_research__IntervalVarAssignment interval_var_assignment_proto) {
operations_research_constraint_solverJNI.IntervalVarElement_LoadFromProto(swigCPtr, this, SWIGTYPE_p_operations_research__IntervalVarAssignment.getCPtr(interval_var_assignment_proto));
}
public void WriteToProto(SWIGTYPE_p_operations_research__IntervalVarAssignment interval_var_assignment_proto) {
operations_research_constraint_solverJNI.IntervalVarElement_WriteToProto(swigCPtr, this, SWIGTYPE_p_operations_research__IntervalVarAssignment.getCPtr(interval_var_assignment_proto));
}
public long StartMin() {
return operations_research_constraint_solverJNI.IntervalVarElement_StartMin(swigCPtr, this);
}
public long StartMax() {
return operations_research_constraint_solverJNI.IntervalVarElement_StartMax(swigCPtr, this);
}
public long StartValue() {
return operations_research_constraint_solverJNI.IntervalVarElement_StartValue(swigCPtr, this);
}
public long DurationMin() {
return operations_research_constraint_solverJNI.IntervalVarElement_DurationMin(swigCPtr, this);
}
public long DurationMax() {
return operations_research_constraint_solverJNI.IntervalVarElement_DurationMax(swigCPtr, this);
}
public long DurationValue() {
return operations_research_constraint_solverJNI.IntervalVarElement_DurationValue(swigCPtr, this);
}
public long EndMin() {
return operations_research_constraint_solverJNI.IntervalVarElement_EndMin(swigCPtr, this);
}
public long EndMax() {
return operations_research_constraint_solverJNI.IntervalVarElement_EndMax(swigCPtr, this);
}
public long EndValue() {
return operations_research_constraint_solverJNI.IntervalVarElement_EndValue(swigCPtr, this);
}
public long PerformedMin() {
return operations_research_constraint_solverJNI.IntervalVarElement_PerformedMin(swigCPtr, this);
}
public long PerformedMax() {
return operations_research_constraint_solverJNI.IntervalVarElement_PerformedMax(swigCPtr, this);
}
public long PerformedValue() {
return operations_research_constraint_solverJNI.IntervalVarElement_PerformedValue(swigCPtr, this);
}
public void SetStartMin(long m) {
operations_research_constraint_solverJNI.IntervalVarElement_SetStartMin(swigCPtr, this, m);
}
public void SetStartMax(long m) {
operations_research_constraint_solverJNI.IntervalVarElement_SetStartMax(swigCPtr, this, m);
}
public void SetStartRange(long mi, long ma) {
operations_research_constraint_solverJNI.IntervalVarElement_SetStartRange(swigCPtr, this, mi, ma);
}
public void SetStartValue(long v) {
operations_research_constraint_solverJNI.IntervalVarElement_SetStartValue(swigCPtr, this, v);
}
public void SetDurationMin(long m) {
operations_research_constraint_solverJNI.IntervalVarElement_SetDurationMin(swigCPtr, this, m);
}
public void SetDurationMax(long m) {
operations_research_constraint_solverJNI.IntervalVarElement_SetDurationMax(swigCPtr, this, m);
}
public void SetDurationRange(long mi, long ma) {
operations_research_constraint_solverJNI.IntervalVarElement_SetDurationRange(swigCPtr, this, mi, ma);
}
public void SetDurationValue(long v) {
operations_research_constraint_solverJNI.IntervalVarElement_SetDurationValue(swigCPtr, this, v);
}
public void SetEndMin(long m) {
operations_research_constraint_solverJNI.IntervalVarElement_SetEndMin(swigCPtr, this, m);
}
public void SetEndMax(long m) {
operations_research_constraint_solverJNI.IntervalVarElement_SetEndMax(swigCPtr, this, m);
}
public void SetEndRange(long mi, long ma) {
operations_research_constraint_solverJNI.IntervalVarElement_SetEndRange(swigCPtr, this, mi, ma);
}
public void SetEndValue(long v) {
operations_research_constraint_solverJNI.IntervalVarElement_SetEndValue(swigCPtr, this, v);
}
public void SetPerformedMin(long m) {
operations_research_constraint_solverJNI.IntervalVarElement_SetPerformedMin(swigCPtr, this, m);
}
public void SetPerformedMax(long m) {
operations_research_constraint_solverJNI.IntervalVarElement_SetPerformedMax(swigCPtr, this, m);
}
public void SetPerformedRange(long mi, long ma) {
operations_research_constraint_solverJNI.IntervalVarElement_SetPerformedRange(swigCPtr, this, mi, ma);
}
public void SetPerformedValue(long v) {
operations_research_constraint_solverJNI.IntervalVarElement_SetPerformedValue(swigCPtr, this, v);
}
public String toString() {
return operations_research_constraint_solverJNI.IntervalVarElement_toString(swigCPtr, this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy