{"id":15416861,"url":"https://github.com/ussserrr/delivery-route-helper","last_synced_at":"2026-06-11T02:31:23.397Z","repository":{"id":113441535,"uuid":"178242922","full_name":"ussserrr/delivery-route-helper","owner":"ussserrr","description":"C# .NET Core project showing the concept of forming the complete connected delivery route from the set of scattered segments","archived":false,"fork":false,"pushed_at":"2019-03-28T16:33:56.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T02:29:14.097Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ussserrr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-28T16:31:39.000Z","updated_at":"2019-03-28T16:37:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"47d69a2b-a680-453c-9fdb-a0e2b514da76","html_url":"https://github.com/ussserrr/delivery-route-helper","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.25,"last_synced_commit":"a43b5843eabfdc42534ae12c13a38b05caa490ba"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ussserrr/delivery-route-helper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ussserrr%2Fdelivery-route-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ussserrr%2Fdelivery-route-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ussserrr%2Fdelivery-route-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ussserrr%2Fdelivery-route-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ussserrr","download_url":"https://codeload.github.com/ussserrr/delivery-route-helper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ussserrr%2Fdelivery-route-helper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34180147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T17:14:02.363Z","updated_at":"2026-06-11T02:31:23.374Z","avatar_url":"https://github.com/ussserrr.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# DeliveryRoute\n\n\n## Overview\nC# .NET Core project showing the concept of forming the complete connected delivery route from the set of scattered segments. For example, let's say we have the following input data:\n\n| Segment | Start     | End           |\n|---------|-----------|---------------|\n| 3       | Queens    | The Bronx     |\n| 1       | Manhattan | Brooklyn      |\n| 4       | The Bronx | Staten Island |\n| 2       | Brooklyn  | Queens        |\n\nSo the output should looks like this:\n\n| Segment | Start     | End           |\n|---------|-----------|---------------|\n| 1       | Manhattan | Brooklyn      |\n| 2       | Brooklyn  | Queens        |\n| 3       | Queens    | The Bronx     |\n| 4       | The Bronx | Staten Island |\n\n\n## Approach\nTo describe and solve the task we introduce following entities:\n\n - `Point` - class representing a single point of delivery. Here we use simple `string` to identify the `Point`\n - `Segment` - class representing a directed set of 2 `Point`s so it has the defined `Start` and the `End`\n - `Route` - class encapsulating input and output data structures with arranging and reversing methods as well\n\n\n## Project structure\n3 projects are combined into single Visual Studio Solution.\n\n### DeliveryRouteHelper\nProject containing the library itself and some utility functions.\n\nDependencies:\n\n - *[Optional]* DocFX - generates fancy documentation\n\n\n### DeliveryRoute\nExample project showing the library features and usage.\n\nDependencies:\n\n - NLog - prints logs instead of `Console.WriteLine()`s\n\n\n### DeliveryRouteHelper.Tests\nUnit tests for the `DeliveryRouteHelper` library.\n\nDependencies:\n\n - xUnit - modern testing framework\n\n\n## Build \u0026 Run\n\n### Windows, macOS\nUse Visual Studio as all-in-one solution to build, run, test and generate docs (make sure you have NuGet, dotnet, .NET Core Build Tools installed).\n\n### Linux\nConfiguration was tested on Ubuntu 18.10 under `dotnet` CLI. Prerequisites:\n\n - .NET Core 2 - refer to official Microsoft documentation to add custom package sources and install `dotnet` from `apt`\n - Mono 5 - also refer to official Mono documentation to add custom package sources and install latest complete Mono framework (including MSBuild)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fussserrr%2Fdelivery-route-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fussserrr%2Fdelivery-route-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fussserrr%2Fdelivery-route-helper/lists"}