목차
#8 - 위상정렬(진입차수이용).c 7.26KB
위상정렬.jpg 12.9KB
위상정렬.jpg 12.9KB
본문내용
////////////////////////// ////////////////////////
////////////////////////// 진입차수 이용 ////////////////////////
////////////////////////// ////////////////////////
#include
#include
#include
typedef struct VertexPosition{ // 정점리스트 내의 정점들의 위치를 저장하기 위한 구조체
struct vertex* v;
struct VertexPosition* next;
}VertexPosition;
typedef struct { // 정점리스트
VertexPosition* first;
VertexPosition* last;
}VertexList;
typedef struct edgePosition{ // 간선리스트 내의 간선들의 위치를 저장하기 위한 구조체
struct edge* e;
struct edgePosition* next;
}EdgePosition;
typedef struct { // 간선리스트
EdgePosition* first;
EdgePosition* last;
}EdgeList;
typedef struct inincidentEdge{ // 정점내 귀착간선들의 위치를 저장하기 위한 구조체
struct inincidentEdge* next;
struct edge* e;
}InIncidentEdge;
////////////////////////// 진입차수 이용 ////////////////////////
////////////////////////// ////////////////////////
#include
#include
#include
typedef struct VertexPosition{ // 정점리스트 내의 정점들의 위치를 저장하기 위한 구조체
struct vertex* v;
struct VertexPosition* next;
}VertexPosition;
typedef struct { // 정점리스트
VertexPosition* first;
VertexPosition* last;
}VertexList;
typedef struct edgePosition{ // 간선리스트 내의 간선들의 위치를 저장하기 위한 구조체
struct edge* e;
struct edgePosition* next;
}EdgePosition;
typedef struct { // 간선리스트
EdgePosition* first;
EdgePosition* last;
}EdgeList;
typedef struct inincidentEdge{ // 정점내 귀착간선들의 위치를 저장하기 위한 구조체
struct inincidentEdge* next;
struct edge* e;
}InIncidentEdge;
추천자료
하일지 문학의 위상과 가치
21세기 한국교회 바람직한 성경적 개혁 방향
해방이후 임화의 활동과 위상
[문학][문학교육][문학텍스트][문학비평]문학의 가치, 문학의 장르와 상상력, 문학텍스트, 문...
[신문방송]디지털 방송의 사회문화적 영향
달러화의 위상약화의 원인과 그 파급효과
서포 김만중의 국어․국문에 대한 시각과 애정
[수필][수필의 개념][수필의 영역][수필의 구성요소][수필의 표현방법][수필의 위상][수필의 ...
[유럽통화제도,유럽통화통합]유럽의 통화제도 고찰과 유럽통화제도(EMS)와 통화단위, 유럽통...
태권도관련단체의 일선도장에 대한 지원방안
중소기업의 위상과 역활
[과학기술][외국 과학기술정책]과학기술의 공공성, 과학기술의 위상, 과학기술의 협력프로그...
[2018 인간과과학3번] Geoengineering 이라는 기술이 기후변화를 해결할 수 있을 것인지 생각...
소개글