package electrod
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=b0bce9cc7126672feda5a02d5ef0c1131ba54db57654f80c0768c2f8d043cef9
sha512=92cc22f81522435e190039324767b6f69fa0b7d9dbfc3fb5561919823136fe492244dae993caf98633828e0090b67f306eec6270b86a1b2ff8630642130a3081
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
.