Class Negotiation::Evaluator

Nested Relationships

This class is a nested type of Class Negotiation.

Inheritance Relationships

Derived Type

Class Documentation

class Evaluator

A pure abstract interface class for choosing the best proposal.

Subclassed by rmf_traffic::schedule::QuickestFinishEvaluator

Public Functions

virtual std::size_t choose(const std::vector<const Proposal*> &proposals) const = 0

Given a set of proposals, choose the one that is the “best”. It is up to the implementation of the Evaluator to decide how to rank proposals.

virtual ~Evaluator() = default