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 "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
|
||||
#define TOUR_H
|
||||
|
@ -20,6 +20,8 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
string filename = "tsp10.txt";
|
||||
#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, "../../../");
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user