Main Page
Namespaces
Classes
Files
File List
File Members
libism
ISM
combinatorial_optimization
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>
25
class
NeighbourhoodFunction
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
}
ISM::NeighbourhoodFunction
Definition:
NeighbourhoodFunction.hpp:25
ISM::NeighbourhoodFunction::hasNextNeighbour
virtual bool hasNextNeighbour()=0
ISM::NeighbourhoodFunction::setReferenceInstance
virtual void setReferenceInstance(InstanceType instance)=0
ISM::NeighbourhoodFunction::getNextNeighbour
virtual InstanceType getNextNeighbour()=0
ISM::NeighbourhoodFunctionPtr
boost::shared_ptr< NeighbourhoodFunction< InstanceType >> NeighbourhoodFunctionPtr
Definition:
NeighbourhoodFunction.hpp:34
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