diff options
author | Arnur Nigmetov <anigmetov@lbl.gov> | 2022-04-09 17:33:15 -0700 |
---|---|---|
committer | Arnur Nigmetov <anigmetov@lbl.gov> | 2022-04-09 17:33:15 -0700 |
commit | 8fbae1d789b3c9d7e9b079284c85489d8dcd7e65 (patch) | |
tree | c884ea100a702c7a6cb1cef083168ed59d7e0f31 /wasserstein/include/auction_runner_gs.h | |
parent | e62d16d7b1c42163de7b21ab74a780c3c1cf8e45 (diff) |
Major cleanupupstream/latest
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 |