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 definition of the functions to manipulate the ListIterator. More...
#include "list_functions.h"
Go to the source code of this file.
Functions | |
ListIterator * | create_list_iterator (List *list) |
Used for the creation of a new ListIterator. | |
void * | get_current_list_iterator_element (ListIterator *iterator) |
Method used to get the current DllElem of an ListIterator. | |
bool | is_list_iterator_valid (ListIterator *iterator) |
Used to check if the ListIterator is valid. | |
void | list_iterator_next (ListIterator *iterator) |
Used to move the ListIterator to the next value of the object. | |
void | delete_list_iterator (ListIterator *iterator) |
Delete the ListIterator given. | |
void * | list_iterator_get_next (ListIterator *iterator) |
Method that retrieves the current DllElem of an ListIterator and moves the pointer to the next object. | |
The definition of the functions to manipulate the ListIterator.
This is a double linked List implementation that we have realized for an university project.
Repo: https://gitlab.com/Stefa168/laboratorio-algoritmi-2018-19/
Definition in file list_iterator.c.
ListIterator * create_list_iterator | ( | List * | list | ) |
Used for the creation of a new ListIterator.
The | List that the new ListIterator will point. |
Definition at line 18 of file list_iterator.c.
void delete_list_iterator | ( | ListIterator * | iterator | ) |
Delete the ListIterator given.
An | ListIterator. |
Definition at line 51 of file list_iterator.c.
void * get_current_list_iterator_element | ( | ListIterator * | iterator | ) |
Method used to get the current DllElem of an ListIterator.
An | ListIterator. |
Definition at line 30 of file list_iterator.c.
bool is_list_iterator_valid | ( | ListIterator * | iterator | ) |
Used to check if the ListIterator is valid.
The | Iterator we want to analyze. |
Definition at line 35 of file list_iterator.c.
void * list_iterator_get_next | ( | ListIterator * | iterator | ) |
Method that retrieves the current DllElem of an ListIterator and moves the pointer to the next object.
iterator | The ListIterator to use. |
Definition at line 56 of file list_iterator.c.
void list_iterator_next | ( | ListIterator * | iterator | ) |
Used to move the ListIterator to the next value of the object.
l | The ListIterator considered. |
Definition at line 40 of file list_iterator.c.