C# Класс GraphLibrary.Edge

This class represents an Edge in a directed graph which is only valid when a given condition is met.
Показать файл Открыть проект

Открытые методы

Метод Описание
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