C# Class GraphLibrary.BaseVertex

Afficher le fichier Open project: realn0whereman/ScanGen Class Usage Examples

Méthodes publiques

Свойство Type Description
visited bool

Méthodes publiques

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

Method Details

AddConnection() public méthode

public AddConnection ( BaseVertex newNode, string transitionString ) : void
newNode BaseVertex
transitionString string
Résultat void

AddConnection() public méthode

public AddConnection ( BaseVertex newNode, string transitionString, bool accepting ) : void
newNode BaseVertex
transitionString string
accepting bool
Résultat void

AddConnection() public méthode

public AddConnection ( BaseVertex newNode, string transitionString, bool accepting, bool isCharClass ) : void
newNode BaseVertex
transitionString string
accepting bool
isCharClass bool
Résultat void

BaseVertex() public méthode

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

CheckNodeEquality() public méthode

public CheckNodeEquality ( BaseVertex that ) : bool
that BaseVertex
Résultat bool

RemoveConnections() public méthode

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

RemoveConnections() public méthode

Removes a specific Edge from this Vertex.
public RemoveConnections ( Edge toRemove ) : void
toRemove Edge Removes a specific edge from this Vertex
Résultat void

findEdgeAmongConnections() public méthode

public findEdgeAmongConnections ( char trans ) : List
trans char
Résultat List

Property Details

visited public_oe property

public bool visited
Résultat bool