Recent content by username_unknown
-
U
C data structures and algorithms - graph problem
Homework Statement Given connected, directed and weighted (positive weights) graph. Find the shortest cyclic path for each vertex. Cycles have back edges and can also be self loops. 2. The attempt at a solution I need some clarifications for this problem related to implementation in C. After...- username_unknown
- Thread
- Algorithms C programming Data Graph Structures
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
U
C - Degree of a directed unweighted graph
Homework Statement Given the representation of directed unweighted graph: typedef struct { int n;//num. of vertices void *info[MAX];//information of vertices int am[MAX][MAX];//adjacency matrix }GRAPH; Write a function int minDegree(GRAPH*); and int maxDegree(GRAPH*); that return the...- username_unknown
- Thread
- C programming Degree Graph Graph theory
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help