Skip to main content

FitnessResult

Alignment Fitness Result
Used as Input

0

functions accept this type

Used as Output

1

function return this type

Type Definition

4 nested items
FitnessResultAlignment Fitness Result
average_fitness*:f64Average trace fitness (across all traces)
log_fitness*:f64Log fitness, as the total computed fitness (summing up the costs for all traces)
perfectly_fitting_frac*:f64Fraction of traces that perfectly fit (i.e., have an alignment cost of 0)
total_costs*:u64The total cost, summed up from all traces

Example JSON Value

{
  "average_fitness": 0.2,
  "log_fitness": 0.2,
  "perfectly_fitting_frac": 0.2,
  "total_costs": 1
}

Functions Returning This Type(1)