Changeset 82
- Timestamp:
- 12/19/07 17:02:38 (1 year ago)
- Files:
-
- sandbox/orkney/edge_visitors.hpp (modified) (1 diff)
- sandbox/orkney/shooting_star_relax.hpp (modified) (3 diffs)
- sandbox/orkney/shooting_star_search.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/orkney/edge_visitors.hpp
r81 r82 1 /* 2 * Copyright (c) 2007 Anton A. Patrushev, Orkney, Inc. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 * 18 */ 19 1 20 #ifndef EDGE_VISITORS_HPP 2 21 #define EDGE_VISITORS_HPP sandbox/orkney/shooting_star_relax.hpp
r81 r82 1 //======================================================================= 2 // Copyright 1997, 1998, 1999, 2000 University of Notre Dame. 3 // Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek, 4 // 5 // Copyright 2007 Orkney, Inc. 6 // Author: Anton A. Patrushev 7 // 8 // Distributed under the Boost Software License, Version 1.0. (See 9 // accompanying file LICENSE_1_0.txt or copy at 10 // http://www.boost.org/LICENSE_1_0.txt) 11 //======================================================================= 1 /* 2 * Copyright (c) 2007 Anton A. Patrushev, Orkney, Inc. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 * 18 */ 19 12 20 #ifndef BOOST_GRAPH_SHOOTING_STAR_RELAX_HPP 13 21 #define BOOST_GRAPH_SHOOTING_STAR_RELAX_HPP … … 49 57 typedef typename graph_traits<Graph>::vertex_descriptor Vertex; 50 58 51 Vertex u = source(e, g), v = target(e, g), pu = source(pe, g);52 53 59 typedef typename property_traits<DistanceMap>::value_type D; 54 60 typedef typename property_traits<WeightMap>::value_type W; … … 58 64 D d_e = get(d, e); 59 65 D d_pe = get(d, pe); 60 61 W w_e = get(w, e);62 63 //edge where we came from64 bool edge_exists;65 66 66 67 W w_pe_e; sandbox/orkney/shooting_star_search.hpp
r81 r82 1 // 2 //======================================================================= 3 // Copyright (c) 2004 Kristopher Beevers 4 // 2007 Anton A. Patrushev, Orkney Inc. 5 // 6 // Distributed under the Boost Software License, Version 1.0. (See 7 // accompanying file LICENSE_1_0.txt or copy at 8 // http://www.boost.org/LICENSE_1_0.txt) 9 //======================================================================= 10 // 1 /* 2 * Copyright (c) 2007 Anton A. Patrushev, Orkney, Inc. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 * 18 */ 11 19 12 20 #ifndef BOOST_GRAPH_SHOOTING_STAR_SEARCH_HPP

