The Graph type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Graph |
Creates a new instance of Graph.
|
Methods
Name | Description | |
---|---|---|
![]() | AddLink |
Add a new link to this graph.
Really adds two links in both directions (n1->n2 and n2->n1).
|
![]() | AddNode |
Add a new node to this graph.
|
![]() | AsTspGaCities |
Converts this graph to a Tsp.Ga.Cities object.
|
![]() | CreateAdyMatrix |
Creates a new Adyacency Matrix corresponding to this Graph.
|
![]() ![]() | CreateRandomTestSet |
Creates a test set of random graphs at the specified folder.
|
![]() | Equals | (Inherited from Object.) |
![]() | ExistLink |
Gets a value indicating if exist link between two nodes with the specified identifier.
|
![]() | Finalize | 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.) |
![]() | GetHashCode | Actúa como función hash para un tipo concreto. (Inherited from Object.) |
![]() | GetNode |
Get the node with the specified identifier.
|
![]() | GetSumMinWeight |
Gets the sum of minLinkWeight for all the nodes in this graph.
|
![]() | GetType | Obtiene el objeto Type de la instancia actual. (Inherited from Object.) |
![]() | GetWeight |
Get the weight of the link between two nodes.
|
![]() | Load |
Load this graph from the specified file.
|
![]() | MemberwiseClone | Crea una copia superficial del objeto Object actual. (Inherited from Object.) |
![]() |
Print this graph at the console.
| |
![]() ![]() | Random(Int32) |
Creates a random graph with the specified parameters.
|
![]() ![]() | Random(Int32, Int32) |
Creates a random graph with the specified parameters.
|
![]() | ResetAdyM |
Resets this Adyacency and Floyd Matrix.
|
![]() | Save |
Save this graph to the specified file.
|
![]() | TakeOnlyKClosestEdges |
Makes that all the nodes in this graph mantains only the k closest edges in its links, removing the other ones.
|
![]() | ToString |
Gets a String representation for this graph.
(Overrides Object..::..ToString()()()().) |
Fields
Name | Description | |
---|---|---|
![]() | adyM |
Adyacency matrix for this Graph.
|
![]() | floydM |
Floyd-Warshall matrix for this Graph.
|
![]() | nbNodes |
Number of nodes at this Graph.
|