PyBaseSampler
-
class
aquila_borg.samplers.
PyBaseSampler
PyBaseSampler class to implement MarkovSampler object from python.
The constructor must call super().__init__() to ensure the native part of the object is well initialized.
- Note that three functions must be implemented:
initialize(state: MarkovState)
restore(state: MarkovState)
sample(state: MarkovState)
The first two are hidden from the MarkovSampler interface as being protected in the native interface.
Methods
|
|
|