21 lines
404 B
C++
21 lines
404 B
C++
#ifndef NEIGHBOURS_H_
|
|
#define NEIGHBOURS_H_
|
|
|
|
template <int edge_ammount>
|
|
class Neighbours_s {
|
|
|
|
private:
|
|
unsigned int size;
|
|
unsigned int[edge_ammount] location_index_A;
|
|
unsigned int[edge_ammount] location_index_B;
|
|
float[edge_ammount] distance;
|
|
};
|
|
|
|
struct neighbourloop{
|
|
int[locations-1] till_next;
|
|
int[allNeighbours] distance;
|
|
int[allNeighbours] neighbour;
|
|
};
|
|
|
|
#endif // NEIGHBOURS_H_
|