it.unibo.jakta.agents.bdi.actions.InternalRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jakta-bdi Show documentation
Show all versions of jakta-bdi Show documentation
A Kotlin internal DSL for the definition of BDI agents
package it.unibo.jakta.agents.bdi.actions
import it.unibo.jakta.agents.bdi.Agent
import it.unibo.jakta.agents.bdi.actions.effects.AgentChange
import it.unibo.jakta.agents.bdi.actions.impl.InternalRequestImpl
import it.unibo.jakta.agents.fsm.time.Time
import it.unibo.tuprolog.core.Term
interface InternalRequest : ActionRequest {
val agent: Agent
companion object {
fun of(agent: Agent, requestTime: Time?, arguments: Iterable): InternalRequest =
InternalRequestImpl(agent, requestTime, arguments.toList())
fun of(agent: Agent, requestTime: Time?, vararg arguments: Term): InternalRequest =
of(agent, requestTime, arguments.asList())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy