C# 클래스 Microsoft.Automata.Z3.TreeRule

Describes a symbolic tree transduction rule.
상속: AcceptorBase
파일 보기 프로젝트 열기: AutomataDotNet/Automata 1 사용 예제들

공개 메소드들

메소드 설명
EnumerateStatesInOutput ( ) : int>>.IEnumerable

Enumerate all occurrences of $trans(q,subtree_id) in the output as pairs (q,subtree_id).

Equals ( object obj ) : bool
GetAcceptorRule ( ) : TreeRule

Include all states in the output also in the lookahead. Delete the output.

GetHashCode ( ) : int
IsTrueForAllStates ( bool>.Func phi ) : bool

Returns true iff all states that occur in the rule satisfy the predicate phi.

Normalize ( ) : TreeRule

Include all states in the output also in the lookahead.

ToString ( ) : string

비공개 메소드들

메소드 설명
CheckForAllStates ( Expr output, bool>.Func phi ) : bool
GetStatesOf ( Expr t ) : IEnumerable

Enumerates all pairs Expr[]{state,child_variable}.

GetVariableIndex ( Expr x ) : int
MkIdRule ( RankedAlphabet A ) : TreeRule
TreeRule ( Expr state, FuncDecl symbol, Expr guard, Expr output ) : System

Create a tree rule with regular lookahead.

TreeRule ( Expr state, FuncDecl symbol, Expr guard, Expr output, int rank ) : System

Create a tree rule with empty regular lookahead.

메소드 상세

EnumerateStatesInOutput() 공개 메소드

Enumerate all occurrences of $trans(q,subtree_id) in the output as pairs (q,subtree_id).
public EnumerateStatesInOutput ( ) : int>>.IEnumerable
리턴 int>>.IEnumerable

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetAcceptorRule() 공개 메소드

Include all states in the output also in the lookahead. Delete the output.
public GetAcceptorRule ( ) : TreeRule
리턴 TreeRule

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

IsTrueForAllStates() 공개 메소드

Returns true iff all states that occur in the rule satisfy the predicate phi.
public IsTrueForAllStates ( bool>.Func phi ) : bool
phi bool>.Func predicate over states
리턴 bool

Normalize() 공개 메소드

Include all states in the output also in the lookahead.
public Normalize ( ) : TreeRule
리턴 TreeRule

ToString() 공개 메소드

public ToString ( ) : string
리턴 string