[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

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

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 15
Thread images: 4

File: TTRE.jpg (326KB, 879x571px) Image search: [Google]
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]
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]
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]
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 posts: 15
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.