#include <AcceptanceFunction.h>

Public Member Functions | |
| virtual double | accept (const double temp, const double change)=0 |
| virtual void | setOffset (double _offset)=0 |
| virtual void | setK (double _k)=0 |
See DefaultAcceptanceFunction.
Definition at line 33 of file AcceptanceFunction.h.
| virtual double CompuCell3D::AcceptanceFunction::accept | ( | const double | temp, | |
| const double | change | |||
| ) | [pure virtual] |
Calculates the probability that a change should be accepted based on the current temperature and the energy cost.
| temp | The current temperature. | |
| change | The change energy. |
Implemented in CompuCell3D::DefaultAcceptanceFunction, and CompuCell3D::FirstOrderExpansionAcceptanceFunction.
Referenced by CompuCell3D::Potts3D::metropolisBoundaryWalker(), CompuCell3D::Potts3D::metropolisFast(), and CompuCell3D::Potts3D::metropolisList().
| virtual void CompuCell3D::AcceptanceFunction::setOffset | ( | double | _offset | ) | [pure virtual] |
Implemented in CompuCell3D::DefaultAcceptanceFunction, and CompuCell3D::FirstOrderExpansionAcceptanceFunction.
Referenced by CompuCell3D::Simulator::initializePottsCC3D(), and CompuCell3D::Potts3D::update().
| virtual void CompuCell3D::AcceptanceFunction::setK | ( | double | _k | ) | [pure virtual] |
Implemented in CompuCell3D::DefaultAcceptanceFunction, and CompuCell3D::FirstOrderExpansionAcceptanceFunction.
Referenced by CompuCell3D::Simulator::initializePottsCC3D(), and CompuCell3D::Potts3D::update().
1.5.6