Skip to main content

interaction

Overloads

NameDescription
interaction(const Function<Boxed_Value(integer)> factory, const string neighbourhood_name) -> InteractionConstructs an interaction that can be added to a model.
interaction(const string coefficient_name, const Function<Boxed_Value(integer)> factory, const string neighbourhood_name) -> InteractionConstructs a interaction that can be added to a model.
interaction(const string coefficient_name, const List<AlephSingleSiteOperatorFactory> factories, const string neighbourhood_name) -> InteractionConstructs a interaction that can be added to a model.

interaction(const Function<Boxed_Value(integer)> factory, const string neighbourhood_name) -> Interaction

Constructs an interaction that can be added to a model.

Parameters

  • factory: A single site operator factory.
  • neighbourhood_name: The name of the neighbourhood on which the interaction is defined.

interaction(const string coefficient_name, const Function<Boxed_Value(integer)> factory, const string neighbourhood_name) -> Interaction

Constructs a interaction that can be added to a model.

Parameters

  • coefficient_name: The name of the coefficient multiplying this interaction.
  • factory: A single site operator factory.
  • neighbourhood_name: The name of the neighbourhood on which the interaction is defined.

interaction(const string coefficient_name, const List<AlephSingleSiteOperatorFactory> factories, const string neighbourhood_name) -> Interaction

Constructs a interaction that can be added to a model.

Parameters

  • coefficient_name: The name of the coefficient multiplying this interaction.
  • factories: The single site operator factories whose output is multiplied together to produce the interaction.
  • neighbourhood_name: The name of the neighbourhood on which the interaction is defined.