C# Class Automata.Tests.CppTest

Show file Open project: AutomataDotNet/Automata Class Usage Examples

Private Properties

Property Type Description
Compile void
Initialize void
IsMatch int

Public Methods

Method Description
Test ( bool accept, int index, byte strs, string strings, double &sec ) : int

Returns the number of accepted strings from the given list of strings. Outputs the total time taken in seconds.

Private Methods

Method Description
Compile ( Automaton automata, CharSetSolver solver, bool optimize4ascii ) : void
Initialize ( ) : void
IsMatch ( int index, int size, byte str ) : int

Method Details

Test() public static method

Returns the number of accepted strings from the given list of strings. Outputs the total time taken in seconds.
public static Test ( bool accept, int index, byte strs, string strings, double &sec ) : int
accept bool
index int
strs byte
strings string
sec double
return int