This commit is contained in:
2026-03-02 15:48:49 +03:00
parent 7cdd2068be
commit d87484393d
21 changed files with 986 additions and 7 deletions
+8
View File
@@ -15,8 +15,16 @@ public:
void setValue(int index, float value);
void setState(int index, State state);
void resetStates();
void resetCounters();
size_t getComparisons() const;
size_t getSwaps() const;
void incrementComparisons();
void incrementSwaps();
private:
std::vector<float> data_;
std::vector<State> states_;
size_t comparisons_;
size_t swaps_;
};