Optimizing The Time Warp Protocol With Learning Techniques