Main Page
Namespaces
Classes
Files
File List
File Members
libism
ISM
combinatorial_trainer
TopologyGeneratorPaper.hpp
Go to the documentation of this file.
1
18
#pragma once
19
20
#include "
TopologyGenerator.hpp
"
21
22
#include "
ObjectRelation.hpp
"
23
#include "
utility/MathHelper.hpp
"
24
#include "
utility/LogHelper.hpp
"
25
26
namespace
ISM
27
{
28
29
class
TopologyGeneratorPaper
:
public
TopologyGenerator
30
{
31
public
:
32
TopologyGeneratorPaper
(
const
std::map<std::string, ISM::ObjectRelations> allObjectRelationsPerPattern,
33
unsigned
maxNeighbourCount,
bool
swapRelations,
bool
removeRelations)
34
:
TopologyGenerator
(allObjectRelationsPerPattern, maxNeighbourCount)
35
,
mSwapRelations
(swapRelations)
36
,
mRemoveRelations
(removeRelations)
37
{}
38
39
std::string
getDescription
();
40
41
private
:
42
bool
mSwapRelations
;
43
bool
mRemoveRelations
;
44
45
protected
:
46
std::vector<std::vector<bool>>
calculateNeighbours
(
const
std::string &pattern, std::vector<bool> from);
47
48
};
typedef
boost::shared_ptr<TopologyGeneratorPaper>
TopologyGeneratorPaperPtr
;
49
50
}
ISM::TopologyGeneratorPaper::getDescription
std::string getDescription()
Definition:
TopologyGeneratorPaper.cpp:78
TopologyGenerator.hpp
LogHelper.hpp
ISM::TopologyGeneratorPaper::mSwapRelations
bool mSwapRelations
Definition:
TopologyGeneratorPaper.hpp:42
ObjectRelation.hpp
ISM::TopologyGenerator
Definition:
TopologyGenerator.hpp:33
MathHelper.hpp
ISM::TopologyGeneratorPaper::calculateNeighbours
std::vector< std::vector< bool > > calculateNeighbours(const std::string &pattern, std::vector< bool > from)
Definition:
TopologyGeneratorPaper.cpp:24
ISM::TopologyGeneratorPaper::TopologyGeneratorPaper
TopologyGeneratorPaper(const std::map< std::string, ISM::ObjectRelations > allObjectRelationsPerPattern, unsigned maxNeighbourCount, bool swapRelations, bool removeRelations)
Definition:
TopologyGeneratorPaper.hpp:32
ISM::TopologyGeneratorPaperPtr
boost::shared_ptr< TopologyGeneratorPaper > TopologyGeneratorPaperPtr
Definition:
TopologyGeneratorPaper.hpp:48
ISM::TopologyGeneratorPaper
Definition:
TopologyGeneratorPaper.hpp:29
ISM
this namespace contains all generally usable classes.
Definition:
AcceptanceFunction.hpp:22
ISM::TopologyGeneratorPaper::mRemoveRelations
bool mRemoveRelations
Definition:
TopologyGeneratorPaper.hpp:43
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:41