Questions? Answers? Comments? Comments on Questions or Answers?
(Back to Final Exam Review Spring2006)
more load:
change '' public int newLoad(){
return 10+randNumGen.nextInt(11);
} ''
to '' public int newLoad(){
return 20+randNumGen.nextInt(11);
} ''
speed:
change '' public double tripTime(){
double delay = randNumGen.nextGaussian()+3; ''
to '' public double tripTime(){
double delay = randNumGen.nextGaussian()+2; ''
i think, let me know if i'm right/wrong
jacob
Sorry – forgot to post after we discussed this in class. Yup, this looks completely right! Mark Guzdial