diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 15eee6de8..cae4a8351 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -12,7 +12,7 @@ cycamore Change Log **Changed:** * Updated build procedure to use newer versions of packages in 2023 (#549) - +* Added active/dormant and request size variation from buy policy to Storage (#546, #568) v1.5.5 ==================== diff --git a/src/storage.h b/src/storage.h index 67d67c563..4e6f7f786 100644 --- a/src/storage.h +++ b/src/storage.h @@ -111,8 +111,6 @@ class Storage // --- Agent Members --- /// - virtual void SetUpBuyPolicy(); - /// Sets up the Storage Facility's trade requests virtual void EnterNotify(); @@ -125,6 +123,8 @@ class Storage virtual std::string version() { return CYCAMORE_VERSION; } protected: + /// @brief sets up the distributions for the buy policy + void SetUpBuyPolicy(); /// @brief adds a material into the incoming commodity inventory /// @param mat the material to add to the incoming inventory. /// @throws if there is trouble with pushing to the inventory buffer.