Package csb :: Package statistics :: Package samplers :: Package mc :: Class RENSSwapCommunicator
[frames] | no frames]

Class RENSSwapCommunicator

source code

              object --+    
                       |    
AbstractSwapCommunicator --+
                           |
                          RENSSwapCommunicator

Holds all the information which needs to be communicated between distinct RENS swap substeps.

Nested Classes

Inherited from AbstractSwapCommunicator: __metaclass__

Instance Methods
 
__init__(self, param_info, proposal1, proposal2, heat12, heat21)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from AbstractSwapCommunicator: __abstractmethods__

Properties
  heat12
  heat21

Inherited from AbstractSwapCommunicator: acceptance_probability, accepted, param_info, proposal1, proposal2, sampler1, sampler2, state1, state2

Inherited from object: __class__

Method Details

__init__(self, param_info, proposal1, proposal2, heat12, heat21)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • param_info (AbstractSwapParameterInfo) - ParameterInfo instance holding swap parameters
  • proposal1 (State) - Proposal state for first sampler
  • proposal2 (State) - Proposal state for second sampler
  • heat12 (float) - Heat generated during the forward trajectory
  • heat21 (float) - Heat generated during the reverse trajectory
Overrides: object.__init__
(inherited documentation)

Property Details

heat12

Get Method:
unreachable.heat12(self)

heat21

Get Method:
unreachable.heat21(self)