Update of "VirtualRouting"
Not logged in

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

Overview

Artifact ID: c22f4645ee5e82326ecc4ce2102752b686bb9170
Page Name:VirtualRouting
Date: 2018-03-22 20:49:44
Original User: sandro
Parent: ca0e52bba6eefb7fdde271847dcf518d219c5efd (diff)
Next 3573a6180c01ce3abf9b9e0a96a7f667949ed3e9
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 now available, that is named VirtualRouting.
The nowadays obsolete VirtualNetwork still continues to be supported by version 5.0.0 so to not cause an abrupt break to already existing applications, but will be presumably suppressed in future versions.
Using VirtualRouting instead of VirtualNetwirk is warmly reccommended for any new development.

Teoretical foundations - an ultra-quick recall

All Routing algorithms (aka Shortest Path algorithms) are based on the mathematics of the Graph theory and more precisely on Weighted Graphs.
network
A topologically valid Network is a dataset fullfilling the following requirements:

Corollary

Any topologically valid Network (irrespectively if it's of the Spatial or Logical type) is a valid Graph.
And a Network allowing to support (directly or indirectly) some appropriate cost value is a valid Weighted Graph, and can consequently support Routing algorithms.

back