atomica.optimization.Adjustment¶
- class atomica.optimization.Adjustment(name)[source]¶
Bases:
object
Class to represent changes to instructions
An
Adjustment
represents 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
Adjustables
Methods
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
) – TheProgramSet
being used for the optimizationinstructions (
ProgramInstructions
) – The initial instructions
- Return type:
- Returns:
A list of initial values, one for each adjustable