pgRouting

Changeset 74

Show
Ignore:
Timestamp:
12/13/07 15:18:16 (1 year ago)
Author:
anton
Message:

e_max_id removed from visitor

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/core/src/edge_visitors.hpp

    r43 r74  
    1 //======================================================================= 
    2 // Copyright 1997, 1998, 1999, 2000 University of Notre Dame. 
    3 // Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek 
    4 // 
    5 // Distributed under the Boost Software License, Version 1.0. (See 
    6 // accompanying file LICENSE_1_0.txt or copy at 
    7 // http://www.boost.org/LICENSE_1_0.txt) 
    8 //======================================================================= 
    9 // 
    10 // Revision History: 
    11 //   01 April 2001: Modified to use new <boost/limits.hpp> header. (JMaddock) 
    12 // 
    13 #ifndef BOOST_GRAPH_GRAPH_SEARCH_EDGE_VISITORS_HPP 
    14 #define BOOST_GRAPH_GRAPH_SEARCH_EDGE_VISITORS_HPP 
     1#ifndef EDGE_VISITORS_HPP 
     2#define EDGE_VISITORS_HPP 
    153 
    164#include <iosfwd> 
     
    219#include <boost/graph/detail/is_same.hpp> 
    2210 
    23 namespace boost { 
     11namespace boost  
     12
    2413 
    2514  //======================================================================== 
    2615  // Event Tags 
    2716 
    28   namespace detail { 
     17  namespace detail  
     18  { 
    2919    // For partial specialization workaround 
    3020    enum event_edge_visitor_enum 
  • trunk/core/src/shooting_star_boost_wrapper.cpp

    r72 r74  
    8383private: 
    8484  Edge m_goal; 
    85   int  e_max_id; 
    8685}; 
    8786 
     
    363362 
    364363      if(graph[e].id > e_max_id) 
    365         graph[e].id -= e_max_id; 
    366  
     364      { 
     365        graph[e].id -= e_max_id;         
     366      } 
     367       
    367368      (*path)[j].edge_id = graph[e].id; 
    368369      (*path)[j].cost = graph[e].cost;