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
FitnessResult— Alignment Fitness Result
average_fitness*:f64— Average trace fitness (across all traces)
log_fitness*:f64— Log fitness, as the total computed fitness (summing up the costs for all traces)
perfectly_fitting_frac*:f64— Fraction of traces that perfectly fit (i.e., have an alignment cost of 0)
total_costs*:u64— The total cost, summed up from all traces

Example JSON Value

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

Functions Returning This Type(1)