it.unibo.jakta.agents.bdi.actions.ExternalAction.kt Maven / Gradle / Ivy
package it.unibo.jakta.agents.bdi.actions
import it.unibo.jakta.agents.bdi.Agent
import it.unibo.jakta.agents.bdi.actions.effects.EnvironmentChange
import it.unibo.jakta.agents.bdi.messages.Message
interface ExternalAction : Action {
fun addAgent(agent: Agent)
fun removeAgent(agentName: String)
fun sendMessage(agentName: String, message: Message)
fun broadcastMessage(message: Message)
fun addData(key: String, value: Any)
fun removeData(key: String)
fun updateData(newData: Map)
fun updateData(keyValue: Pair, vararg others: Pair) =
updateData(mapOf(keyValue, *others))
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy