aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/libparser/node/groupnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libparser/node/groupnode.h')
-rw-r--r--src/libparser/node/groupnode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libparser/node/groupnode.h b/src/libparser/node/groupnode.h
index d037080..72e795c 100644
--- a/src/libparser/node/groupnode.h
+++ b/src/libparser/node/groupnode.h
@@ -38,6 +38,7 @@ public:
qint64 getExceptedValue() const;
void setExceptedValue(qint64 exceptedValue);
+ void sort();
private:
qint64 m_exceptedValue= 0;
};
@@ -62,6 +63,10 @@ protected:
bool composeWithPrevious(DieGroup previous, qint64 first, qint64 current, DieGroup& addValue);
private:
+ DieGroup findPerfect(DieGroup values, int count, int currentValue) const;
+ DieGroup findCombo(DieGroup values, int count, int currentValue) const;
+
+private:
ScalarResult* m_scalarResult;
StringResult* m_stringResult;
qint64 m_groupValue;