Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
preparing get_onelink_routes and is_router for each routing model
[simgrid.git] / src / surf / maxmin.c
index 027fca4..accceb5 100644 (file)
@@ -723,6 +723,14 @@ XBT_INLINE lmm_constraint_t lmm_get_next_active_constraint(lmm_system_t sys,
   return xbt_swag_getNext(cnst, (sys->active_constraint_set).offset);
 }
 
+#ifdef HAVE_LATENCY_BOUND_TRACKING
+XBT_INLINE int lmm_is_variable_limited_by_latency(lmm_variable_t var)
+{
+  return (double_equals(var->bound, var->value));
+}
+#endif
+
+
 /** \brief Update the constraint set propagating recursively to
  *  other constraints so the system should not be entirely computed.
  *