Outline of a StatefulScheduler trait, along with a stub for GraphScheduler.