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!

Comics

!comics@programming.dev

Create post

A community for sharing comics related to programming

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

Community stats

  • 1

    Monthly active users

  • 60

    Posts

  • 33

    Comments

Community moderators