Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[surf] Move some code in a simgrid::surf namespace
[simgrid.git] / src / bindings / java / org / simgrid / surf / Model.java
index 3e6e7f8..f3dab49 100644 (file)
@@ -1,6 +1,6 @@
 /* ----------------------------------------------------------------------------
  * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 2.0.12
  *
  * Do not make changes to this file unless you know what you are doing--modify
  * the SWIG interface file instead.
@@ -8,16 +8,6 @@
 
 package org.simgrid.surf;
 
-/**
-  * A component (e.g., Cpu, Network, Storage, ...) is composed of three classes:
-  * <ul>
-  *  <li> Model: It handle the interactions between resoucses and actions</li>
-  *  <li> Resource: A resource used by the model (e.g., a cpu, a network link)</li>
-  *  <li> Action: An action generated by the resources (e.g., execution, communication)</li>
-  * </ul>
-  * @see Resource
-  * @see Action
-  */
 public class Model {
   private long swigCPtr;
   protected boolean swigCMemOwn;
@@ -45,20 +35,6 @@ public class Model {
     }
   }
 
-  
-  /**
-    * @return The name of the model
-    */
-  public String getName() {
-    return SurfJNI.Model_getName(swigCPtr, this);
-  }
-
-  
-  /**
-    * Share the resources between the actions
-    * @param now the current time
-    * @return the date of the next action of the model will finish
-    */
   public double shareResources(double now) {
     return SurfJNI.Model_shareResources(swigCPtr, this, now);
   }
@@ -71,12 +47,6 @@ public class Model {
     return SurfJNI.Model_shareResourcesFull(swigCPtr, this, now);
   }
 
-  
-  /**
-    * Update time of actions and eventually their states
-    * @param now the new current time
-    * @param delta the delta between previous and new current time
-    */
   public void updateActionsState(double now, double delta) {
     SurfJNI.Model_updateActionsState(swigCPtr, this, now, delta);
   }
@@ -89,10 +59,6 @@ public class Model {
     SurfJNI.Model_updateActionsStateFull(swigCPtr, this, now, delta);
   }
 
-  
-  /**
-    * Get the List of running Actions
-    */
   public ActionList getRunningActionSet() {
     long cPtr = SurfJNI.Model_getRunningActionSet(swigCPtr, this);
     return (cPtr == 0) ? null : new ActionList(cPtr, false);