[ library(ic_kernel) | Reference Manual | Alphabetic Index ]

msg(?Var1, ?Var2, ?MSG)

Computes the most specific generalisation of Var1 and Var2 that is expressible with ic variables.
Var1
A variable or number
Var2
A variable or number
MSG
Most specific generalisation (variable)

Description

The most specific generalisation of two intervals is computed and returned as MSG. MSG will interval over the smallest interval enclosing the input intervals, and have the more general type of the input types. If either Var1 or Var2 are domain-less, or have values that cannot be expressed as ic-domains, MSG remains unbound.

Modes and Determinism