Update of "VirtualRouting"
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 3573a6180c01ce3abf9b9e0a96a7f667949ed3e9
Page Name:VirtualRouting
Date: 2018-03-23 10:44:26
Original User: sandro
Parent: c22f4645ee5e82326ecc4ce2102752b686bb9170 (diff)
Next 661cc94986b9e03b4c542fcae483050d37517292
Content

back



Introduction

Previous versions of SpatiaLite traditionally supported a pure SQL routing module that was named VirtualNetwork.

Since version 5.0.0 a brand new routing module (more advanced and sophisticated) is available, that is called VirtualRouting.
The now obsolete VirtualNetwork is still supported by version 5.0.0 so as to not cause an abrupt break to already existing applications, but will be presumably discontinued in future versions.
Using VirtualRouting instead of VirtualNetwirk is warmly reccommended for any new development.

Theoretical foundations - an ultra-quick recall

All Routing algorithms (aka Shortest Path algorithms) are based on the mathematics of the Graph theory or to be more precise: on Weighted Graphs.
network
A topologically valid Network is a dataset that fulfills the following requirements:

Logical conclusions

Any topologically valid Network (irrespective of whether it is a Spatial or Logical type) is a valid Graph.
And a Network allowing the support (direct or indirect) of some appropriate cost value is a valid Weighted Graph, and can consequently support Routing algorithms. All Routing algotithms are intended to identify the Shortest Path solution connecting two Nodes in a weighted graph (aka Network).

Note: both terms Routing and Shortest Path can be easily misunderstood.
Due to historical reasons the most common application field for Routing algorithms is related to Road Networks, but many other kinds of Networks exist:

back