From: lijiang <riv...@ho...> - 2010-03-20 20:35:03
|
hello, everyone, I have read the example code of simulation with failure. In the example, class "HyperExponential" is used to produce the random of failure-number,failure-begin-time and failure-length. And it seems that the failure on a resource happens only one time.In my Project I want to do this job: On a certain resource the failures should be produced many times with a certain percent. For example: On a resource "Res1" the failures should be stochastic produced many times during 100 minutes. And the sum of failure-intervals should be 5% of the whole time-interval. It means that the sum of the failures on "Res1" should be 5 minutes. Question1:In GridSim can we let many failures produced on a certain resource? When yes, how? Question2:Can class "HyperExponential" produce this kind of radom failures? When not, is there any other java-class that can do it? Thanks regards Jiang Li _________________________________________________________________ Hotmail:Microsoft 强大的垃圾邮件防护技术,为您提供可靠的电子邮件保障。 https://signup.live.com/signup.aspx?id=60969 |