PHP Classes

DFA (deterministic finite automaton): Implement deterministic finite state machines

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 444 All time: 6,225 This week: 455Up
Version License PHP version Categories
dfa 1.0GNU General Publi...5.0Algorithms, PHP 5
Description 

Author

This class can be used to implement deterministic finite state machines.

It takes as parameters arrays that define the alphabet of symbols accepted as input and lists of all possible states and transitions.

The class takes a string a input symbols to process and determines if the final state is valid.

Picture of Hamed Afshar
  Performance   Level  
Name: Hamed Afshar is available for providing paid consulting. Contact Hamed Afshar .
Classes: 5 packages by
Country: Iran Iran
Age: 36
All time rank: 6485 in Iran Iran
Week rank: 227 Up2 in Iran Iran Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
File Role Description
Plain text file dfa.class.php Class Class source code
Accessible without login Plain text file example.php Example Example usage of the class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:444
This week:0
All time:6,225
This week:455Up