meld.remd.adaptor.NullAdaptor

class meld.remd.adaptor.NullAdaptor(n_replicas)[source]

Bases: meld.remd.adaptor._AcceptanceCounter

Adaptor that does nothing

__init__(n_replicas)[source]

Initialize NullAdaptor

Parameters

n_replicas (int) – number of replicas

Methods

__init__(n_replicas)

Initialize NullAdaptor

adapt(previous_lambdas, step)

rtype

List[float]

get_acceptance_probabilities()

Get acceptance probabilities

reset()

Reset statistics

update(i, accepted)

Update statistics

reset()[source]

Reset statistics

Return type

None

update(i, accepted)[source]

Update statistics

Parameters
  • i (int) – lower replica index of pair with attempted swap

  • accepted (bool) – True if swap was successful

Return type

None