as 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: CostComputation = { 0.0 }, value: CostComputation = { 0.0 }, canRerun: Boolean = false): Action
Expose the named agent as an action of the given transformation type