/* Web Polygraph http://www.web-polygraph.org/ * (C) 2003-2006 The Measurement Factory * Licensed under the Apache License, Version 2.0 */ #ifndef POLYGRAPH__CLIENT_WARMUPPLAN_H #define POLYGRAPH__CLIENT_WARMUPPLAN_H #include "xstd/Ring.h" // iterates through vidx values until all reachable pub worlds are ready class WarmupPlan { protected: static bool WarmViserv(int vidx); static void ReportProgress(); static void CheckTermination(); static int ReadyCount(); protected: static int TheReqCnt; public: WarmupPlan(const Array &visIdx); int selectViserv(); protected: Ring thePlan; }; #endif