asAction

inline fun <I, O : Any> Agent.asAction(): Action

Expose this agent as an action of the given transformation type


fun <I, O : Any> asAction(agentName: String, inputClass: Class<I>, outputClass: Class<O>, pre: List<String> = emptyList(), post: List<String> = emptyList(), cost: <Error class: unknown class> = 0.0, value: <Error class: unknown class> = 0.0, canRerun: Boolean = false): Action

Expose the named agent as an action of the given transformation type


inline fun <I, O : Any> asAction(agentName: String): Action