public bool Accepts(string input) { var finalState = Initial.Compute(input); return(AcceptStates.Contains(finalState)); }