Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- recyclerview
- Behavior
- DataBinding
- 백준
- onLayout
- kotlin
- Coroutine
- activity
- onMeasure
- 코틀린
- 알림
- LiveData
- View
- notification
- Algorithm
- CustomView
- 알고리즘
- room
- sqlite
- AppBarLayout
- CollapsingToolbarLayout
- Navigation
- HTTP
- CoordinatorLayout
- hilt
- 안드로이드
- Android
- BOJ
- ViewModel
- lifecycle
Archives
- Today
- Total
개발일지
Algorithm in A..Z - Minimum Vertex Cover 본문
개념
그래프 G에서 정점들의 집합을 S라고 할 때 S의 부분집합 'S로 모든 간선을 포함하면 이를 Vertex Cover라고 한다.
Minimum Vertex Cover는 NP지만 이분 그래프에서 Minimun Vertex Cover는 최대 매칭과 동치이다.
작동 원리
Kőnig's theorem (graph theory) - Wikipedia
An example of a bipartite graph, with a maximum matching (blue) and minimum vertex cover (red) both of size six. In the mathematical area of graph theory, Kőnig's theorem, proved by Dénes Kőnig (1931), describes an equivalence between the maximum match
en.wikipedia.org
시간 복잡도
O(V^(1/2) * E)
'Algorithm (알고리즘)' 카테고리의 다른 글
Algorithm in A..Z - Network Flow (0) | 2020.12.05 |
---|---|
Algorithm in A..Z - Maximum Independent Set (0) | 2020.12.04 |
Algorithm in A..Z - SPFA (0) | 2020.12.03 |
Algorithm in A..Z - MST (Prim) (0) | 2020.12.01 |
Algorithm in A..Z - Dijkstra (0) | 2020.12.01 |
Comments