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

it.unibo.jakta.agents.bdi.dsl.beliefs.LogicProgrammingScopeExtensions.kt Maven / Gradle / Ivy

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