Commit a3fef1fb authored by phelma's avatar phelma
Browse files

..

parent de882a8f
#include <stdio.h>
#include <stdlib.h>
typedef struct {
int dep, end;
double cout;
} arc_t;
typedef struct maill_arc{
arc_t val;
struct maill_arc * next;
} *list_t;
typedef struct {
int num;
char* name;
char* ligne;
double a,b;
list_t arcs;
double pcc;
int fath;
} vertex_t;
typedef struct {
int size_vertex;
int size_arc;
vertex_t* data;
} graphe_t;
list_t list_add_first(list_t l,arc_t arc);
graphe_t lec_graph(FILE* f);
void aff_graph(graph_t g);
void aff_arc(arc_t arc);
void aff_sommet(vertex_t sommet);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment