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 data structures to model the Graph. More...
#include "./doubly_linked_list//linked_list.h"
#include "./doubly_linked_list/list_iterator.h"
#include "./doubly_linked_list/list_functions.h"
#include "../problem_settings.h"
Go to the source code of this file.
Classes | |
struct | Node |
Structure of a Node. More... | |
struct | Edge |
Structure of an Edge. More... | |
struct | Graph |
Structure of a Graph. More... | |
Typedefs | |
typedef enum GraphKind | GraphKind |
Enum to specify the kind of the Graph. | |
typedef struct Node | Node |
Structure of a Node. | |
typedef struct Edge | Edge |
Structure of an Edge. | |
typedef struct Graph | Graph |
Structure of a Graph. | |
Enumerations | |
enum | GraphKind { WEIGHTED_GRAPH , UNWEIGHTED_GRAPH } |
Enum to specify the kind of the Graph. More... | |
Functions | |
void | create_graph (Graph *graph, List *nodes, List *edges, GraphKind kind) |
Create a new instance of a Graph with all the needed parameters. | |
void | create_euclidean_graph (Graph *graph, List *nodes) |
Create a new instance of an euclidean graphs only the Nodes are necessary. | |
void | print_graph (const Graph *graph) |
Print Nodes, Edges and other information of the Graph. | |
The data structures to model the Graph.
Repo: https://github.com/LorenzoSciandra/GraphConvolutionalBranchandBound
Definition in file graph.h.
enum GraphKind |