Skip to content
Snippets Groups Projects
Select Git revision
  • 32b0dc6026b4a0e4eee9558d4c06628d06aee61a
  • master default
  • dev_general
  • 0.1.5
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
8 results

LibraryInterface.java

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    LibraryInterface.java 3.25 KiB
    /* ----------------------------------------------------------------------------
     * This file was automatically generated by SWIG (http://www.swig.org).
     * Version 3.0.8
     *
     * Do not make changes to this file unless you know what you are doing--modify
     * the SWIG interface file instead.
     * ----------------------------------------------------------------------------- */
    
    package de.hhu.ba.yoshikoWrapper.swig;
    
    public class LibraryInterface {
      public static void edge_sourceID_set(SWIGTYPE_p_yskInput__edge self, int value) {
        LibraryInterfaceJNI.edge_sourceID_set(SWIGTYPE_p_yskInput__edge.getCPtr(self), value);
      }
    
      public static int edge_sourceID_get(SWIGTYPE_p_yskInput__edge self) {
        return LibraryInterfaceJNI.edge_sourceID_get(SWIGTYPE_p_yskInput__edge.getCPtr(self));
      }
    
      public static void edge_targetID_set(SWIGTYPE_p_yskInput__edge self, int value) {
        LibraryInterfaceJNI.edge_targetID_set(SWIGTYPE_p_yskInput__edge.getCPtr(self), value);
      }
    
      public static int edge_targetID_get(SWIGTYPE_p_yskInput__edge self) {
        return LibraryInterfaceJNI.edge_targetID_get(SWIGTYPE_p_yskInput__edge.getCPtr(self));
      }
    
      public static void edge_cost_set(SWIGTYPE_p_yskInput__edge self, double value) {
        LibraryInterfaceJNI.edge_cost_set(SWIGTYPE_p_yskInput__edge.getCPtr(self), value);
      }
    
      public static double edge_cost_get(SWIGTYPE_p_yskInput__edge self) {
        return LibraryInterfaceJNI.edge_cost_get(SWIGTYPE_p_yskInput__edge.getCPtr(self));
      }
    
      public static SWIGTYPE_p_yskInput__edge new_edge() {
        long cPtr = LibraryInterfaceJNI.new_edge();
        return (cPtr == 0) ? null : new SWIGTYPE_p_yskInput__edge(cPtr, true);
      }
    
      public static void delete_edge(SWIGTYPE_p_yskInput__edge self) {
        LibraryInterfaceJNI.delete_edge(SWIGTYPE_p_yskInput__edge.getCPtr(self));
      }
    
      public static SWIGTYPE_p_ysk__ClusterEditingInstance LibraryInput_parseInput(SWIGTYPE_p_yskInput__LibraryInput self) {
        long cPtr = LibraryInterfaceJNI.LibraryInput_parseInput(SWIGTYPE_p_yskInput__LibraryInput.getCPtr(self));
        return (cPtr == 0) ? null : new SWIGTYPE_p_ysk__ClusterEditingInstance(cPtr, false);
      }
    
      public static SWIGTYPE_p_yskInput__LibraryInput new_LibraryInput() {
        long cPtr = LibraryInterfaceJNI.new_LibraryInput();
        return (cPtr == 0) ? null : new SWIGTYPE_p_yskInput__LibraryInput(cPtr, true);
      }
    
      public static void LibraryInput_setSize(SWIGTYPE_p_yskInput__LibraryInput self, int id) {
        LibraryInterfaceJNI.LibraryInput_setSize(SWIGTYPE_p_yskInput__LibraryInput.getCPtr(self), id);
      }
    
      public static void LibraryInput_addEdge(SWIGTYPE_p_yskInput__LibraryInput self, int sourceID, int targetID, double cost) {
        LibraryInterfaceJNI.LibraryInput_addEdge(SWIGTYPE_p_yskInput__LibraryInput.getCPtr(self), sourceID, targetID, cost);
      }
    
      public static void delete_LibraryInput(SWIGTYPE_p_yskInput__LibraryInput self) {
        LibraryInterfaceJNI.delete_LibraryInput(SWIGTYPE_p_yskInput__LibraryInput.getCPtr(self));
      }
    
      public static String getVersionString() {
        return LibraryInterfaceJNI.getVersionString();
      }
    
      public static SWIGTYPE_p_ysk__ClusterEditingInstance createNewProblemInstance() {
        long cPtr = LibraryInterfaceJNI.createNewProblemInstance();
        return (cPtr == 0) ? null : new SWIGTYPE_p_ysk__ClusterEditingInstance(cPtr, false);
      }
    
    }