atomica.optimization.Adjustment¶
- class atomica.optimization.Adjustment(name)[source]¶
Bases:
objectClass to represent changes to instructions
An
Adjustmentrepresents a change to program instructions, governed by one or moreAdjustables. This base class specifies the interface for allAdjustments- Parameters:
name – The name of the adjustment
Attributes
A list of
AdjustablesMethods
Return initial values for ASD
update_instructions- adjustables¶
A list of
Adjustables
- get_initialization(progset, instructions)[source]¶
Return initial values for ASD
- Parameters:
progset (
ProgramSet) – TheProgramSetbeing used for the optimizationinstructions (
ProgramInstructions) – The initial instructions
- Return type:
- Returns:
A list of initial values, one for each adjustable