| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> |
| <title>Aspects</title> |
| <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> |
| <meta name="generator" content="DocBook XSL Stylesheets V1.74.0"> |
| <link rel="home" href="../../index.html" title="Chapter 1. Boost.Icl"> |
| <link rel="up" href="../concepts.html" title="Concepts"> |
| <link rel="prev" href="../concepts.html" title="Concepts"> |
| <link rel="next" href="sets_and_maps.html" title="Sets and Maps"> |
| </head> |
| <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| <table cellpadding="2" width="100%"><tr> |
| <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> |
| <td align="center"><a href="../../../../../../index.html">Home</a></td> |
| <td align="center"><a href="../../../../../libraries.htm">Libraries</a></td> |
| <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> |
| <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> |
| <td align="center"><a href="../../../../../../more/index.htm">More</a></td> |
| </tr></table> |
| <hr> |
| <div class="spirit-nav"> |
| <a accesskey="p" href="../concepts.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="sets_and_maps.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> |
| </div> |
| <div class="section" lang="en"> |
| <div class="titlepage"><div><div><h3 class="title"> |
| <a name="boost_icl.concepts.aspects"></a><a class="link" href="aspects.html" title="Aspects">Aspects</a> |
| </h3></div></div></div> |
| <p> |
| There are two major <span class="emphasis"><em><span class="bold"><strong>aspects</strong></span></em></span> |
| or <span class="emphasis"><em><span class="bold"><strong>views</strong></span></em></span> of icl containers. |
| The first and predominant aspect is called <span class="emphasis"><em><span class="bold"><strong>fundamental</strong></span></em></span>. |
| The second and minor aspect is called <span class="emphasis"><em><span class="bold"><strong>segmental</strong></span></em></span>. |
| </p> |
| <div class="informaltable"><table class="table"> |
| <colgroup> |
| <col> |
| <col> |
| <col> |
| </colgroup> |
| <thead><tr> |
| <th> |
| <p> |
| </p> |
| </th> |
| <th> |
| <p> |
| Fundamental |
| </p> |
| </th> |
| <th> |
| <p> |
| Segmental |
| </p> |
| </th> |
| </tr></thead> |
| <tbody> |
| <tr> |
| <td> |
| <p> |
| Abstraction level |
| </p> |
| </td> |
| <td> |
| <p> |
| more abstract |
| </p> |
| </td> |
| <td> |
| <p> |
| less abstract |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| </p> |
| </td> |
| <td> |
| <p> |
| sequence of elements is irrelevant |
| </p> |
| </td> |
| <td> |
| <p> |
| sequence of elements is relevant |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| </p> |
| </td> |
| <td> |
| <p> |
| iterator independent |
| </p> |
| </td> |
| <td> |
| <p> |
| iterator dependent |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| Informs about |
| </p> |
| </td> |
| <td> |
| <p> |
| membership of elements |
| </p> |
| </td> |
| <td> |
| <p> |
| sequence of intervals (segmentation) |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| Equality |
| </p> |
| </td> |
| <td> |
| <p> |
| equality of elements |
| </p> |
| </td> |
| <td> |
| <p> |
| equality of segments |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| Practical |
| </p> |
| </td> |
| <td> |
| <p> |
| interval_sets(maps) can be used as sets(maps) of elements(element |
| value pairs) |
| </p> |
| </td> |
| <td> |
| <p> |
| Segmentation information is available. See e.g. <a class="link" href="../examples/time_grids.html" title="Time grids for months and weeks">Time |
| grids for months and weeks</a> |
| </p> |
| </td> |
| </tr> |
| </tbody> |
| </table></div> |
| <p> |
| On the fundamental aspect |
| </p> |
| <div class="itemizedlist"><ul type="disc"> |
| <li> |
| an <code class="computeroutput"><span class="identifier">interval</span></code> implements |
| a set of elements partially. |
| </li> |
| <li> |
| an <code class="computeroutput"><a class="link" href="../../boost/icl/interval_set.html" title="Class template interval_set">interval_set</a></code> implements |
| a set of elements. |
| </li> |
| <li> |
| an <code class="computeroutput"><a class="link" href="../../boost/icl/interval_map.html" title="Class template interval_map">interval_map</a></code> implements |
| a map of element value pairs. |
| </li> |
| </ul></div> |
| <p> |
| On the segmental aspect |
| </p> |
| <div class="itemizedlist"><ul type="disc"> |
| <li> |
| an <code class="computeroutput"><a class="link" href="../../boost/icl/interval_set.html" title="Class template interval_set">interval_set</a></code> implements |
| a set of intervals. |
| </li> |
| <li> |
| an <code class="computeroutput"><a class="link" href="../../boost/icl/interval_map.html" title="Class template interval_map">interval_map</a></code> implements |
| a map of interval value pairs. |
| </li> |
| </ul></div> |
| </div> |
| <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> |
| <td align="left"></td> |
| <td align="right"><div class="copyright-footer">Copyright © 2007 -2010 Joachim Faulhaber<br>Copyright © 1999 -2006 Cortex Software GmbH<p> |
| Distributed under the Boost Software License, Version 1.0. (See accompanying |
| file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) |
| </p> |
| </div></td> |
| </tr></table> |
| <hr> |
| <div class="spirit-nav"> |
| <a accesskey="p" href="../concepts.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="sets_and_maps.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> |
| </div> |
| </body> |
| </html> |