* @brief Get maxmin share of the resource
*
* @param resource Internal index of resource in C_ vector
+ * @param bounded_players List of players that are externally bounded
* @return maxmin share
*/
- double get_maxmin_share(int resource) const;
+ double get_maxmin_share(int resource, const std::vector<int>& bounded_players) const;
/**
* @brief Auxiliary method to get list of bounded player from allocation
*
std::set<std::vector<int>> allocations_; //!< set of already tested allocations, since last identified loop
AllocationGenerator gen_;
- std::vector<int> allocations_age_;
static constexpr int NO_RESOURCE = -1; //!< flag to indicate player has selected no resource
int max_iteration_; //!< number maximum of iterations of BMF algorithm
};