Class MacroBlockSelectionPolicy

java.lang.Object
solvers.linearSystem.btf.topLevelBlocks.MacroBlockSelectionPolicy
Direct Known Subclasses:
TypeOneBlocks, TypeTwoABlocks

public abstract class MacroBlockSelectionPolicy extends Object
A class to encapsulate the various policies for selecting Macro Blocks when constructing the linear systems for lower classes.
Author:
Jack Bradshaw
  • Field Details

    • full_block

      protected TopLevelBlock full_block
      The full TopLevelBlock containing ALL macro blocks
  • Constructor Details

    • MacroBlockSelectionPolicy

      protected MacroBlockSelectionPolicy(QNModel qnm, TopLevelBlock full_block)
      Constructor
      Parameters:
      qnm - The Queueing Network Model under consideration
      full_block - The full TopLevelBlock containing ALL macro blocks
  • Method Details

    • selectMacroBlocks

      protected abstract MacroBlock[] selectMacroBlocks(int current_class)
      Selects the required macro blocks as per the policy and returns a list of the sub-blocks of those macro blocks
      Parameters:
      current_class - The current class being considered.
      Returns:
      Array of selected sub-MacroBlocks