C# 클래스 GraphLibrary.Edge

This class represents an Edge in a directed graph which is only valid when a given condition is met.
파일 보기 프로젝트 열기: realn0whereman/ScanGen

공개 메소드들

메소드 설명
Edge ( BaseVertex nextVertex, string condition ) : System

Creates a new Edge with the given target Vertex and condition

Edge ( BaseVertex nextVertex, string condition, bool isCharClass ) : System

Creates a new Edge with the given target Vertex and condition

Equals ( object obj ) : bool
ShaneEquals ( object obj ) : bool

If this edge has the same condition

메소드 상세

Edge() 공개 메소드

Creates a new Edge with the given target Vertex and condition
public Edge ( BaseVertex nextVertex, string condition ) : System
nextVertex BaseVertex The vertex pointed to by this edge.
condition string The condition which must be true for this vertex to be valid.
리턴 System

Edge() 공개 메소드

Creates a new Edge with the given target Vertex and condition
public Edge ( BaseVertex nextVertex, string condition, bool isCharClass ) : System
nextVertex BaseVertex The vertex pointed to by this edge.
condition string The condition which must be true for this vertex to be valid.
isCharClass bool
리턴 System

Equals() 공개 메소드

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

ShaneEquals() 공개 메소드

If this edge has the same condition
public ShaneEquals ( object obj ) : bool
obj object
리턴 bool