Browse Source
The state information of the model-automaton product are stored as an int array, with one entry for every combination of model state index and automaton state index. Thus, |S|*|A| has to be less than INT_MAX, even if the reachable state space could be index with an int. Thus, we use Math.multiplyExact to catch the case that the product of the two numbers of states overflows the int range and throw an Exception.master
1 changed files with 7 additions and 1 deletions
Loading…
Reference in new issue