Compare commits

...

2 Commits

Author SHA1 Message Date
df936f747d header 2024-09-06 15:31:45 +02:00
96e15d1ff7 Claryfing comment 2024-09-06 14:31:13 +02:00
3 changed files with 17 additions and 10 deletions

View File

@ -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"

View File

@ -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

View File

@ -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