Skip to main content

DiscoveredSchema

One enumerated schema with its computed stats and equivalence class.
Used as Input

0

functions accept this type

Used as Output

0

functions return this type(+1 nested)

Type Definition

34 nested items
structOne enumerated schema with its computed stats and equivalence class.
equivalence_class*:i64<uint>Index into PathSchemaDiscovery::equivalence_classes.
index*:i64<uint>Enumeration index (stable for a given source/target/max_length/allowed_types).
is_dead*:boolWhether the schema has zero connections.
length*:i64<uint>Number of steps in the schema.
limit_reached*:boolWhether the connection limit was reached (results may be incomplete).
schema*:StringHuman-readable schema string.
selectivity_pruned*:boolWhether selectivity-based early termination was triggered.
source*:TypeRefA reference to an OCEL type: an event type or an object type, by name.
stats*:SchemaStatsMetrics plus optional throughput for a single schema.
target*:TypeRefA reference to an OCEL type: an event type or an object type, by name.

Example JSON Value

{
  "equivalence_class": 1,
  "index": 1,
  "is_dead": false,
  "length": 1,
  "limit_reached": false,
  "schema": "example",
  "selectivity_pruned": false,
  "source": {
    "Event": "example"
  },
  "stats": {
    "metrics": {
      "coverage": 0.2,
      "exclusivity": 0.2,
      "path_count": 1,
      "reach": 0.2,
      "selectivity": 0.2,
      "sources_with_paths": 1,
      "support": 1,
      "total_sources": 1
    }
  },
  "target": {
    "Event": "example"
  }
}