Class CentralizedNegotiation::Result

Nested Relationships

This class is a nested type of Class CentralizedNegotiation.

Class Documentation

class Result

Public Functions

const std::optional<Proposal> &proposal() const

If a solution was found, it will be provided by this proposal.

const std::unordered_set<schedule::ParticipantId> &blockers() const

This is a list of schedule Participants that were not part of the negotiation who blocked the planning effort. Blockers do not necessarily prevent a solution from being found, but they do prevent the optimal solution from being available.

const std::vector<std::string> &log() const

A log of messages related to the negotiation. This will be empty unless the log() function of the CentralizedNegotiation is toggled on before solving.