예제 #1
0
파일: NFAContext.php 프로젝트: carlosv2/fa
 /**
  * @When I run the automaton
  */
 public function iRunTheAutomaton()
 {
     $nfa = new NFA();
     foreach ($this->startingStates as $state) {
         $nfa->addStartingState($state);
     }
     $this->result = $nfa->run($this->input);
 }