The Graph type exposes the following members.

Methods

  NameDescription
Public methodAddLink
Add a new link to this graph. Really adds two links in both directions (n1->n2 and n2->n1).
Public methodAddNode
Add a new node to this graph.
Public methodAsTspGaCities
Converts this graph to a Tsp.Ga.Cities object.
Public methodCreateAdyMatrix
Creates a new Adyacency Matrix corresponding to this Graph.
Public methodStatic memberCreateRandomTestSet
Creates a test set of random graphs at the specified folder.
Public methodEquals
Determina si el objeto Object especificado es igual al objeto Object actual.
(Inherited from Object.)
Public methodExistLink
Gets a value indicating if exist link between two nodes with the specified 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 methodGetNode
Get the node with the specified identifier.
Public methodGetSumMinWeight
Gets the sum of minLinkWeight for all the nodes in this graph.
Public methodGetType
Obtiene el objeto Type de la instancia actual.
(Inherited from Object.)
Public methodGetWeight
Get the weight of the link between two nodes.
Public methodLoad
Load this graph from the specified file.
Protected methodMemberwiseClone
Crea una copia superficial del objeto Object actual.
(Inherited from Object.)
Public methodPrint
Print this graph at the console.
Public methodStatic memberRandom(Int32)
Creates a random graph with the specified parameters.
Public methodStatic memberRandom(Int32, Int32)
Creates a random graph with the specified parameters.
Public methodResetAdyM
Resets this Adyacency and Floyd Matrix.
Public methodSave
Save this graph to the specified file.
Public methodTakeOnlyKClosestEdges
Makes that all the nodes in this graph mantains only the k closest edges in its links, removing the other ones.
Public methodToString
Gets a String representation for this graph.
(Overrides Object..::..ToString()()()().)

See Also