semi_persistent_containers::define_id31! {
pub struct Plain0Id / StoredPlain0Id, "p0";
}
semi_persistent_containers::define_id31! {
pub struct Plain1Id / StoredPlain1Id, "p1";
}
semi_persistent_containers::define_id31! {
pub struct Plain2Id / StoredPlain2Id, "p2";
}
semi_persistent_containers::define_id31! {
pub struct Plain3Id / StoredPlain3Id, "p3";
}
semi_persistent_containers::define_id31! {
pub struct PlainNId / StoredPlainNId, "pN";
}
semi_persistent_containers::define_id31! {
pub struct SPairNodeId / StoredSPairNodeId, "sp";
}
semi_persistent_containers::define_id31! {
pub struct SeqNodeId / StoredSeqNodeId, "sq";
}
semi_persistent_containers::define_id31! {
pub struct MSetNodeId / StoredMSetNodeId, "mset";
}
semi_persistent_containers::define_id31! {
pub struct SetNodeId / StoredSetNodeId, "set";
}
semi_persistent_containers::define_id31! {
pub struct LitNodeId / StoredLitNodeId, "lit";
}
pub struct DefaultNodeIds;
impl crate::typed_routing::NodeIds for DefaultNodeIds {
type Index = u32;
type L0 = Plain0Id;
type L1 = Plain1Id;
type L2 = Plain2Id;
type L3 = Plain3Id;
type LSPair = SPairNodeId;
type LN = PlainNId;
type LSeq = SeqNodeId;
type LMSet = MSetNodeId;
type LSet = SetNodeId;
type LLit = LitNodeId;
}
semi_persistent_containers::define_id31! {
pub struct LitValId / StoredLitValId, "lv";
}
pub struct DefaultConfig;
impl crate::config::EGraphConfig for DefaultConfig {
type Index = u32;
type G = crate::id::ENodeId;
type ClassKey = crate::id::EClassKey;
type O = crate::id::OpId;
type S = crate::id::SortId;
type V = LitValId;
type UL = crate::id::UseListId;
type UN = crate::id::UseNodeId;
type C = crate::node_store::MSetChild<crate::id::ENodeId>;
type M = crate::multiplicity::Multiplicity;
type Ids = DefaultNodeIds;
type Au = crate::au::AuIds31;
crate::impl_mset_child_pair!();
}
semi_persistent_containers::define_id63! { pub struct ENodeId64 / StoredENodeId64, "e64"; }
semi_persistent_containers::define_id63! { pub struct EClassKey64 / StoredEClassKey64, "ec64"; }
semi_persistent_containers::define_id63! { pub struct OpId64 / StoredOpId64, "op64"; }
semi_persistent_containers::define_id63! { pub struct SortId64 / StoredSortId64, "s64"; }
semi_persistent_containers::define_id63! { pub struct UseListId64 / StoredUseListId64, "ul64"; }
semi_persistent_containers::define_id63! { pub struct UseNodeId64 / StoredUseNodeId64, "un64"; }
semi_persistent_containers::define_id63! { pub struct LitValId64 / StoredLitValId64, "lv64"; }
semi_persistent_containers::define_id63! { pub struct Plain0Id64 / StoredPlain0Id64, "p0_64"; }
semi_persistent_containers::define_id63! { pub struct Plain1Id64 / StoredPlain1Id64, "p1_64"; }
semi_persistent_containers::define_id63! { pub struct Plain2Id64 / StoredPlain2Id64, "p2_64"; }
semi_persistent_containers::define_id63! { pub struct Plain3Id64 / StoredPlain3Id64, "p3_64"; }
semi_persistent_containers::define_id63! { pub struct PlainNId64 / StoredPlainNId64, "pN_64"; }
semi_persistent_containers::define_id63! { pub struct SPairNodeId64 / StoredSPairNodeId64, "sp64"; }
semi_persistent_containers::define_id63! { pub struct SeqNodeId64 / StoredSeqNodeId64, "sq64"; }
semi_persistent_containers::define_id63! { pub struct MSetNodeId64 / StoredMSetNodeId64, "mset64"; }
semi_persistent_containers::define_id63! { pub struct SetNodeId64 / StoredSetNodeId64, "set64"; }
semi_persistent_containers::define_id63! { pub struct LitNodeId64 / StoredLitNodeId64, "lit64"; }
pub struct NodeIds64;
impl crate::typed_routing::NodeIds for NodeIds64 {
type Index = u64;
type L0 = Plain0Id64;
type L1 = Plain1Id64;
type L2 = Plain2Id64;
type L3 = Plain3Id64;
type LSPair = SPairNodeId64;
type LN = PlainNId64;
type LSeq = SeqNodeId64;
type LMSet = MSetNodeId64;
type LSet = SetNodeId64;
type LLit = LitNodeId64;
}
pub struct Config64;
impl crate::config::EGraphConfig for Config64 {
type Index = u64;
type G = ENodeId64;
type ClassKey = EClassKey64;
type O = OpId64;
type S = SortId64;
type V = LitValId64;
type UL = UseListId64;
type UN = UseNodeId64;
type C = crate::node_store::MSetChild<ENodeId64, crate::multiplicity::Multiplicity64>;
type M = crate::multiplicity::Multiplicity64;
type Ids = NodeIds64;
type Au = crate::au::AuIds64;
crate::impl_mset_child_pair!();
}
pub struct ConfigM16;
impl crate::config::EGraphConfig for ConfigM16 {
type Index = u32;
type G = crate::id::ENodeId;
type ClassKey = crate::id::EClassKey;
type O = crate::id::OpId;
type S = crate::id::SortId;
type V = LitValId;
type UL = crate::id::UseListId;
type UN = crate::id::UseNodeId;
type C = crate::node_store::MSetChild<crate::id::ENodeId, crate::multiplicity::Multiplicity16>;
type M = crate::multiplicity::Multiplicity16;
type Ids = DefaultNodeIds;
type Au = crate::au::AuIds31;
crate::impl_mset_child_pair!();
}