All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.ortools.constraintsolver.RoutingModelVisitor Maven / Gradle / Ivy

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 RoutingModelVisitor extends BaseObject {
  private transient long swigCPtr;

  protected RoutingModelVisitor(long cPtr, boolean cMemoryOwn) {
    super(operations_research_constraint_solverJNI.RoutingModelVisitor_SWIGUpcast(cPtr), cMemoryOwn);
    swigCPtr = cPtr;
  }

  protected static long getCPtr(RoutingModelVisitor 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_RoutingModelVisitor(swigCPtr);
      }
      swigCPtr = 0;
    }
    super.delete();
  }

  public static String getKLightElement() {
    return operations_research_constraint_solverJNI.RoutingModelVisitor_kLightElement_get();
  }

  public static String getKLightElement2() {
    return operations_research_constraint_solverJNI.RoutingModelVisitor_kLightElement2_get();
  }

  public RoutingModelVisitor() {
    this(operations_research_constraint_solverJNI.new_RoutingModelVisitor(), true);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy