Class TypeTwoABlocks

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

public class TypeTwoABlocks extends MacroBlockSelectionPolicy
A policy to select the Type 2(a) Macro Blocks for lower class linear systems
Author:
Jack Bradshaw
  • Constructor Details

    • TypeTwoABlocks

      protected TypeTwoABlocks(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