This function returns the criterion that finally stopped the most recent simulation.
Note:
Before calling this function, run a simulation or the function returns cbErrNotReady.
Table 186. CB.SimResult Returned Data Type
Returned Value
Returned Data Type
The stopping criterion used: 0 for a calculation error, 1 for maximum number of trials, 2 for Crystal Ball precision control, or 3 for OptQuest confidence testing