this post was submitted on 24 May 2025
285 points (96.1% liked)

memes

14908 readers
5821 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
285
A race (sub.wetshaving.social)
submitted 22 hours ago* (last edited 13 hours ago) by weird@sub.wetshaving.social to c/memes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[–] MRLimcon@lemmy.ml 1 points 4 hours ago

The race is on a loop, you only pass each point one time. You get from the starting place and return there, passing at each point 1 time, what would be the shortest/fastest path? That's the problem.

You can probably put weights on the fuel efficiency, based on the cargo weight, distance/speed he can drive (based on the experience and expected value for him), fueling stops, etc. Just add that to A* and some tinkering, I think you could make a good algorithm.