Class HistoryStatistics
Provides aggregated statistics for a mutation history.
Inherited Members
Namespace: ModularityKit.Mutator.Abstractions.History
Assembly: ModularityKit.Mutator.dll
Syntax
public sealed class HistoryStatistics
Remarks
HistoryStatistics summarizes key metrics about the mutations applied to a state, such as the total number of mutations, unique actors involved, distribution by category, and average number of changes per mutation.
This class is typically returned by GetStatistics() and is used for auditing, reporting, and monitoring purposes.
Properties
| Edit this page View SourceAverageChangesPerMutation
Average number of state changes per mutation.
Declaration
public double AverageChangesPerMutation { get; init; }
Property Value
| Type | Description |
|---|---|
| double |
MutationsByCategory
Count of mutations grouped by their category.
Declaration
public IReadOnlyDictionary<string, int> MutationsByCategory { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, int> |
TotalMutations
Total number of mutations in the history.
Declaration
public int TotalMutations { get; init; }
Property Value
| Type | Description |
|---|---|
| int |
UniqueActors
Number of distinct actors who performed mutations.
Declaration
public int UniqueActors { get; init; }
Property Value
| Type | Description |
|---|---|
| int |