//*Function for mediating the auction public void MediateAuction(int ToD, int[] PreviousStage, Returner ReturnerVariables) { AllPhases.Clear(); foreach (StageAgent SA in Stages) { SA.GenerateBid(ToD); foreach (double PhaseBid in SA.LanePhases) { AllPhases.Add(PhaseBid); } } Strat.ProcessJunction(this, PreviousStage, ReturnerVariables); }