pgRouting

Changeset 82

Show
Ignore:
Timestamp:
12/19/07 17:02:38 (1 year ago)
Author:
anton
Message:

--

Files:

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  
    120#ifndef EDGE_VISITORS_HPP 
    221#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  
    1220#ifndef BOOST_GRAPH_SHOOTING_STAR_RELAX_HPP 
    1321#define BOOST_GRAPH_SHOOTING_STAR_RELAX_HPP 
     
    4957      typedef typename graph_traits<Graph>::vertex_descriptor Vertex; 
    5058             
    51       Vertex u = source(e, g), v = target(e, g), pu = source(pe, g); 
    52  
    5359      typedef typename property_traits<DistanceMap>::value_type D; 
    5460      typedef typename property_traits<WeightMap>::value_type W; 
     
    5864      D d_e = get(d, e); 
    5965      D d_pe = get(d, pe); 
    60        
    61       W w_e = get(w, e); 
    62  
    63       //edge where we came from 
    64       bool edge_exists; 
    6566       
    6667      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 */ 
    1119 
    1220#ifndef BOOST_GRAPH_SHOOTING_STAR_SEARCH_HPP