C# 클래스 Microsoft.ML.Probabilistic.Distributions.Automata.RegexpAutomatonFormat

Converts a given automaton to a regular expression (or a regular expression-like string) corresponding to the support of the automaton.
상속: IAutomatonFormat
파일 보기 프로젝트 열기: dotnet/infer 1 사용 예제들

공개 메소드들

메소드 설명
ConvertToString ( Microsoft.ML.Probabilistic.Distributions.Automata.Automaton automaton ) : string

Converts a given automaton to a regular expression corresponding to the support of the function.

Escape ( string rawString ) : string

Escapes a raw string, such that potential special characters can be represented in a way that the target can handle.

RegexpAutomatonFormat ( Microsoft.ML.Probabilistic.Distributions.Automata.RegexpFormattingSettings formattingSettings ) : System.Collections.Generic

Initializes a new instance of the RegexpAutomatonFormat class.

메소드 상세

ConvertToString() 공개 메소드

Converts a given automaton to a regular expression corresponding to the support of the function.
public ConvertToString ( Microsoft.ML.Probabilistic.Distributions.Automata.Automaton automaton ) : string
automaton Microsoft.ML.Probabilistic.Distributions.Automata.Automaton The automaton to convert to a string.
리턴 string

Escape() 공개 메소드

Escapes a raw string, such that potential special characters can be represented in a way that the target can handle.
public Escape ( string rawString ) : string
rawString string Raw generated string.
리턴 string

RegexpAutomatonFormat() 공개 메소드

Initializes a new instance of the RegexpAutomatonFormat class.
public RegexpAutomatonFormat ( Microsoft.ML.Probabilistic.Distributions.Automata.RegexpFormattingSettings formattingSettings ) : System.Collections.Generic
formattingSettings Microsoft.ML.Probabilistic.Distributions.Automata.RegexpFormattingSettings The formatting settings used for conversion from an automaton to a string.
리턴 System.Collections.Generic