basis for project to upload to server.
This commit is contained in:
20
include/neighbours.hpp
Normal file
20
include/neighbours.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
#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_
|
||||
Reference in New Issue
Block a user