C# 클래스 Graph.Vertex

파일 보기 프로젝트 열기: jlvermeulen/algorithms-and-data-structures 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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