Changes

Jump to: navigation, search

GPU621/DPS921 T-eaSyPeasy

63 bytes removed, 13:27, 14 April 2016
Source
==Source==
The program takes it's input from a text file I generated in the same folder as the source code, the file contains the cities for the problem and looks like this: 8128 49708387 39499937 62154525 18741112 49604032 8333. The text file has 2 columns of integers.
The first column is read as the x value of the city and the second column is the y value of the city. You can adjust the number of cities to be taken from the file in the source code at the top of the main section.
#include <cilk/reducer_min.h>
#include <cilk/cilk_stub.h>
 
struct Selection {
lowerBound = lb;
}
 
 
class Tree {
}
}
 
void pruneNodeList(std::vector<Node>& nodeList, int upperBound) {

Navigation menu