Compare commits
2 Commits
b8325bb573
...
df936f747d
Author | SHA1 | Date | |
---|---|---|---|
df936f747d | |||
96e15d1ff7 |
12
src/Tour.cpp
12
src/Tour.cpp
@ -1,8 +1,10 @@
|
|||||||
// This is the .cpp file you will edit and turn in.
|
// _
|
||||||
// We have provided a skeleton for you,
|
// | |_ ___ _ _ _ __ ___ _ __ _ __
|
||||||
// but you must finish it as described in the spec.
|
// | __/ _ \| | | | '__/ __| '_ \| '_ \
|
||||||
// Also remove these comments here and add your own.
|
// | || (_) | |_| | | | (__| |_) | |_) |
|
||||||
// TODO: remove this comment header
|
// \__\___/ \__,_|_|(_)___| .__/| .__/
|
||||||
|
// |_| |_|
|
||||||
|
// Author: Love Billenius <lovbi127@student.liu.se>
|
||||||
|
|
||||||
#include "Tour.h"
|
#include "Tour.h"
|
||||||
#include "Node.h"
|
#include "Node.h"
|
||||||
|
13
src/Tour.h
13
src/Tour.h
@ -1,8 +1,11 @@
|
|||||||
// This is the .h file you will edit and turn in.
|
// _ _
|
||||||
// We have provided a skeleton for you,
|
// | |_ ___ _ _ _ __| |__
|
||||||
// but you must finish it as described in the spec.
|
// | __/ _ \| | | | '__| '_ \
|
||||||
// Also remove these comments here and add your own, as well as on the members.
|
// | || (_) | |_| | | _| | | |
|
||||||
// TODO: remove this comment header
|
// \__\___/ \__,_|_|(_)_| |_|
|
||||||
|
//
|
||||||
|
// Author: Love Billenius <lovbi127@student.liu.se>
|
||||||
|
|
||||||
|
|
||||||
#ifndef TOUR_H
|
#ifndef TOUR_H
|
||||||
#define TOUR_H
|
#define TOUR_H
|
||||||
|
@ -20,6 +20,8 @@ int main(int argc, char *argv[]) {
|
|||||||
|
|
||||||
string filename = "tsp10.txt";
|
string filename = "tsp10.txt";
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
// On macOS the resources are copeied to build/<release-target>/
|
||||||
|
// whilst, the running binary is under build/<release-target>/TSP.app/Contents/MacOS/
|
||||||
filename.insert(0, "../../../");
|
filename.insert(0, "../../../");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user