Startpunkten
This commit is contained in:
36
Dijkstra/header.h
Normal file
36
Dijkstra/header.h
Normal file
@@ -0,0 +1,36 @@
|
||||
/************************************************
|
||||
* Laboration 4 i
|
||||
* Datastrukturer och Algoritmer
|
||||
* Dijkstras Shortest Path
|
||||
*************************************************
|
||||
* Christian Ohlsson
|
||||
* Karlstads universitet, 1999
|
||||
*
|
||||
* Header.h
|
||||
* Innehåller definitioner och includes
|
||||
* som används i programmet.
|
||||
*************************************************/
|
||||
|
||||
#ifndef ___HEADER___
|
||||
#define ___HEADER___
|
||||
|
||||
#include <iostream.h>
|
||||
#include <stdlib.h>
|
||||
#include <values.h>
|
||||
#include <fstream.h>
|
||||
#include <string.h>
|
||||
#include <conio.h>
|
||||
|
||||
#include "graf.h"
|
||||
#include "list.h"
|
||||
|
||||
const int false=0; //boolsk variabel
|
||||
const int true=!false; //boolsk variabel
|
||||
const int citySize=25; //Max antal tecken i en stad
|
||||
const int numOfCities=13; //Antalet städer
|
||||
const int FORWARD=2; //För inläsning
|
||||
const int MAXTIME = 6; //Max antal tkn
|
||||
const int BASE=10; //Talbas
|
||||
const int BUFFERSIZE=20; //Buffer för säker inmatning
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user