[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]
4chanarchives logo

What is the shortest way to connect all the cities? For example, Paris, Dieppe, Brussels


Thread replies: 15
Thread images: 4

File: TTRE.jpg (326KB, 879x571px) Image search: [Google] [Yandex] [Bing]
TTRE.jpg
326KB, 879x571px
What is the shortest way to connect all the cities? For example, Paris, Dieppe, Brussels and Zurich could all be connected with just 6. Similar to travelling salesman, but not identical. Sorry if there's a name for this and it's easily solvable.

My best so far is 108.
>>
>>8167079
>just 6

if you use 6 lines to connect 4 nodes, you have no more possible combinations of nodes left to connect.

how is this a problem? its fucking trivial, there is no minimization here and a 10 year old could derive the generic formula for the correct answer
>>
File: TTRE2.png (1MB, 879x600px) Image search: [Google] [Yandex] [Bing]
TTRE2.png
1MB, 879x600px
>>8167102
I was just referring to those four cities as an example. See picture for acceptable solution.
>>
File: TTRE3.png (1MB, 879x571px) Image search: [Google] [Yandex] [Bing]
TTRE3.png
1MB, 879x571px
>>8167112
This would be quicker if it was classic travelling salesman, my point is that the problem isn't.
>>
>>8167079
Damn this map is wrongo
>>
>>8167079
>My best so far is 108.
Yeah well I got 107
>>
Is it a game or what?
>>
>>8168974
It's the board from a game, but when playing it's not possible to link all the cities as a player doesn't have enough pieces. So it's just a problem using a network from a game.
>>
>>8167079
I think you're looking for a minimum spanning tree.
Solution would be using primm's or kruskal's algorithm.
>>
whats the name of this game
>>
>>8169255
Ticket to Ride: Europe
>>
File: TTRE solution.png (121KB, 1064x703px) Image search: [Google] [Yandex] [Bing]
TTRE solution.png
121KB, 1064x703px
>>8168987
Thanks, now I know the name it's easy to find a solution, and check because other people have done it.
>>
>>8168987
+1
>>
>>8167079
>Have only played this while simulatenously drunk and hungover at 3am (multiple times)
Just looking at this game makes me sick
>>
>>8167079
This is a minimal network problem. I think it theoretically is a bit easier than salesman, but I'm not very knowledgeable in those problems.
Thread replies: 15
Thread images: 4
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK