langgoap.CostFunction

langgoap.CostFunction#

class CostFunction(*args, **kwargs)[source]#

Protocol for dynamic action cost functions.

Receives the current world state and returns a numeric cost.

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)