package electrod
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=4da251e58d97c797d6e940e586d225a09715777fbb1b25c5527a6a2e1e3c2d58
sha512=89c45ebd0d3401b17eac4217289ed21ec87135ab5fa62bf63b2bed1ad1435a381e3434582c2ec99c2e6d8d87ce23cecfa7ba14d76234493992ae06879b808dd2
doc/electrod.libelectrod/Libelectrod/Domain/index.html
Module Libelectrod.Domain
Source
The domain represents the set of relation declarations.
Virtually: a map between relation names and their definition as sets of tuples.
Adds an asociation to the domain. The name must not be in the domain already.
Accessors
May raise Not_found.
May rather return None.
Returns the set of atoms in univ, represented as a Tuple_set.t
Returns the map as an association list
Returns the "may" and "must" tuple sets associated to a relation name.
Returns the association list between relation names and their "must" set.
Returns the association list between relation names and their arity.
val rename :
(Atom.t, Atom.t) Containers.List.Assoc.t ->
(Name.t, Name.t) Containers.List.Assoc.t ->
t ->
t
Returns a new domain where atoms and relations have been renamed.
For every entry in inst
, update_domain_with_instance dom inst
replaces the corresponding relation in dom
with the exact scope given by inst
.