Graph Convolutional Branch and Bound v1.0.0
A TSP solver that combines a graph convolutional network with a 1-Tree branch-and-bound.
|
The implementaion of the functions needed to compute the MST with Kruskal's algorithm. More...
#include "kruskal.h"
Go to the source code of this file.
Functions | |
static void | swap (Graph *graph, unsigned short swap_1, unsigned short swap_2) |
static int | pivot_quicksort (Graph *graph, unsigned short first, unsigned short last) |
static void | quick_sort (Graph *graph, unsigned short first, unsigned short last) |
void | wrap_quick_sort (Graph *graph) |
The wrapper of the quick sort algorithm. | |
void | kruskal (Graph *graph, MST *mst) |
The Kruskal algorithm to find the Minimum Spanning Tree O(|E| log |V|) | |
The implementaion of the functions needed to compute the MST with Kruskal's algorithm.
This file contains the implementation of the Kruskal algorithm to find the Minimum Spanning Tree.
Repo: https://github.com/LorenzoSciandra/GraphConvolutionalBranchandBound
Definition in file kruskal.c.
|
static |
|
static |
|
static |