Function validate_flows
Source fn validate_flows(flows: &HashMap<ProcessID, Vec<ProcessFlow>>) -> Result<()>
Expand description
Validate that no process has multiple flows for the same commodity.
§Arguments
flows
- A map of process IDs to process flows
§Returns
An Ok(())
if the check is successful, or an error.