GuestSelection(size_t, const std::vector<std::shared_ptr<const Guest>> &) copies the guest vector. This impacts performance for the Cluster Tree maximisation.
Idea: Store only the selection mask for each cluster, and backtrack to reconstruct the guest vector.
Also address inline performance TODOs.
GuestSelection(size_t, const std::vector<std::shared_ptr<const Guest>> &)copies the guest vector. This impacts performance for the Cluster Tree maximisation.Idea: Store only the selection mask for each cluster, and backtrack to reconstruct the guest vector.
Also address inline performance TODOs.