ajar.judging_agent.Activation#

class ajar.judging_agent.Activation(activated: int = 0, total: int = 0)[source]#

Bases: object

Memorizes the activation rates of arguments (for post-run analysis).

__init__(activated: int = 0, total: int = 0) None#

Methods

__init__([activated, total])

Attributes

activated

Number of times an argument was activated, i.e., both alive in a given situation and part of the grounded extension.

proportion

Proportion of time steps in which the argument was activated.

total

Total number of time steps the argument was present in the graph.

activated: int = 0#

Number of times an argument was activated, i.e., both alive in a given situation and part of the grounded extension.

property proportion: float#

Proportion of time steps in which the argument was activated.

total: int = 0#

Total number of time steps the argument was present in the graph.