diff options
author | Gard Spreemann <gspr@nonempty.org> | 2022-04-29 13:56:44 +0200 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2022-04-29 13:56:44 +0200 |
commit | 25ecf3d4f7da739ec6a96ae3746498b1ae6e21f3 (patch) | |
tree | 4cd624d4380517400b60788ee5dd38b17f50244b /wasserstein/include/auction_runner_gs.h | |
parent | e43fec46f5279e5d36d8fd5febc0cd5c357773ee (diff) | |
parent | fb4866e1d827389db17d74e5986d848617c8ef72 (diff) |
Merge branch 'dfsg/latest' into debian/sid
Diffstat (limited to 'wasserstein/include/auction_runner_gs.h')
-rw-r--r-- | wasserstein/include/auction_runner_gs.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/wasserstein/include/auction_runner_gs.h b/wasserstein/include/auction_runner_gs.h index 8ad95c2..3616a98 100644 --- a/wasserstein/include/auction_runner_gs.h +++ b/wasserstein/include/auction_runner_gs.h @@ -49,8 +49,7 @@ public: AuctionRunnerGS(const PointContainer& A, const PointContainer& B, - const AuctionParams<Real>& params, - const std::string& _log_filename_prefix = ""); + const AuctionParams<Real>& params); void set_epsilon(Real new_val) { assert(epsilon > 0.0); epsilon = new_val; }; Real get_epsilon() const { return oracle.get_epsilon(); } @@ -98,19 +97,6 @@ public: int num_phase { 0 }; int num_rounds { 0 }; bool is_distance_computed {false}; -#ifdef LOG_AUCTION - bool log_auction { false }; - std::shared_ptr<spdlog::logger> console_logger; - std::shared_ptr<spdlog::logger> plot_logger; - std::unordered_set<size_t> unassigned_items; - size_t max_unassigned_to_log { 0 }; - const char* logger_name = "auction_detailed_logger"; // the name in spdlog registry; filename is provided as parameter in enable_logging - const Real total_items_persistence; - const Real total_bidders_persistence; - Real partial_cost; - Real unassigned_bidders_persistence; - Real unassigned_items_persistence; -#endif }; } // ws |