package electrod
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=545020556bdc1517867791ccbbf4a00623d911663daa26e6d57dc66e7652f269
sha512=2921be5e844e408f1d3208c7d9b310d3ef3b050d37ab0b449b9fd9722be54167eacc08b957b595cab58dedb28c43f327238a30a360ac0ae45d724bd1d8bd664c
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
.