31 lines
784 B
C
31 lines
784 B
C
|
//
|
||
|
// Created by mpapa on 05.12.2017.
|
||
|
//
|
||
|
|
||
|
#ifndef SOURCE_ABSTRACTIONLAYER_1_H
|
||
|
#define SOURCE_ABSTRACTIONLAYER_1_H
|
||
|
|
||
|
#include "../AbstraktionLayer_Base.h"
|
||
|
#include "AbstractionLayer_1_Properties.h"
|
||
|
#include <vector>
|
||
|
#include <iostream>
|
||
|
#include <bitset>
|
||
|
|
||
|
class AbstractionLayer_1 : public AbstraktionLayer_Base<AbstractionLayer_1_Properties>
|
||
|
{
|
||
|
public:
|
||
|
void PreProcessing(const vector<Part*>* partArray);
|
||
|
bool EvalueteQuality (const coor constraintCoordinate, qualityVector& qVector);
|
||
|
bool SetConstraintOnPosition(const coor constraintCoordinate, const AbstractionLayer_1_Properties constraint);
|
||
|
bool RemoveConstraintOnPosition(const coor constraintCoordinate);
|
||
|
|
||
|
void setEdgeZero();
|
||
|
|
||
|
|
||
|
bool CreateRandomPuzzle();
|
||
|
|
||
|
private:
|
||
|
};
|
||
|
|
||
|
#endif //SOURCE_ABSTRACTIONLAYER_1_H
|