Class OutputSection

All Implemented Interfaces:
Serializable, Cloneable, Copyable
Direct Known Subclasses:
Dispatcher, Firing, Forker, Linkage

public class OutputSection extends Section implements Serializable
Output section of a node
See Also:
  • Field Details

  • Constructor Details

    • OutputSection

      public OutputSection(String className)
  • Method Details

    • getOutputStrategies

      public final List<OutputStrategy> getOutputStrategies()
    • copyElement

      public OutputSection copyElement()
      Description copied from class: Section
      Returns a copy of this section, twin of the MATLAB copyElement of a Copyable section. The copy is shallow in the same sense as MATLAB's: the section object and its containers are new, while the model elements they refer to (job classes, destination nodes, distributions) stay shared. Subclasses holding containers override this to copy them.
      Overrides:
      copyElement in class Section
      Returns:
      a copy of this section
    • getOutputStrategyByClass

      public List<OutputStrategy> getOutputStrategyByClass(JobClass jobClass)
    • printSummary

      public void printSummary()
    • probabilityUpdate

      protected void probabilityUpdate()
    • resetRouting

      public void resetRouting()
    • setOutputStrategy

      public void setOutputStrategy(JobClass jobClass, RoutingStrategy routingStrategy)
    • resetDisabledOutputStrategy

      public void resetDisabledOutputStrategy(JobClass jobClass)
      Like setOutputStrategy(JobClass, RoutingStrategy) but only resets the class if it currently has the RoutingStrategy.DISABLED default. Classes that have had meaningful routing configured upstream (e.g. by Cache.setRetrievalSystem which runs before Network.link) are preserved. Used by Dispatcher.initDispatcherJobClasses(java.util.List<jline.lang.JobClass>) during link() re-initialization so the clearing step does not destroy pre-link routing for auto-created retrieval-system classes.
    • setSQParams

      public void setSQParams(JobClass jobClass, int d)
      Stores SQ routing parameters (k and memory flag) for the given class.
    • setOutputStrategy

      public void setOutputStrategy(JobClass jobClass, RoutingStrategy routingStrategy, Node destination, double probability)