Function simulate_race
Source pub fn simulate_race(params_json: String) -> Result<String>
Expand description
Simulate race with given strategy
§Arguments
params_json - JSON string with simulation parameters
§Example
const result = simulateRace(JSON.stringify({
track: "spa",
num_simulations: 100,
starting_compound: "C3",
pit_stops: [{lap: 22, compound: "C2"}]
}));