From: pchacin <pc...@ac...> - 2008-06-03 11:26:28
|
Hi all I'm just starting to use gridsim. Looking at the code of ResouceCalendar class, I've seen that the background load is calculated using the "regularload" array, which is defined internally in the class's construct methods. Therefore it seams that I can't change it. Is this correct? If so, I would suggest to modify the code to allow this array to me customized. Some options are: 1. make it a protected field and initialize it in the declaration so that subclasses could redefine it. 2. Pass it as a parameter to the constructor (a better option) Regards -- ======================================================================== 0 0 0 Pablo Chacin | Dept. d'Arquitectura de Computadors 0 0 0 e-mail: pc...@ac... | UPC-Campus Nord. Modul D6-212 0 0 0 phone: +34 +93 405 4059 | Jordi Girona, 1-3 U P C fax: +34 +93 401 7055 | 08034 Barcelona - SPAIN www: http://personals.ac.upc.es/pchacin ======================================================================== |