CostFunction.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 template<class InstanceType>
26 {
27  public:
28  virtual double calculateCost(InstanceType instance) = 0;
29 
30 };
31 
32 template<class InstanceType>
33 using CostFunctionPtr = boost::shared_ptr<CostFunction<InstanceType>>;
34 
35 }
boost::shared_ptr< CostFunction< InstanceType >> CostFunctionPtr
virtual double calculateCost(InstanceType instance)=0
this namespace contains all generally usable classes.


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