choco-solver icon indicating copy to clipboard operation
choco-solver copied to clipboard

FiniteAutomaton : declare a factory for intersection, etc.

Open cprudhom opened this issue 8 years ago • 0 comments
trafficstars

Some methods are declared in FiniteAutomaton but should be moved to a factory to avoid mis-interpretation. F-ex, calling a1.intersection(a2) returns a new FiniteAutomaton which is the result of the intersection between 'a1' and 'a2' but also modifies 'a1' (which is unexpected).

cprudhom avatar Jun 29 '17 14:06 cprudhom