commonMain.it.unibo.tuprolog.solve.library.impl.AbstractPluggable.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of solve-jvm Show documentation
Show all versions of solve-jvm Show documentation
Resolution-agnostic API for logic solvers
package it.unibo.tuprolog.solve.library.impl
import it.unibo.tuprolog.solve.Signature
import it.unibo.tuprolog.solve.library.Pluggable
abstract class AbstractPluggable : Pluggable {
private val rulesSignaturesCache: Set by lazy {
rulesSignatures.toSet()
}
override fun hasRule(signature: Signature): Boolean = signature in rulesSignaturesCache
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy