navit  0.5.3-trunk
route_graph_point Struct Reference

A point in the route graph. More...

#include <route_protected.h>

Data Fields

struct route_graph_pointhash_next
 
struct route_graph_segmentstart
 
struct route_graph_segmentend
 
struct route_graph_segmentseg
 
struct fibheap_elel
 
int value
 
int rhs
 
int dst_val
 
struct route_graph_segmentdst_seg
 
struct coord c
 
int flags
 

Detailed Description

A point in the route graph.

This represents a point in the route graph. A point usually connects two or more segments, but there are also points which don't do that (e.g. at the end of a dead-end).

Field Documentation

◆ c

◆ dst_seg

struct route_graph_segment* route_graph_point::dst_seg

For points close to the destination, this is the segment over which the destination can be reached directly

Referenced by route_graph_init(), and route_graph_reset().

◆ dst_val

int route_graph_point::dst_val

For points close to the destination, this is the cost of the point if it is the last in the graph; INT_MAX for all other points.

Referenced by route_graph_init(), and route_graph_reset().

◆ el

struct fibheap_el* route_graph_point::el

When this point is put on a Fibonacci heap, this is a pointer to this point's heap element

Referenced by route_graph_compute_shortest_path(), route_graph_init(), route_graph_reset(), and traffic_route_flood_graph().

◆ end

struct route_graph_segment* route_graph_point::end

◆ flags

◆ hash_next

struct route_graph_point* route_graph_point::hash_next

Pointer to a chained hashlist of all route_graph_points with this hash

Referenced by route_graph_free_points(), route_graph_process_restrictions(), and route_graph_reset().

◆ rhs

int route_graph_point::rhs

Lookahead value based on neighbors’ value; used for recalculation and equal to value after the route graph has been flooded.

Referenced by route_graph_compute_shortest_path(), route_graph_init(), and route_graph_reset().

◆ seg

◆ start

◆ value

int route_graph_point::value

The cost at which one can reach the destination from this point on.

INT_MAX

indicates that the destination is unreachable from this point, or that this point has not yet been examined.

Referenced by route_graph_compute_shortest_path(), route_graph_init(), route_graph_point_update(), route_graph_reset(), route_path_new(), traffic_message_add_segments(), traffic_route_append(), traffic_route_flood_graph(), and traffic_route_prepend().


The documentation for this struct was generated from the following file: