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 6f4787f..f3dab49 100644 (file)
@@ -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,12 +35,6 @@ public class Model {
     }
   }
 
-  
-  /**
-    * 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);
   }
@@ -63,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);
   }
@@ -81,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);