C# 클래스 AddressMatch.Training.TrainMachine

파일 보기 프로젝트 열기: pwq1989/AddressMatch 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
LevelMask System.UInt16
PlaceMask System.UInt16

공개 메소드들

메소드 설명
Train ( List list, bool withException ) : int

Train the AddrSet, string must be wrapped in InsertElement

TrainMachine ( AddrSet addrset ) : System

비공개 메소드들

메소드 설명
GetTopPostionIndex ( List ElementList, List StateList ) : int
PreliminaryCheck ( InsertElement el ) : State
TrainWithException ( List list ) : int
TrainWithNOException ( List list ) : int
_insert ( List ElementList, List StateList ) : bool
defualtRule ( State state, InsertElement el ) : bool

메소드 상세

Train() 공개 메소드

Train the AddrSet, string must be wrapped in InsertElement
public Train ( List list, bool withException ) : int
list List InsertElements' List
withException bool Indicate whether throw exception, /// if param is false, function will return 0 if train failed, if param is true, /// function will throw TrainException with detail information
리턴 int

TrainMachine() 공개 메소드

public TrainMachine ( AddrSet addrset ) : System
addrset AddrSet
리턴 System

프로퍼티 상세

LevelMask 공개적으로 정적으로 프로퍼티

public static UInt16,System LevelMask
리턴 System.UInt16

PlaceMask 공개적으로 정적으로 프로퍼티

public static UInt16,System PlaceMask
리턴 System.UInt16