Geant4  10.03
G4SimplexDownhill< T > Class Template Reference

#include <G4SimplexDownhill.hh>

+ Inheritance diagram for G4SimplexDownhill< T >:

Public Member Functions

 G4SimplexDownhill (T *tp, G4int n)
 
 ~G4SimplexDownhill ()
 
G4double GetMinimum ()
 
std::vector< G4doubleGetMinimumPoint ()
 

Private Member Functions

G4double getValue (std::vector< G4double > x)
 
void initialize ()
 
void calHeights ()
 
std::vector< G4doublecalCentroid (G4int)
 
G4bool isItGoodEnough ()
 
std::vector< G4doublegetReflectionPoint (std::vector< G4double >, std::vector< G4double >)
 
std::vector< G4doublegetExpansionPoint (std::vector< G4double >, std::vector< G4double >)
 
std::vector< G4doublegetContractionPoint (std::vector< G4double >, std::vector< G4double >)
 
void doDownhill ()
 
void init ()
 

Private Attributes

std::vector< std::vector
< G4double > > 
currentSimplex
 
std::vector< G4doublecurrentHeights
 
G4double currentValue
 
T * target
 
G4int numberOfVariable
 
G4double alpha
 
G4double beta
 
G4double gamma
 
G4double max_se
 
G4double max_ratio
 
G4int maximum_no_trial
 
G4bool minimized
 
std::vector< G4doubleminimumPoint
 

Detailed Description

template<class T>
class G4SimplexDownhill< T >

Definition at line 49 of file G4SimplexDownhill.hh.

Constructor & Destructor Documentation

template<class T>
G4SimplexDownhill< T >::G4SimplexDownhill ( T *  tp,
G4int  n 
)
inline

Definition at line 54 of file G4SimplexDownhill.hh.

template<class T>
G4SimplexDownhill< T >::~G4SimplexDownhill ( )

Member Function Documentation

template<class T>
std::vector< G4double > G4SimplexDownhill< T >::calCentroid ( G4int  )
private
template<class T>
void G4SimplexDownhill< T >::calHeights ( )
private
template<class T>
void G4SimplexDownhill< T >::doDownhill ( )
private
template<class T>
std::vector< G4double > G4SimplexDownhill< T >::getContractionPoint ( std::vector< G4double ,
std::vector< G4double  
)
private
template<class T>
std::vector< G4double > G4SimplexDownhill< T >::getExpansionPoint ( std::vector< G4double ,
std::vector< G4double  
)
private
template<class T>
G4double G4SimplexDownhill< T >::GetMinimum ( )
template<class T>
std::vector< G4double > G4SimplexDownhill< T >::GetMinimumPoint ( )

Referenced by G4ConvergenceTester::calc_slope_fit().

+ Here is the caller graph for this function:

template<class T>
std::vector< G4double > G4SimplexDownhill< T >::getReflectionPoint ( std::vector< G4double ,
std::vector< G4double  
)
private
template<class T>
G4double G4SimplexDownhill< T >::getValue ( std::vector< G4double x)
inlineprivate

Definition at line 67 of file G4SimplexDownhill.hh.

template<class T>
void G4SimplexDownhill< T >::init ( )
private

Referenced by G4SimplexDownhill< G4ConvergenceTester >::G4SimplexDownhill().

+ Here is the caller graph for this function:

template<class T>
void G4SimplexDownhill< T >::initialize ( )
private
template<class T>
G4bool G4SimplexDownhill< T >::isItGoodEnough ( )
private

Member Data Documentation

template<class T>
G4double G4SimplexDownhill< T >::alpha
private

Definition at line 98 of file G4SimplexDownhill.hh.

template<class T>
G4double G4SimplexDownhill< T >::beta
private

Definition at line 99 of file G4SimplexDownhill.hh.

template<class T>
std::vector< G4double > G4SimplexDownhill< T >::currentHeights
private

Definition at line 74 of file G4SimplexDownhill.hh.

template<class T>
std::vector< std::vector< G4double > > G4SimplexDownhill< T >::currentSimplex
private

Definition at line 71 of file G4SimplexDownhill.hh.

template<class T>
G4double G4SimplexDownhill< T >::currentValue
private

Definition at line 75 of file G4SimplexDownhill.hh.

template<class T>
G4double G4SimplexDownhill< T >::gamma
private

Definition at line 100 of file G4SimplexDownhill.hh.

template<class T>
G4double G4SimplexDownhill< T >::max_ratio
private

Definition at line 102 of file G4SimplexDownhill.hh.

template<class T>
G4double G4SimplexDownhill< T >::max_se
private

Definition at line 101 of file G4SimplexDownhill.hh.

template<class T>
G4int G4SimplexDownhill< T >::maximum_no_trial
private

Definition at line 103 of file G4SimplexDownhill.hh.

template<class T>
G4bool G4SimplexDownhill< T >::minimized
private

Definition at line 104 of file G4SimplexDownhill.hh.

template<class T>
std::vector< G4double > G4SimplexDownhill< T >::minimumPoint
private

Definition at line 106 of file G4SimplexDownhill.hh.

template<class T>
G4int G4SimplexDownhill< T >::numberOfVariable
private

Definition at line 96 of file G4SimplexDownhill.hh.

template<class T>
T* G4SimplexDownhill< T >::target
private

The documentation for this class was generated from the following file: