#ifndef TrajH
#define TrajH


#define EndStat "A"

#include "Stations.h"
#include "ConMatrix.h"



struct Traj {
 int c;
 int time;
 int *point;
};


void InitTraj(struct Traj *t);
void DestTraj(struct Traj *t);
void AddPointTraj(struct Traj *t, int p);
int FindTrajTime(struct Traj *t, CMatrix m1);
void PrintTraj(struct Traj *t, struct Stations *stat);
char Deadlock(int p);

struct Traj BaseFunc(struct Stations *stat, int sel, int t, CMatrix m1, CMatrix sm1);

#endif 
