Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Compile pas, c'te merde
[simgrid.git] / src / include / surf / maxmin.h
index 4602baf..b75ded8 100644 (file)
@@ -1,7 +1,9 @@
-/* Authors: Arnaud Legrand                                                  */
+/*     $Id$     */
+
+/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
 
 /* This program is free software; you can redistribute it and/or modify it
  under the terms of the license (GNU LGPL) which comes with this package. */
* under the terms of the license (GNU LGPL) which comes with this package. */
 
 #ifndef _SURF_MAXMIN_H
 #define _SURF_MAXMIN_H
@@ -32,6 +34,8 @@ void lmm_expand(lmm_system_t sys, lmm_constraint_t cnst,
 
 lmm_constraint_t lmm_get_cnst_from_var(lmm_system_t sys, lmm_variable_t var, int num);
 int lmm_get_number_of_cnst_from_var(lmm_system_t sys, lmm_variable_t var);
+lmm_variable_t lmm_get_var_from_cnst(lmm_system_t sys, lmm_constraint_t cnst, 
+                                    lmm_variable_t *var);
 
 void *lmm_constraint_id(lmm_constraint_t cnst);
 void *lmm_variable_id(lmm_variable_t var);