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

commonMain.it.unibo.tuprolog.collections.rete.custom.Cacheable.kt Maven / Gradle / Ivy

Go to download

In-memory storage and indexing facilities for ordered and unordered knowledge bases composed by logic clauses

There is a newer version: 0.17.4
Show newest version
package it.unibo.tuprolog.collections.rete.custom

import it.unibo.tuprolog.collections.rete.custom.clause.SituatedIndexedClause

/**Marks a Class as capable of managing a cache of [SituatedIndexedClause].*/
internal interface Cacheable {

    /** Retrieves the cache of the current level in the indexing tree */
    fun getCache(): Sequence

    /**Forcefully invalidate the node cache and all of its subtree cache*/
    fun invalidateCache()

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy