C# Class AddressMatch.MatchMachine

Datei anzeigen Open project: pwq1989/AddressMatch Class Usage Examples

Public Methods

Method Description
FuzzyMatch ( ) : MatchResult
Match ( String s ) : MatchResult

Backward Match

MatchMachine ( AddrSet addrset ) : System
SetMatchRule ( MatchRule rule ) : void

custom Match Rule

Private Methods

Method Description
FilterState ( State correntState, State preState ) : State
defualtRule ( State state, GraphNode nextNode ) : bool
init ( ) : void

Method Details

FuzzyMatch() public method

public FuzzyMatch ( ) : MatchResult
return MatchResult

Match() public method

Backward Match
public Match ( String s ) : MatchResult
s String address string[]
return MatchResult

MatchMachine() public method

public MatchMachine ( AddrSet addrset ) : System
addrset AddrSet
return System

SetMatchRule() public method

custom Match Rule
public SetMatchRule ( MatchRule rule ) : void
rule MatchRule User-defined rule
return void