Graph Convolutional Branch and Bound v1.0.0
A TSP solver that combines a graph convolutional network with a 1-Tree branch-and-bound.
|
This file contains the declaration of the Minimum Spanning Tree datastructure. More...
Go to the source code of this file.
Classes | |
struct | ConstrainedEdge |
A reduced form of an Edge in the Graph, with only the source and destination Nodes. More... | |
struct | MST |
Minimum Spanning Tree, or MST, and also a 1-Tree. More... | |
Macros | |
#define | BRANCHANDBOUND1TREE_MST_H |
Typedefs | |
typedef struct ConstrainedEdge | ConstrainedEdge |
A reduced form of an Edge in the Graph, with only the source and destination Nodes. | |
typedef struct MST | MST |
Minimum Spanning Tree, or MST, and also a 1-Tree. | |
Functions | |
void | create_mst (MST *mst, const Node *nodes, unsigned short num_nodes) |
Create a Minimum Spanning Tree from a set of Nodes. | |
void | add_edge (MST *tree, const Edge *edge) |
Add an Edge to the MST. | |
void | print_mst (const MST *mst) |
Print the MST, printing all the information it contains. | |
void | print_mst_original_weight (const MST *mst, const Graph *graph) |
Print the MST, printing all the information it contains. | |
This file contains the declaration of the Minimum Spanning Tree datastructure.
Repo: https://github.com/LorenzoSciandra/GraphConvolutionalBranchandBound
Definition in file mst.h.
typedef struct ConstrainedEdge ConstrainedEdge |
void print_mst | ( | const MST * | mst | ) |