The Node type exposes the following members.

Constructors

  NameDescription
Public methodNode
Creates a new instance of Node.

Methods

  NameDescription
Public methodAddLink
Add a link to this node. The link.node1 has to be this node.
Public methodEndIterator
Gets a value indicating if the Links iterator has ended. I.e, there are no more links to iterate on.
Public methodEquals
Determina si el objeto Object especificado es igual al objeto Object actual.
(Inherited from Object.)
Public methodExistLinkWith
Gets a value indicating if exist link with a node that has the specied identifier.
Protected methodFinalize
Permite que un objeto Object intente liberar recursos y realizar otras operaciones de limpieza antes de que el objeto Object sea reclamado por el recolector de elementos no utilizados.
(Inherited from Object.)
Public methodGetHashCode
Actúa como función hash para un tipo concreto.
(Inherited from Object.)
Public methodGetLinkWith
Gets the link with the node that has the specified identifier.
Public methodGetType
Obtiene el objeto Type de la instancia actual.
(Inherited from Object.)
Protected methodMemberwiseClone
Crea una copia superficial del objeto Object actual.
(Inherited from Object.)
Public methodNextLink
Gets the next link in the iterator and advances one position.
Public methodResetIterator
Reset the Links iterator for this node.
Public methodTakeOnlyKClosestEdges
Makes that this node mantains only the k closest edges in its links, removing the other ones.
Public methodToString
Gets a string representation for this node.
(Overrides Object..::..ToString()()()().)

Fields

  NameDescription
Public fieldid
The node indentifier.
Public fieldlinks
The array of links for this Node.
Public fieldminLinkWeight
The weight of the link with minimun weight at this node links.

Properties

  NameDescription
Public propertyCountLinks
Gets the current number of links that this node has.

See Also