package electrod
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=7371c45e28b84a1955d117ef2c798d545febb87c74f596b6efe24965e4b28f31
sha512=e579db68ac05e30b0985f7d90080a82697de18c12e818d48bd7029cea8844571423f08d5881accbf8a0cbeb7df7de9b5b95ff5fe813330a6c92448a0901cdfe7
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
.