Skip to main content
Rust4PM

DirectlyFollowsGraph

A directly-follows graph of Activitys, with its start and end activities.
Activities and directly-follows relations are annotated with their frequency, and start and
end activities with how many traces start or end with them.
Used as Input

5

functions accept this type(+5 nested)

Used as Output

1

function return this type(+1 nested)

Type Definition

12 nested items
struct— A directly-follows graph of Activitys, with its start and end activities.
activities*:HashMap<String, u32>— Activities
[key: string]:u32
directly_follows_relations*:Vec<((String, String), u32)>— Directly-follows relations
end_activities*:HashMap<String, u32>— End activities, with how many traces end with each
[key: string]:u32
start_activities*:HashMap<String, u32>— Start activities, with how many traces start with each
[key: string]:u32

Example JSON Value

json
{
  "activities": {
    "something": 1
  },
  "directly_follows_relations": [
    [
      [
        "example",
        "example"
      ],
      1
    ]
  ],
  "end_activities": {
    "something": 1
  },
  "start_activities": {
    "something": 1
  }
}

Functions Accepting This Type(5)

Functions Returning This Type(1)