From: Anthony S. <an...@cs...> - 2008-06-11 07:32:32
|
Hello Pablo, Thank you for your suggestions. I will look at them carefully. cheers, anthony ---------------------------------------- Anthony Sulistio PhD student Room 5.18a, ICT Building 111 Barry St Department of Computer Science and Software Engineering The University of Melbourne Victoria 3053, Australia Website: http://www.csse.unimelb.edu.au/~anthony ---------------------------------------- On Tue, 3 Jun 2008, pchacin wrote: > 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 > ======================================================================== > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users > |