Class TypeOneBlocks

java.lang.Object
solvers.linearSystem.btf.topLevelBlocks.MacroBlockSelectionPolicy
solvers.linearSystem.btf.topLevelBlocks.TypeOneBlocks

public class TypeOneBlocks extends MacroBlockSelectionPolicy
A policy to select the Type 1 Macro Blocks for lower class linear systems
Author:
Jack Bradshaw
  • Constructor Details

    • TypeOneBlocks

      protected TypeOneBlocks(QNModel qnm, TopLevelBlock full_block, int currnet_class)
  • Method Details

    • selectMacroBlocks

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