|
리스트노드
클래스 링키드 리스트
클래스 DAG 스택*/
//주요 자료구조는 linked list 밖에 없다. 행렬, pre post, source sink 모두 리스트를 가져와서 표현
LINKED_LIST *Adjacency_List; // 인접 리스트
VERTEX *Digraph;
STACK *S, *P;
DAG_STACK *DAGs;
int N;
|
- 페이지 39페이지
- 가격 4,000원
- 등록일 2011.12.22
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <sys/timeb.h>
#define MAX_EDGE 385
typedef struct vertex *vertex_pointer; //adjacency_list
struct vertex {
char name[20];
int number;
vertex_pointer next;
};
typedef struct edge *edge_point
|
- 페이지 5페이지
- 가격 800원
- 등록일 2003.06.06
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
Adjacency List
Linked List * array[5]
A
B
C
D
E
head
head
head
head
A
B
C
D
E
D
D
C
E
E
E
C
B
A
A
C
B
head
Adjacency List
-Minimum path
Dijkstra algorith을 통해 최단경로의 database를 구현했다면, 최단경로를 저장할 array가 필요하다. 각각의 source vertex시작 모든 destination vertex에
|
- 페이지 11페이지
- 가격 6,300원
- 등록일 2016.03.13
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
#include <malloc.h>
#define MAX_VERTICES 50
#define true 1
#define false 0
//GraphType
typedef struct GraphType *Graph_ptr;
typedef struct GraphType{
int vertex;
Graph_ptr link;
}GraphType;
Graph_ptr g_root;
typedef struct LinkType *Link_ptr;
typed
|
- 페이지 8페이지
- 가격 1,500원
- 등록일 2011.06.25
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
종류
(1) 그래프란?
(2) 그래프의 용어
(3) 그래프의 종류
2. 그래프의 표현
(1) 인접 행렬(Adjacency Matrix)
(2) 인접 리스트(Adjacency List)
3. 그래프의 운행
(1) 깊이우선 검색방식(DFS:Depth First Search)
(2) 너비우선 검색방식(BFS:Breadth First Search)
|
- 페이지 4페이지
- 가격 1,200원
- 등록일 2010.02.24
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|