Added combinedQualityTop2 and SetBestTop2
Probably a better version of CalculateNewCombinedQuality and SetBestOrMoreLayersArithmetical. Use this two new functions or the two Arithmetical functions!
This commit is contained in:
@ -36,6 +36,12 @@ private:
|
||||
static int randomed;
|
||||
};
|
||||
|
||||
struct combinedQualityTop2 {
|
||||
Part* qualityID;
|
||||
float quality1 = 0.0;
|
||||
float quality2 = 0.0;
|
||||
};
|
||||
|
||||
class Puzzle
|
||||
{
|
||||
public:
|
||||
@ -87,6 +93,7 @@ public:
|
||||
vector<Part*> p_myBox;
|
||||
|
||||
qualityVector combinedQualityVector;
|
||||
vector<combinedQualityTop2> combinedQualityTop2Vector;
|
||||
|
||||
vector<float> tmp_destructionArray;
|
||||
|
||||
|
Reference in New Issue
Block a user