1
submitted 8 months ago by mac@programming.dev to c/comics@programming.dev

Hover Text:

Just make sure you don't have it maximize instead of minimize.

Transcript

[Code displayed, presumably from an IDE.]

def getSolutionCosts(navigationCode):
    fuelStopCost = 15  
    extraComputationCost = 8

[There is a giant arrow pointing to the next line.]

    thisAlgorithmBecomingSkynetCost = 999999999  
    waterCrossingCost = 45

Genetic algorithms tip:
Always include this in your fitness function.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 08 Feb 2024
1 points (100.0% liked)

Comics

289 readers
1 users here now

A community for sharing comics related to programming

Looking for mods, if you want to mod the community feel free to dm Ategon

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 9 months ago
MODERATORS