C# Class GraphLibrary.Edge

This class represents an Edge in a directed graph which is only valid when a given condition is met.
Mostra file Open project: realn0whereman/ScanGen

Public Methods

Method Description
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

Method Details

Edge() public method

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.
return System

Edge() public method

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
return System

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

ShaneEquals() public method

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