public DiffGenerator(PrSimulator prSimulator, StSimulator stSimulator) { if (prSimulator.Size != stSimulator.Size) { throw new ArgumentException("Simulators must be equal size."); } m_PrSimulator = prSimulator; m_StSimulator = stSimulator; Size = m_PrSimulator.Size; }
public static SimulationOptions FromSimulator(PrSimulator simulator) { return(new SimulationOptions(simulator.Size, simulator.StartLocation)); }