Generated on Wed Apr 29 2015 11:51:41 for GGL-4.1.2 by doxygen 1.8.3.1
Public Member Functions | Protected Attributes
ggl::chem::RRC_Fixed Class Reference

#include <ReactionRateCalculation.hh>

Inheritance diagram for ggl::chem::RRC_Fixed:
Inheritance graph
[legend]

Public Member Functions

virtual double getRate (const Reaction &reaction) const
 
virtual bool needTransitionState (void) const
 
 RRC_Fixed (const double fixRate)
 
virtual ~RRC_Fixed ()
 default destruction More...
 

Protected Attributes

const double fixRate
 the fixed rate to return for all reactions More...
 

Detailed Description

A reaction rate calculator that does not calculate a rate but returns a fixed reaction rate independently from the given reaction.

Author
Martin Mann (c) 2009 http://www.bioinf.uni-freiburg.de/~mmann/

Definition at line 61 of file ReactionRateCalculation.hh.

Constructor & Destructor Documentation

ggl::chem::RRC_Fixed::RRC_Fixed ( const double  fixRate)

Constructs a new reaction rate calculator that yields always the same fixed reaction rate given.

Parameters
fixRatethe fixed rate to be assigned to all reactions
virtual ggl::chem::RRC_Fixed::~RRC_Fixed ( )
virtual

Member Function Documentation

virtual double ggl::chem::RRC_Fixed::getRate ( const Reaction reaction) const
virtual

Returns a fixed transition rate for all reactions.

Parameters
reactionthe Reaction object to calculate the rate for; but doesnt matter because fixed rate returned!
Returns
the fixed reaction rate

Implements ggl::chem::ReactionRateCalculation.

virtual bool ggl::chem::RRC_Fixed::needTransitionState ( void  ) const
virtual

No transition state needed, such that this returns always false!

Returns
false because no transition state needed for a fixed reaction rate

Implements ggl::chem::ReactionRateCalculation.

Field Documentation

const double ggl::chem::RRC_Fixed::fixRate
protected

Definition at line 66 of file ReactionRateCalculation.hh.


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