m_n_kappa.solver.Solver#

class m_n_kappa.solver.Solver(data, target, variable)#

Bases: object

Meta Solver-Class

New in version 0.1.0.

Parameters:
  • data (list[dict] | list[list]) – data containing target and variable keys

  • target (str | int) – key of the target (e.g. str for dictionaries or int for lists)

  • variable (str | int) – variable of the target (e.g. str for dictionaries or int for lists)

Methods

compute([use_fallback])

Attributes

data

passed data

maximum_variable

maximum variable value given in data

minimum_variable

minimum variable value given in data

target

key of the target in data

variable

key of the variable in data

x_n

lastly computed variable value

x_n_plus_1

new computed value

property data: list#

passed data

property maximum_variable: float#

maximum variable value given in data

property minimum_variable: float#

minimum variable value given in data

property target: str | int#

key of the target in data

property variable: str | int#

key of the variable in data

property x_n: float#

lastly computed variable value

property x_n_plus_1: float#

new computed value