parameters: (self)
docstring: Assign constraints to their associated symbols.
docstring_summary: Assign constraints to their associated symbols.
docstring_tokens: Assign constraints to their associated symbols .
function: def optimize_constraint_access(self):
          "Assign constraints to their associated symbols."
          for entry in self.dictionary.values():
              entry.constraints = []
          for requirement in self.reduced:
              for symbol in flatten_expr(requirement):
                  if not requirement in symbol.constraints:
                      symbol.constraints.append(requirement)
function_tokens: def optimize_constraint_access ( self ) : for entry in self . dictionary . values ( ) : entry . constraints = [ ] for requirement in self . reduced : for symbol in flatten_expr ( requirement ) : if not requirement in symbol . constraints : symbol . constraints . append ( requirement )