Package ptolemy.domains.sdf.optimize
Class OptimalScheduleFinder._Channel
- java.lang.Object
-
- ptolemy.domains.sdf.optimize.OptimalScheduleFinder._Channel
-
- Enclosing class:
- OptimalScheduleFinder
protected static class OptimalScheduleFinder._Channel extends java.lang.Object
the state of the channel in the channel array has one integer at stateIndex indicating the number of tokens in the channel and another integer at stateIndex+1 indicating how many consumer are still to read the token I need to remember per receiver how many tokens there are for that receiver. If a token is produced, then the value increases for all consumers. When a consumer reads it decreases only for that consumer.