Skip to main content
Rust4PM

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
struct— One 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*:bool— Whether the schema has zero connections.
length*:i64<uint>— Number of steps in the schema.
limit_reached*:bool— Whether the connection limit was reached (results may be incomplete).
schema*:String— Human-readable schema string.
selectivity_pruned*:bool— Whether selectivity-based early termination was triggered.
source*:TypeRef— A reference to an OCEL type: an event type or an object type, by name.
stats*:SchemaStats— Metrics plus optional throughput for a single schema.
target*:TypeRef— A reference to an OCEL type: an event type or an object type, by name.

Example JSON Value

json
{
  "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"
  }
}