Class Auctioneer::Evaluator

Nested Relationships

This class is a nested type of Class Auctioneer.

Inheritance Relationships

Derived Types

Class Documentation

class Evaluator

A pure abstract interface class for the auctioneer to choose the best choosing the best submissions.

Subclassed by rmf_task_ros2::bidding::LeastFleetCostEvaluator, rmf_task_ros2::bidding::LeastFleetDiffCostEvaluator, rmf_task_ros2::bidding::QuickestFinishEvaluator

Public Functions

virtual std::optional<std::size_t> choose(const Responses &responses) const = 0

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

virtual ~Evaluator() = default