There was a small confusion in the class reagrding , what happens when a Harbor has more than one input docks.
Here is what I observed,
#When a harbor has more than one input dock, Fluency waits till the "Ships" dont arrive at all the docks. In other words, Fluency fires the harbor only when all the ships arrive at their respective docks.There may be a case that no ships arrive at dock 1 and 2 ships have already reached dock 2. Harbor is fired as soon as a Ship reaches dock 1.
#Fluency maintains a queue near the docks. So in the above case if 3 ships arrive at dock 2, then the ships at dock 2 are served at first come first serve basis.
#We can also say that the ships are cached and there may be cases when a recent version of ship from dock 1 and a older version of ship from dock 2 , are passed as an input to the harbor.
All these work are done by the Harbor class.
Comments (1)
Oct 26, 2007
whoknows says:
i'd thought that that's more or less the conclusion we came to in the last class...i'd thought that that's more or less the conclusion we came to in the last class after you reported on what you'd found in the harbor class. i think it's a reasonable first cut at supporting actions in fluency.
other questions came up though:
gjer