A context-driven memory model simulates a wide range of characteristics of waking and sleeping hippocampal replay, providing ...