AlterCustomData

abstract class AlterCustomData(val data: Map<String, Any>, val reset: Boolean = false) : SideEffect

Base class for side effects altering one it.unibo.tuprolog.solve.data.CustomDataStore tier with data, either merging it in, or replacing the tier outright if reset.

Inheritors

Constructors

Link copied to clipboard
constructor(data: Map<String, Any>, reset: Boolean = false)

Properties

Link copied to clipboard
open val data: Map<String, Any>
Link copied to clipboard
open val reset: Boolean

Functions

Link copied to clipboard
abstract fun applyTo(context: ExecutionContext): ExecutionContext

Produces the ExecutionContext resulting from applying this side effect to context.