langgoap.Score

langgoap.Score#

class Score[source]#

Abstract base for all score types.

Subclasses must implement value, is_feasible(), and _compare_payload(). Cross-subclass comparison raises TypeError so callers stay within a single score type per planning run.

__init__()#
Return type:

None

Methods

__init__()

is_feasible()

Return True if this score represents a feasible plan.

Attributes

value

Return a scalar representation of this score.