invoke

abstract fun invoke(obj: Any, vararg objs: Any): T

Invokes the agent with one or more arguments.

Return

the result of type T from the agent invocation

Parameters

obj

the first (and possibly only) input value to be added to the blackboard

objs

additional input values to add to the blackboard


abstract fun invoke(map: Map<String, Any>): T

Invokes the agent with a map of named inputs.

Return

the result of type T from the agent invocation

Parameters

map

A Map that initializes the blackboard