All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.unibo.jakta.agents.bdi.actions.InternalRequest.kt Maven / Gradle / Ivy

There is a newer version: 0.11.102
Show newest version
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