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 more Adjustables. This base class specifies the interface for all Adjustments

Parameters

name – The name of the adjustment

Attributes

adjustables

A list of Adjustables

Methods

get_initialization

Return initial values for ASD

update_instructions

adjustables

A list of Adjustables

get_initialization(progset, instructions)[source]

Return initial values for ASD

Parameters
Return type

list

Returns

A list of initial values, one for each adjustable