tokens: For example , given an input queued switch , it was shown that under the complete resource pooling ( CRP ) condition ( equivalently one - dimensional state - space collapse ) , the MaxWeight scheduling algorithm is heavy - traffic delay optimal in the sense of diffusion limit stolyar2004maxweight .