Q: Sets

From: Marc van Dongen <dongen_at_cs.ucc.ie>
Date: Tue 17 Sep 2002 01:24:52 PM GMT
Message-ID: <20020917132452.GA14064@cs.ucc.ie>
Hi there,

I'm trying to model something with sets but there's something
that I don't know how to do. I've read the library manual but
I haven't found anything yet.

Given set S1, I want to create set S2 using a bijection which
reverses order. E.g. assuming that X1 < X2 < X3 I want to map
the set {X1,X2,X3} to { C - X3, C - X2, C - X1 }.

Is there a way to do this?

Thanks in advance.


Marc van Dongen
M.R.C. van Dongen | CS Dept University College Cork    |        ()
 dongen@cs.ucc.ie | Cork Constraint Computation Centre |        /\
+353(0)21 4903578 | Western Road                       |   ASCII ribbon
                  | Cork, Ireland                      | against html mail
Received on Tue Sep 17 14:36:13 2002

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:16 PM GMT GMT