C# 클래스 GraphLibrary.BaseVertex

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

공개 프로퍼티들

프로퍼티 타입 설명
visited bool

공개 메소드들

메소드 설명
AddConnection ( BaseVertex newNode, string transitionString ) : void
AddConnection ( BaseVertex newNode, string transitionString, bool accepting ) : void
AddConnection ( BaseVertex newNode, string transitionString, bool accepting, bool isCharClass ) : void
BaseVertex ( string name, bool accepting ) : System

Creates a new vertex with a given name and no connections.

CheckNodeEquality ( BaseVertex that ) : bool
RemoveConnections ( BaseVertex target ) : void

Removes all connections from this Vertex to a given target Vertex.

RemoveConnections ( Edge toRemove ) : void

Removes a specific Edge from this Vertex.

findEdgeAmongConnections ( char trans ) : List

메소드 상세

AddConnection() 공개 메소드

public AddConnection ( BaseVertex newNode, string transitionString ) : void
newNode BaseVertex
transitionString string
리턴 void

AddConnection() 공개 메소드

public AddConnection ( BaseVertex newNode, string transitionString, bool accepting ) : void
newNode BaseVertex
transitionString string
accepting bool
리턴 void

AddConnection() 공개 메소드

public AddConnection ( BaseVertex newNode, string transitionString, bool accepting, bool isCharClass ) : void
newNode BaseVertex
transitionString string
accepting bool
isCharClass bool
리턴 void

BaseVertex() 공개 메소드

Creates a new vertex with a given name and no connections.
public BaseVertex ( string name, bool accepting ) : System
name string
accepting bool
리턴 System

CheckNodeEquality() 공개 메소드

public CheckNodeEquality ( BaseVertex that ) : bool
that BaseVertex
리턴 bool

RemoveConnections() 공개 메소드

Removes all connections from this Vertex to a given target Vertex.
public RemoveConnections ( BaseVertex target ) : void
target BaseVertex Any connections from the current Vertex to target will be removed.
리턴 void

RemoveConnections() 공개 메소드

Removes a specific Edge from this Vertex.
public RemoveConnections ( Edge toRemove ) : void
toRemove Edge Removes a specific edge from this Vertex
리턴 void

findEdgeAmongConnections() 공개 메소드

public findEdgeAmongConnections ( char trans ) : List
trans char
리턴 List

프로퍼티 상세

visited 공개적으로 프로퍼티

public bool visited
리턴 bool