00001 /************************************************************************* 00002 This file is part of MESH. 00003 00004 MESH is free software: you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation, either version 3 of the License, or 00007 (at your option) any later version. 00008 00009 MESH is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with MESH. If not, see <http://www.gnu.org/licenses/>. 00016 **************************************************************************/ 00021 #ifndef MESH_DEF_RESOURCES_H 00022 #define MESH_DEF_RESOURCES_H 00023 00039 double mesh_resource_default(mesh_resource *cr, GSList *feature_arrays); 00040 00041 // this is the default shared resource handler 00042 double mesh_shared_resource_default(mesh_resource *cr, double *feature_array); 00043 00058 void mesh_contention_resolution_default(mesh_resource *cr, 00059 GSList *uncontended_times, 00060 mesh_time time_step); 00061 00062 #endif 00063
1.7.1