Skip to main content
Rust4PM

VariantAlignmentResult

Alignment result for a single trace variant
Used as Input

0

functions accept this type(+1 nested)

Used as Output

0

functions return this type(+1 nested)

Type Definition

33 nested items
struct— Alignment result for a single trace variant
activities*:Vec<String>— The variant's activity sequence
[items]:String
frequency*:u64— How many traces follow this variant
result*:Result<AlignmentResult, AlignmentError>

Example JSON Value

json
{
  "activities": [
    "example"
  ],
  "frequency": 1,
  "result": {
    "Ok": {
      "cost": 1,
      "moves": [
        {
          "SyncMove": {
            "trace_event_index": 1,
            "transition": "example"
          }
        }
      ],
      "states_visited": 1
    }
  }
}