Skip to main content

simulate

Function simulate 

Source
pub fn simulate(
    graph: &PlanGraph,
    req: &SimulateRequest,
) -> Result<SimulationResult, PlannerError>
Expand description

Simulate graph without persisting anything.

A lint Error finding (including a cycle) is PlannerError::InvalidGraph listing each code, its ids and its message; anything else submit would reject is PlannerError::InvalidGraph with submit’s message. CPM runs once and is shared by leveling and Monte Carlo.