GoapAgentState

abstract class GoapAgentState<Input, Output>(val agentInput: Input)(source)

Represents the state of a Goal-Oriented Action Planning (GOAP) agent during its operation.

This abstract class provides a base for GOAP (Goal-Oriented Action Planning) agent states, capturing the initial input and defining how to produce the final output.

Parameters

Input

The type of the input data for the agent.

Output

The type of the output data produced by the agent.

Constructors

Link copied to clipboard
constructor(agentInput: Input)

Properties

Link copied to clipboard

The initial input provided to the agent.

Functions

Link copied to clipboard
abstract fun provideOutput(): Output

Provides an output based on the current state of the implementing class.