C# Класс Microsoft.Automata.Internal.Utilities.RegexToRangeAutomatonSerializer

Показать файл Открыть проект

Открытые методы

Метод Описание
Read ( CharSetSolver solver, string file ) : Automaton
ReadFromRanges ( CharSetSolver solver, int initialState, int finalStates, IEnumerable transitions ) : Automaton

Each transition has the form int[]{fromState, intervalStart, intervalEnd, toState}. If intervalStart = intervalEnd = -1 then this is an epsilon move.

ReadFromString ( CharSetSolver solver, string automaton ) : Automaton
SaveAsRangeAutomaton ( string regex, BitWidth encoding, string file, bool epsilonfree = false, bool determinize = false, int determinization_timeout_ms ) : void

Описание методов

Read() публичный статический Метод

public static Read ( CharSetSolver solver, string file ) : Automaton
solver CharSetSolver
file string
Результат Automaton

ReadFromRanges() публичный статический Метод

Each transition has the form int[]{fromState, intervalStart, intervalEnd, toState}. If intervalStart = intervalEnd = -1 then this is an epsilon move.
public static ReadFromRanges ( CharSetSolver solver, int initialState, int finalStates, IEnumerable transitions ) : Automaton
solver CharSetSolver
initialState int
finalStates int
transitions IEnumerable
Результат Automaton

ReadFromString() публичный статический Метод

public static ReadFromString ( CharSetSolver solver, string automaton ) : Automaton
solver CharSetSolver
automaton string
Результат Automaton

SaveAsRangeAutomaton() публичный статический Метод

public static SaveAsRangeAutomaton ( string regex, BitWidth encoding, string file, bool epsilonfree = false, bool determinize = false, int determinization_timeout_ms ) : void
regex string
encoding BitWidth
file string
epsilonfree bool
determinize bool
determinization_timeout_ms int
Результат void