P3 "time" design differed resulting in penalty

[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by berto! on December 12, 2001 at 13:46:28:

hey all - hope everybody had a good demo.

I have a question to the general 2704 public and to the professors also about the tick/time concept. In my implementation, i had a simulator manager class that managed the simulation. In short:

- my implementation did have inheritance
- my tow trucks moved themselves
- they picked up cars on their own

the only thing that differed was that i didn't have a function or the like where i passed tick the trucks individually.

instead, my management class governed time and depending on each tick, each truck would "run" themselves, just for that one tick, traversing through the dispatcher's list of trucks.

problem -
my TA took off 5 points because of that. Mentioned something about my design wasn't what the professors had.

my point -
my point is that i didn't violate the spec. I didn't find it anywhere in the spec where you had to make the trucks update themselves, via passing tick to the trucks individually. in fact, i thought my implementation was complete.

I'm not so much barking, but I would like to know how i violated the spec [as to receiving a deduction of 5 points]. keep in mind, my TA never said that i violated the spec, he just said that my implementation wasn't like the professors.

thank you for your input

Follow Ups:

Post a Followup




Optional Link URL:
Link Title:
Optional Image URL:

[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]