Re: Relation Definition
From: Jan Hidders <jan.hidders_at_REMOVETHIS.pandora.be>
Date: Wed, 23 Feb 2005 20:40:01 GMT
Message-ID: <BS5Td.19366$2P6.2630729_at_phobos.telenet-ops.be>
Date: Wed, 23 Feb 2005 20:40:01 GMT
Message-ID: <BS5Td.19366$2P6.2630729_at_phobos.telenet-ops.be>
Dawn M. Wolthuis wrote:
>
> As data structures, unordered tuples would be bags/multisets (and possibly
> sets), is that correct? The reason not to call them that is because of the
> additional information about the domain from which each element comes,
> perhaps?
Not really. An unordered tuple is defined here as a finite partial function that maps field names to values. So an example is
{ (a, 1), (b, "true") }
which you write usually more like
( a : 1, b : "true" )
You can see how this is a generalization of the usual notion of tuple since an ordered pair can be modeled by such a finite partial function if its domain (the field names on whic it is defined) happens to be the set {1, 2}.
- Jan Hidders
