Marmote Core
The project aims at realizing the prototype of a software environment dedicated to modeling with Markov chains.
|
Contains usef-defined stop functions. More...
Functions | |
int | stop_when_zero (int *state) |
Function stop condition of the kernel simple forward. More... | |
int | stop_when_reach_1000_times_zero (int *state) |
Function stop condition of the kernel simple forward. More... | |
Variables | |
int | cpt_zero = 0 |
Contains usef-defined stop functions.
int stop_when_reach_1000_times_zero | ( | int * | state | ) |
Function stop condition of the kernel simple forward.
This function watch the first queue of system and stop simulation when this queue goes empty after 1000 times It's user's responsibility to manage a counter (e.g here cpt_zero)
state | State vector of queues |
int stop_when_zero | ( | int * | state | ) |
Function stop condition of the kernel simple forward.
This function watch the first queue of system and stop simulation when this queue goes empty for the first time
state | State vector of queues |