Package jline.api.sn
Class SnHasImmfeed
java.lang.Object
jline.api.sn.SnHasImmfeed
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanWhether immediate feedback is EFFECTIVE anywhere in the model.
-
Method Details
-
snHasImmfeed
Whether immediate feedback is EFFECTIVE anywhere in the model. A declaration alone is not enough. Queue.setImmediateFeedback marks a station and JobClass.setImmediateFeedback marks a class -- and the class spelling marks EVERY station, since sn.immfeed is the OR of the two -- so a model with no self-loop at all can carry a full sn.immfeed matrix while the feature changes nothing. Reading the raw matrix made every solver that consults it warn, or refuse, on a plain M/M/1 that merely mentioned the flag. Immediate feedback is effective at (station i, class r) when sn.immfeed(i,r) holds AND the routing table has a self-loop INTO (i,r) from some class s at the same station, which is the only way a job can come back to the server it just left. A class switch on the way round is folded into sn.rt by refreshRouting, so the incoming class s need not be r. Solvers that handle immediate feedback look at the SYNCHRONIZATION instead; see State.immfeedSelfLoop, which applies the same test per sync.- Parameters:
sn- - NetworkStruct object for the queueing network model- Returns:
- boolean
-