C# 클래스 Methods.ExpressionHash.DynamicHasher

Runtime description of a simple hashing algorithm.
파일 보기 프로젝트 열기: Strilanc/Methods 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
InitialState int[]
Steps Step[]

공개 메소드들

메소드 설명
Interpret ( IntStream data ) : int

The result of applying this hash function to the given data, by interpreting the operations in the inner loop.

Specialize ( ) : int>>.Expression

A compilable expression containing specialized code for applying this hash function.

메소드 상세

Interpret() 공개 메소드

The result of applying this hash function to the given data, by interpreting the operations in the inner loop.
public Interpret ( IntStream data ) : int
data IntStream
리턴 int

Specialize() 공개 메소드

A compilable expression containing specialized code for applying this hash function.
public Specialize ( ) : int>>.Expression
리턴 int>>.Expression

프로퍼티 상세

InitialState 공개적으로 프로퍼티

The initial state of the hash function, before any data is processed. Also implicitly determines the size of the state (which input/output indexes are valid). Index 0 is always overwritten with the current input. The output of the hash function is last state value once all data has been processed.
public int[] InitialState
리턴 int[]

Steps 공개적으로 프로퍼티

The steps to apply to the current state for each value in a data stream.
public Step[] Steps
리턴 Step[]