Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49839 - in sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list: . vs
From: asutton_at_[hidden]
Date: 2008-11-19 10:08:39


Author: asutton
Date: 2008-11-19 10:08:38 EST (Wed, 19 Nov 2008)
New Revision: 49839
URL: http://svn.boost.org/trac/boost/changeset/49839

Log:
Moving some files around
Added:
   sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vs/vertex_list.hpp (props changed)
      - copied unchanged from r49838, /sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_list.hpp
   sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vs/vertex_map.hpp (props changed)
      - copied unchanged from r49838, /sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_map.hpp
   sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vs/vertex_multimap.hpp (props changed)
      - copied unchanged from r49822, /sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_multimap.hpp
   sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vs/vertex_multiset.hpp (props changed)
      - copied unchanged from r49822, /sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_multiset.hpp
   sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vs/vertex_set.hpp (props changed)
      - copied unchanged from r49838, /sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_set.hpp
   sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vs/vertex_vector.hpp (props changed)
      - copied unchanged from r49838, /sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_vector.hpp
Removed:
   sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_list.hpp
   sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_map.hpp
   sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_multimap.hpp
   sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_multiset.hpp
   sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_set.hpp
   sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_vector.hpp

Deleted: sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_list.hpp
==============================================================================
--- sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_list.hpp 2008-11-19 10:08:38 EST (Wed, 19 Nov 2008)
+++ (empty file)
@@ -1,37 +0,0 @@
-
-#ifndef BOOST_GRAPHS_ADJLIST_VERTEX_LIST_HPP
-#define BOOST_GRAPHS_ADJLIST_VERTEX_LIST_HPP
-
-#include <list>
-
-#include <boost/none.hpp>
-#include <boost/counted_list.hpp>
-#include <boost/graphs/adjacency_list/vertex_store.hpp>
-
-namespace boost { namespace graphs { namespace adjacency_list {
-
-/**
- * @param Alloc A unary template class that will allocate stored vertices.
- */
-template <template <typename> class Alloc = std::allocator>
-struct vertex_list
-{
- typedef unused key_type;
-
- typedef typename descriptor_traits<
- std::list<int, Alloc<int>>
- >::descriptor_type vertex_descriptor;
-
- template <typename Vertex>
- struct vertex_store
- {
- typedef Alloc<Vertex> allocator;
- typedef counted_list<Vertex, allocator> type;
- };
-};
-
-
-} } } /* namespace boost::graphs::adjacency_list */
-
-#endif
-

Deleted: sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_map.hpp
==============================================================================
--- sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_map.hpp 2008-11-19 10:08:38 EST (Wed, 19 Nov 2008)
+++ (empty file)
@@ -1,40 +0,0 @@
-
-#ifndef BOOST_GRAPHS_ADJLIST_VERTEX_MAP_HPP
-#define BOOST_GRAPHS_ADJLIST_VERTEX_MAP_HPP
-
-#include <map>
-
-#include <boost/none.hpp>
-#include <boost/graphs/adjacency_list/vertex_store.hpp>
-
-namespace boost { namespace graphs { namespace adjacency_list {
-
-/**
- * @param Key The key type of the vertex map can be any LessThanComparable type.
- * @param Compare A unary template class that implements a comparison of keys.
- * @param Alloc An allocator for key/value pairs of the underliyng map.
- */
-template <
- typename Key,
- template <typename> class Compare = std::less,
- template <typename> class Alloc = std::allocator>
-struct vertex_map
-{
- typedef Key key_type;
-
- typedef typename descriptor_traits<
- std::map<Key, int, Compare<Key>, Alloc<std::pair<Key, int>>>
- >::descriptor_type vertex_descriptor;
-
- template <typename Vertex>
- struct vertex_store
- {
- typedef Alloc<std::pair<Key, Vertex>> allocator;
- typedef Compare<Key> compare;
- typedef std::map<Key, Vertex, compare, allocator> type;
- };
-};
-
-} } } /* namespace boost::graphs::adjacency_list */
-
-#endif

Deleted: sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_multimap.hpp
==============================================================================

Deleted: sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_multiset.hpp
==============================================================================

Deleted: sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_set.hpp
==============================================================================
--- sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_set.hpp 2008-11-19 10:08:38 EST (Wed, 19 Nov 2008)
+++ (empty file)
@@ -1,43 +0,0 @@
-
-#ifndef BOOST_GRAPHS_ADJLIST_VERTEX_SET_HPP
-#define BOOST_GRAPHS_ADJLIST_VERTEX_SET_HPP
-
-#include <set>
-
-#include <boost/none.hpp>
-#include <boost/graphs/label.hpp>
-#include <boost/graphs/adjacency_list/vertex_store.hpp>
-
-namespace boost { namespace graphs { namespace adjacency_list {
-
-
-/**
- * @param Compare A unary template class that compares vertex label.
- * @param Alloc A unary template class that allocates vertices.
- */
-template <
- template <typename> class Compare = std::less,
- template <typename> class Alloc = std::allocator>
-struct vertex_set
-{
- typedef unused key_type;
-
- typedef typename descriptor_traits<
- std::set<int, Compare<int>, Alloc<int>>
- >::descriptor_type vertex_descriptor;
-
- template <typename Vertex>
- struct vertex_store
- {
- private:
- typedef Alloc<Vertex> allocator;
- typedef typename label_traits<Vertex>::label_type label_type;
- typedef labelled_compare<Vertex, Compare<label_type>> compare;
- public:
- typedef std::set<Vertex, compare, allocator> type;
- };
-};
-
-} } } /* namespace boost::graphs::adjacency_list */
-
-#endif

Deleted: sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_vector.hpp
==============================================================================
--- sandbox/SOC/2008/graphs/trunk/libs/graphs/include/boost/graphs/adjacency_list/vertex_vector.hpp 2008-11-19 10:08:38 EST (Wed, 19 Nov 2008)
+++ (empty file)
@@ -1,38 +0,0 @@
-
-#ifndef BOOST_GRAPHS_ADJLIST_VERTEX_VECTOR_HPP
-#define BOOST_GRAPHS_ADJLIST_VERTEX_VECTOR_HPP
-
-#include <vector>
-#include <algorithm>
-
-#include <boost/none.hpp>
-#include <boost/graphs/adjacency_list/vertex_store.hpp>
-
-namespace boost { namespace graphs { namespace adjacency_list {
-
-/**
- * @param Alloc A unary template class that will allocate stored vertices.
- */
-template <template <typename> class Alloc = std::allocator>
-struct vertex_vector
-{
- typedef unused key_type;
-
- typedef typename descriptor_traits<
- std::vector<int, Alloc<int>>
- >::descriptor_type vertex_descriptor;
-
- // The store metafunction generates the type used to store vertices in
- // either a directed or undirected graph. This metafunction takes the
- // fully configured vertex type as a type parameter.
- template <typename Vertex>
- struct vertex_store
- {
- typedef Alloc<Vertex> allocator;
- typedef std::vector<Vertex, allocator> type;
- };
-};
-
-} } } /* namespace boost::graphs::adjacency_list */
-
-#endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk