NeighbourhoodFunction.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 InstanceType getNextNeighbour() = 0;
29  virtual bool hasNextNeighbour() = 0;
30  virtual void setReferenceInstance(InstanceType instance) = 0;
31 };
32 
33 template<class InstanceType>
34 using NeighbourhoodFunctionPtr = boost::shared_ptr<NeighbourhoodFunction<InstanceType>>;
35 
36 }
virtual bool hasNextNeighbour()=0
virtual void setReferenceInstance(InstanceType instance)=0
virtual InstanceType getNextNeighbour()=0
boost::shared_ptr< NeighbourhoodFunction< InstanceType >> NeighbourhoodFunctionPtr
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