| 
    Jpp master_rocky-44-g75b7c4f75
    
   the software that should make you happy 
   | 
 
Implementation of the JGenerator interface. More...
#include <JMarkovGenerator.hh>
  
Public Member Functions | |
| JShiftedGenerator (JGenerator *_g, JPosition3D _shift) | |
| Constructor.   | |
| JPosition3D | getPosition () | 
| Return a randomly generated position.   | |
| double | getWeight (JPosition3D pos) | 
| return the weight (=probability density dP/dV) for the given position.   | |
Protected Attributes | |
| JGenerator * | g | 
| JPosition3D | shift | 
Implementation of the JGenerator interface.
Generates positions by shifting the positions from another JGenerator
Definition at line 485 of file JMarkovGenerator.hh.
      
  | 
  inline | 
Constructor.
_g is a pointer to some other generator, note that memory ownership of the instance pointed to by _g is not transferred, so
Definition at line 497 of file JMarkovGenerator.hh.
      
  | 
  inlinevirtual | 
Return a randomly generated position.
Implements JMARKOV::JGenerator.
Definition at line 500 of file JMarkovGenerator.hh.
      
  | 
  inlinevirtual | 
return the weight (=probability density dP/dV) for the given position.
When the generator is properly normalized, the integral of this quantity over the whole space is 1.
Implements JMARKOV::JGenerator.
Definition at line 504 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 510 of file JMarkovGenerator.hh.
      
  | 
  protected | 
Definition at line 511 of file JMarkovGenerator.hh.