C# Class Graph.Vertex

Mostra file Open project: jlvermeulen/algorithms-and-data-structures Class Usage Examples

Public Properties

Property Type Description
ID uint
Neighbours Edge>.Dictionary

Public Methods

Method Description
Vertex ( uint id )

Initialises a new instance of the Vertex class with the specified ID.

Vertex ( uint id, Edge>.Dictionary neighbours )

Initialises a new instance of the Vertex class with the specified ID and neighbours.

Method Details

Vertex() public method

Initialises a new instance of the Vertex class with the specified ID.
public Vertex ( uint id )
id uint The ID of the new vertex.

Vertex() public method

Initialises a new instance of the Vertex class with the specified ID and neighbours.
public Vertex ( uint id, Edge>.Dictionary neighbours )
id uint The ID of the new vertex.
neighbours Edge>.Dictionary The neighbours of the new vertex.

Property Details

ID public_oe property

The ID of the vertex.
public uint ID
return uint

Neighbours public_oe property

The neighbours of the vertex.
public Dictionary Neighbours
return Edge>.Dictionary