Expand description
AIF (Argument Interchange Format) — AIFdb JSON serialization.
Supports round-tripping a crate::SchemeInstance through the
community-standard AIFdb JSON format. See the crate README for the
exact mapping between our types and AIF nodes/edges.
Structs§
- AifDocument
- A full AIF document: nodes, edges, and two fields we emit as empty arrays for round-trip fidelity with AIFdb output.
- AifEdge
- A directed edge between two AIF nodes.
- AifNode
- A single AIF node. The
typefield discriminates:
Functions§
- aif_
to_ instance - Import an AIF document back into a
crate::instance::SchemeInstance. - instance_
to_ aif - Export a
crate::instance::SchemeInstanceto an AIF document.