From cb20d6966a4c3d386925f812fe83b00f3f803db3 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sun, 10 Jun 2018 12:34:41 +0200 Subject: add a hint on multiplexer --- src/statistics/trackers.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/statistics') diff --git a/src/statistics/trackers.rs b/src/statistics/trackers.rs index 44b2f97..7b16fce 100644 --- a/src/statistics/trackers.rs +++ b/src/statistics/trackers.rs @@ -9,6 +9,11 @@ //! doesn't matter what you track, it doesn't matter how many trackers you //! define. //! +//! If you want to track stats separated by player or phases, consider writing +//! your tracker in a way that it only tracks statistics for a single player, +//! and then use a [`Multiplexer`](struct.Multiplexer.html) to automatically +//! track it for every player/agent. +//! //! You can use [`run_trackers`](../fn.run_trackers.html) to run multiple //! trackers on the same log. use std::collections::HashMap; -- cgit v1.2.3