it.unibo.jakta.agents.bdi.dsl.beliefs.LogicProgrammingScopeExtensions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jakta-dsl Show documentation
Show all versions of jakta-dsl Show documentation
A Kotlin internal DSL for the definition of BDI agents
package it.unibo.jakta.agents.bdi.dsl.beliefs
// context(LogicProgrammingScope)
// fun Struct.source(name: String): Struct = addFirst(Struct.of("source", Atom.of(name)))
//
// context(LogicProgrammingScope)
// fun String.source(name: String): Struct = atomOf(this).addFirst(Struct.of("source", Atom.of(name)))
//
// context(LogicProgrammingScope)
// val Struct.fromSelf
// get() = source("self")
//
// context(LogicProgrammingScope)
// val String.fromSelf
// get() = source("self")
//
// context(LogicProgrammingScope)
// val Struct.fromPercept
// get() = source("percept")
//
// context(LogicProgrammingScope)
// val String.fromPercept
// get() = source("percept")
© 2015 - 2025 Weber Informatics LLC | Privacy Policy