Template Struct task_id_extract

Struct Documentation

template<class TController>
struct task_id_extract

Given a robot controller of type T, extract the ID of its current task. This is used in computing task distribution entropy.

Public Functions

task_id_extract(void) = default
inline int operator()(const TController *const c) const