Main Page
Namespaces
Classes
Files
File List
File Members
libism
ISM
combinatorial_optimization
AcceptanceFunction.hpp
Go to the documentation of this file.
1
18
#pragma once
19
20
#include <boost/shared_ptr.hpp>
21
22
namespace
ISM
{
23
24
class
AcceptanceFunction
25
{
26
public
:
27
virtual
bool
isNewCostAcceptable
(
double
newCost,
double
oldCost) = 0;
28
virtual
void
update
() = 0;
29
virtual
void
reset
() = 0;
30
31
};
typedef
boost::shared_ptr<AcceptanceFunction>
AcceptanceFunctionPtr
;
32
33
}
34
ISM::AcceptanceFunction::isNewCostAcceptable
virtual bool isNewCostAcceptable(double newCost, double oldCost)=0
ISM::AcceptanceFunctionPtr
boost::shared_ptr< AcceptanceFunction > AcceptanceFunctionPtr
Definition:
AcceptanceFunction.hpp:31
ISM::AcceptanceFunction::reset
virtual void reset()=0
ISM::AcceptanceFunction
Definition:
AcceptanceFunction.hpp:24
ISM::AcceptanceFunction::update
virtual void update()=0
ISM
this namespace contains all generally usable classes.
Definition:
AcceptanceFunction.hpp:22
asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:40