<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://stlab.adobe.com/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://stlab.adobe.com/wiki/index.php?title=Segmented_Iterators&amp;feed=atom&amp;action=history</id>
		<title>Segmented Iterators - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://stlab.adobe.com/wiki/index.php?title=Segmented_Iterators&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://stlab.adobe.com/wiki/index.php?title=Segmented_Iterators&amp;action=history"/>
		<updated>2013-05-20T02:22:22Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.0</generator>

	<entry>
		<id>http://stlab.adobe.com/wiki/index.php?title=Segmented_Iterators&amp;diff=1419&amp;oldid=prev</id>
		<title>FosterBrereton: initial population</title>
		<link rel="alternate" type="text/html" href="http://stlab.adobe.com/wiki/index.php?title=Segmented_Iterators&amp;diff=1419&amp;oldid=prev"/>
				<updated>2006-06-21T18:28:27Z</updated>
		
		<summary type="html">&lt;p&gt;initial population&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A segmented iterator (also sometimes referred to as a nested iterator, multi-dimentional iterator, etc.) is an iterator which iterates over a collection of ranges (segments).&lt;br /&gt;
&lt;br /&gt;
For example, in STL, a deque iterator is a segmented iterator (a deque is implemented as chunks).&lt;br /&gt;
&lt;br /&gt;
Many algorithms which operate on segmented iterator could be implemented more efficiently if they had access to the segments.&lt;br /&gt;
&lt;br /&gt;
The concept of a segmented iterator is closely tied to bounded algorithms, as bounded algorithms are a building block for many efficient segmented algorithms. Segmented iterators seem to pop out often in dealing with N-dimentional structures (like a matrix), blocked structures (such as a deque), they appear in the circular_queue in this library, they appear in many tree structures... as such I'm convinced there is a valid concept underlying segmented iterators which is worth exploring.&lt;br /&gt;
&lt;br /&gt;
One difficulty in dealing with segmented iterators is the concept is orthogonal to the current iterator categories and the mechanisms for dealing with orthogonal concepts is not well defined.&lt;br /&gt;
&lt;br /&gt;
Here I'm going to start with a loose Concept for a SegmentedSequence and a SegmentedIterator. Then implement some rudimentary algorithms on segmented iterators (partially this will be done to support circular_queue and a request to be able to use circular_queue for efficiently calculating moving averages - this will also however, greatly simplify the implementation of operator==() in the current circular_queue.&lt;/div&gt;</summary>
		<author><name>FosterBrereton</name></author>	</entry>

	</feed>