Craig's Utility Library  4.0 Beta
Utilities.DataTypes.Edge< T > Class Template Reference

Edge pointing from vertex source to vertex sink More...

Public Member Functions

 Edge (Vertex< T > source, Vertex< T > sink)
 Initializes a new instance of the Edge<T> class. More...
 
Edge< T > Remove ()
 Removes this edge from the sink and source vertices. More...
 

Properties

Vertex< T > Sink [get]
 Gets the sink vertex. More...
 
Vertex< T > Source [get]
 Gets the source vertex More...
 

Detailed Description

Edge pointing from vertex source to vertex sink

Template Parameters
TData type of the data

Definition at line 11 of file Graph.cs.

Constructor & Destructor Documentation

Utilities.DataTypes.Edge< T >.Edge ( Vertex< T >  source,
Vertex< T >  sink 
)

Initializes a new instance of the Edge<T> class.

Parameters
sourceThe source.
sinkThe sink.

Definition at line 18 of file Graph.cs.

Member Function Documentation

Edge<T> Utilities.DataTypes.Edge< T >.Remove ( )

Removes this edge from the sink and source vertices.

Returns
This

Definition at line 40 of file Graph.cs.

Property Documentation

Vertex<T> Utilities.DataTypes.Edge< T >.Sink
get

Gets the sink vertex.

The sink vertex.

Definition at line 28 of file Graph.cs.

Vertex<T> Utilities.DataTypes.Edge< T >.Source
get

Gets the source vertex

The source vertex

Definition at line 34 of file Graph.cs.


The documentation for this class was generated from the following file: