PartialProposalAdapter
scalismo.sampling.proposals.PartialProposalAdapter
class PartialProposalAdapter[A, Part](proposal: ProposalGenerator[Part] & TransitionProbability[Part], lens: SampleLens[A, Part]) extends ProposalGenerator[A] with TransitionProbability[A]
Adapter to obtain a full proposal from a proposal generator that is only defined on a part of the parameter space. The part on which the proposal generator is defined is defined by the given sampleLens
Attributes
- lens
A lense that focuses on the desired part of the parameter vector
- proposal
A proposal generator that generates a new proposal for a given part
- Graph
- Supertypes
- trait TransitionProbability[A]trait TransitionRatio[A]trait ProposalGenerator[A]class Objecttrait Matchableclass Any