A Unified Approach to Path Problems | Synapse