C# Class GraphLibrary.Edge

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

Edge() public méthode

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
Résultat System

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

ShaneEquals() public méthode

If this edge has the same condition
public ShaneEquals ( object obj ) : bool
obj object
Résultat bool