Class MicroBlockSelectionPolicy
java.lang.Object
solvers.linearSystem.btf.macroBlocks.MicroBlockSelectionPolicy
- Direct Known Subclasses:
TypeOneBlocks, TypeTwoABlocks
A class to encapsulate the various policies for selecting Macro Blocks when considering lower classes
- Author:
- Jack Bradshaw
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MacroBlockThe full TopLevelBlock containing ALL macro blocks -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMicroBlockSelectionPolicy(QNModel qnm, MacroBlock full_block) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract MicroBlock[]selectMicroBlocks(int current_class) Selects the required macro blocks as per the policy
-
Field Details
-
full_block
The full TopLevelBlock containing ALL macro blocks
-
-
Constructor Details
-
MicroBlockSelectionPolicy
Constructor- Parameters:
qnm- The Queueing Network Model under considerationfull_block- The full TopLevelBlock containing ALL macro blocks
-
-
Method Details
-
selectMicroBlocks
Selects the required macro blocks as per the policy- Parameters:
current_class- The current class being considered.
-