int Simulate(BouncingHexagon t, Parameter v) { t.Reset(v.WHratio, 1, false); var ans = t.Start(v.height, v.angle / 180 * Math.PI, false).Result; return(ans); }
//int maxDictSize = 1000000; //Dictionary<Parameter, int> dict = new Dictionary<Parameter, int>(); //Random rand = new Random(); int Query(BouncingHexagon t, Parameter v) { return(Simulate(t, v)); }