Directive transportation in smart cities with line connectivity at distinctive points using mode control algorithm | Synapse