[LibrariesUnderConstruction] new LibrariesUnderConstruction wiki page

Hi, I have created a new wiki page containing some of the libraries under construction for Boost. You can access this page from the Boost Trac wiki https://svn.boost.org/trac/boost/wiki > Projects > Libraries Under Construction or directly https://svn.boost.org/trac/boost/wiki/LibrariesUnderConstruction The contents of this page is by nature incomplete and outdated. Please help to maintain this page updated by modifying it directly (if you have the rights) or posting on the Boost mailing lists boost-AT-lists.boost.org or boost-users-AT-lists.boost.org with the prefix [LibrariesUnderConstruction]. If you're the author of one of these libraries and desire that all or part of the information related to your library be removed or modified, please send a mail or you can do it directly if you prefer. If you're a library author and plan on submitting a library but don't know when it will be ready for review, and you want to include your library in this list, please add it directly (if you have the rights) or send a mail. If you're a library author and plan on submitting a library for review in the next 3-6 months, email Ron Garcia or John Phillips ("garcia at osl dot iu dot edu" and "phillips at mps dot ohio-state dot edu" respectively) a short description of your library and they will add it to the Review Wizard Report Libraries Under Construction section. HTH, Vicente

2008/12/7 vicente.botet <vicente.botet@wanadoo.fr>:
Hi,
I have created a new wiki page containing some of the libraries under construction for Boost. You can access this page from the Boost Trac wiki https://svn.boost.org/trac/boost/wiki > Projects > Libraries Under Construction or directly https://svn.boost.org/trac/boost/wiki/LibrariesUnderConstruction
HTH, Vicente
Thank you, Vicente, for creating this list and putting my lib Boost.ITL (Interval Template Library) on the list. Browsing through the list I spotted *DenseSet* on the Libraries Wish List. "Implementation of dense set of integers using intervals" I think that such a dense set is already contained in itl::interval_set. Intervals themselves are dense sets but they are incomplete for most of the fundamental set operations. While intersection interval& operator *= (interval& i1, const interval& i2) always yields a (dense) interval, set union (+=) or set difference (-=) do in general not yield an interval. They result in a set of intervals, the union of which is again a set (of elements). The itl's interval_set implements exactly this completion of incomplete operations on intervals. {[1,3]} + [2,4] -> {[1,4]} //dense {[1,3]} + [5,5] -> {[1,3],[5,5]} //not dense {[1,3],[5,5]} + [4,4] -> {[1,5]} // dense again itl::interval_set is *implemented* as a set of intervals but it's semantics is the union of those intervals, which is a set of elements. An itl::interval_set is in a minimal representation. So the criterion of density can always be tested by: interval_set<int> iset; iset += interval<int>::closed(1,3); ... // more operations bool is_dense = iset.size()<=1; // a nonempty interval_set is dense, iff it's size is 1. I wonder whether you have more properties of DenseSet in mind that might go beyond the functionality of itl's interval_sets. May be those features could be integrated into the itl. Cheers Joachim

----- Original Message ----- From: "Joachim Faulhaber" <afojgo@googlemail.com> To: <boost@lists.boost.org> Sent: Tuesday, December 09, 2008 6:47 PM Subject: Re: [boost] [LibrariesUnderConstruction] newLibrariesUnderConstruction wiki page
Browsing through the list I spotted *DenseSet* on the Libraries Wish List. "Implementation of dense set of integers using intervals"
<snip>
I wonder whether you have more properties of DenseSet in mind that might go beyond the functionality of itl's interval_sets. May be those features could be integrated into the itl.
Hi, I was thinking of providing the same interface as std::set. The intervals will be a implementation detail. I'm sur that your library could be used to implement this interface. Best, Vicente

2008/12/9 vicente.botet <vicente.botet@wanadoo.fr>:
----- Original Message ----- From: "Joachim Faulhaber" <afojgo@googlemail.com> To: <boost@lists.boost.org> Sent: Tuesday, December 09, 2008 6:47 PM Subject: Re: [boost] [LibrariesUnderConstruction] newLibrariesUnderConstruction wiki page
Browsing through the list I spotted *DenseSet* on the Libraries Wish List. "Implementation of dense set of integers using intervals"
<snip>
I wonder whether you have more properties of DenseSet in mind that might go beyond the functionality of itl's interval_sets. May be those features could be integrated into the itl.
Hi,
I was thinking of providing the same interface as std::set. The intervals will be a implementation detail. I'm sur that your library could be used to implement this interface.
Providing for itl::interval_set both the view as a set of elements *and* the possibility exploite the interval structure (segmentation) had many practical benefis. On the other hand it led to a lot of ambiguities in the design, that where not always a easy to decide. So your approach to restrict a dense_set<Intergral> to the std::set interface makes sense to me. Cheers Joachim
participants (2)
-
Joachim Faulhaber
-
vicente.botet