Andreas Zwinkau <zwin...@kit.edu> wrote on 07/11/2011 07:32:37 AM:
>
> The documentation for Region says:
>
> There are a set of methods for supporting algebraic operations on
> regions, such as intersection, union, difference, and so on.
>
> However, I only found intersection. How, can I compute the union and
> difference of Regions?
>
Sorry for the slow response...summer vacations.
Older versions of the X10 class libraries (up through about 2.0 or 2.1)
supported union and difference operations using a fairly general polyhedral
representation for regions. This implementation had quite a bit of nice
functionality, but was very inefficient. We made a decision to focus on a
smaller set of Region operations that we could support more efficiently and
removed the Region API for union and difference (guess we missed it in the
class header comment though. Sorry). The code is still in the files, but
commented out. If you want to experiment with it, you may be able to
simply enable the code again by editing the source files in x10.array.*
starting with Region. It hasn't been exercised in a while, but it may
still be in reasonable shape.
Hope this is useful,
--dave
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide. Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users