Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Machine::makeIntersection(Machine const& other)
- {
- auto test = [this, other](std::string const& a, std::string const& b)->bool
- {
- if (this->isFinalState(a) && other.isFinalState(b))return true;
- return false;
- };
- this->makeStates(other, test);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement