• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>Aspects</title>
5<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../index.html" title="Chapter 1. Boost.Icl">
8<link rel="up" href="../concepts.html" title="Concepts">
9<link rel="prev" href="../concepts.html" title="Concepts">
10<link rel="next" href="sets_and_maps.html" title="Sets and Maps">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<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>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="boost_icl.concepts.aspects"></a><a class="link" href="aspects.html" title="Aspects">Aspects</a>
28</h3></div></div></div>
29<p>
30        There are two major <span class="emphasis"><em><span class="bold"><strong>aspects</strong></span></em></span>
31        or <span class="emphasis"><em><span class="bold"><strong>views</strong></span></em></span> of icl containers.
32        The first and predominant aspect is called <span class="emphasis"><em><span class="bold"><strong>fundamental</strong></span></em></span>.
33        The second and minor aspect is called <span class="emphasis"><em><span class="bold"><strong>segmental</strong></span></em></span>.
34      </p>
35<div class="informaltable"><table class="table">
36<colgroup>
37<col>
38<col>
39<col>
40</colgroup>
41<thead><tr>
42<th>
43              </th>
44<th>
45                <p>
46                  Fundamental
47                </p>
48              </th>
49<th>
50                <p>
51                  Segmental
52                </p>
53              </th>
54</tr></thead>
55<tbody>
56<tr>
57<td>
58                <p>
59                  Abstraction level
60                </p>
61              </td>
62<td>
63                <p>
64                  more abstract
65                </p>
66              </td>
67<td>
68                <p>
69                  less abstract
70                </p>
71              </td>
72</tr>
73<tr>
74<td>
75              </td>
76<td>
77                <p>
78                  sequence of elements is irrelevant
79                </p>
80              </td>
81<td>
82                <p>
83                  sequence of elements is relevant
84                </p>
85              </td>
86</tr>
87<tr>
88<td>
89              </td>
90<td>
91                <p>
92                  iterator independent
93                </p>
94              </td>
95<td>
96                <p>
97                  iterator dependent
98                </p>
99              </td>
100</tr>
101<tr>
102<td>
103                <p>
104                  Informs about
105                </p>
106              </td>
107<td>
108                <p>
109                  membership of elements
110                </p>
111              </td>
112<td>
113                <p>
114                  sequence of intervals (segmentation)
115                </p>
116              </td>
117</tr>
118<tr>
119<td>
120                <p>
121                  Equality
122                </p>
123              </td>
124<td>
125                <p>
126                  equality of elements
127                </p>
128              </td>
129<td>
130                <p>
131                  equality of segments
132                </p>
133              </td>
134</tr>
135<tr>
136<td>
137                <p>
138                  Practical
139                </p>
140              </td>
141<td>
142                <p>
143                  interval_sets(maps) can be used as sets(maps) of elements(element
144                  value pairs)
145                </p>
146              </td>
147<td>
148                <p>
149                  Segmentation information is available. See e.g. <a class="link" href="../examples/time_grids.html" title="Time grids for months and weeks">Time
150                  grids for months and weeks</a>
151                </p>
152              </td>
153</tr>
154</tbody>
155</table></div>
156<p>
157        On the fundamental aspect
158      </p>
159<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
160<li class="listitem">
161            an <code class="computeroutput"><span class="identifier">interval</span></code> implements
162            a set of elements partially.
163          </li>
164<li class="listitem">
165            an <code class="computeroutput"><a class="link" href="../../boost/icl/interval_set.html" title="Class template interval_set">interval_set</a></code>
166            implements a set of elements.
167          </li>
168<li class="listitem">
169            an <code class="computeroutput"><a class="link" href="../../boost/icl/interval_map.html" title="Class template interval_map">interval_map</a></code>
170            implements a map of element value pairs.
171          </li>
172</ul></div>
173<p>
174        On the segmental aspect
175      </p>
176<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
177<li class="listitem">
178            an <code class="computeroutput"><a class="link" href="../../boost/icl/interval_set.html" title="Class template interval_set">interval_set</a></code>
179            implements a set of intervals.
180          </li>
181<li class="listitem">
182            an <code class="computeroutput"><a class="link" href="../../boost/icl/interval_map.html" title="Class template interval_map">interval_map</a></code>
183            implements a map of interval value pairs.
184          </li>
185</ul></div>
186</div>
187<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
188<td align="left"></td>
189<td align="right"><div class="copyright-footer">Copyright © 2007-2010 Joachim
190      Faulhaber<br>Copyright © 1999-2006 Cortex Software
191      GmbH<p>
192        Distributed under the Boost Software License, Version 1.0. (See accompanying
193        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>)
194      </p>
195</div></td>
196</tr></table>
197<hr>
198<div class="spirit-nav">
199<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>
200</div>
201</body>
202</html>
203