pub fn validate_hypergraph(
hypergraph: &DecodingHypergraph,
) -> Result<(), String>Expand description
Validate hyperedge probabilities, vertex references, and observable indices.
ยงErrors
Rejects invalid probabilities, out-of-range or duplicate vertices, and duplicate observable indices. Observable labels are otherwise unrestricted.