Class: Contr::Sampler::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/contr/sampler.rb

Direct Known Subclasses

Default

Instance Method Summary collapse

Instance Method Details

#sample!(state) ⇒ Object

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/contr/sampler.rb', line 6

def sample!(state)
  raise NotImplementedError, "sampler should implement `#sample!` method"
end