C# Класс Graph.Vertex

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ID uint
Neighbours Edge>.Dictionary

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

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

Описание методов

Vertex() публичный Метод

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() публичный Метод

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.

Описание свойств

ID публичное свойство

The ID of the vertex.
public uint ID
Результат uint

Neighbours публичное свойство

The neighbours of the vertex.
public Dictionary Neighbours
Результат Edge>.Dictionary