- Added scen_st to the output, which lists the number of states in the

specific scenario.
This commit is contained in:
ccremers
2004-07-30 12:04:38 +00:00
parent d75e3af55c
commit 15fcbf8090
7 changed files with 42 additions and 25 deletions

View File

@@ -202,16 +202,25 @@ executeStep (const System sys, const int run)
/* we will explore this state, so count it. */
sys->states = statesIncrease (sys->states);
/* what about scenario exploration? */
if (sys->switchScenario && sys->step+1 > sys->switchScenarioSize)
{
/* count states within scenario */
sys->statesScenario = statesIncrease (sys->statesScenario);
}
/* show progression */
if (sys->switchS > 0)
{
sys->interval = statesIncrease (sys->interval);
if (!statesSmallerThan (sys->interval, (unsigned long int) sys->switchS))
{
globalError++;
sys->interval = STATES0;
fprintf (stderr, "States ");
statesFormat (stderr, sys->states);
fprintf (stderr, " \r");
eprintf ("States ");
statesFormat (sys->states);
eprintf (" \r");
globalError--;
}
}