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 | 29 | 30 | 31 |
Tags
- classList
- null-safety
- 함수 인자
- parcelable
- ViewPager
- 인텐트
- 230508
- 230510
- querySelector
- fragment
- html
- Adapter
- javascript
- DFS
- textContent
- string
- ActionBar
- 부가데이터
- serializable
- Class
- 데이터 타입
- 생명주기
- C++
- intent
- Flutter
- 안드로이드
- putextra
- DOMContentLoaded
- 230503
- 프래그먼트
Archives
- Today
- Total
목록hamiltonian circuits problem (1)
나만의 개발노트
[알고리즘] Backtracking
Backtracking*상태 공간 트리에서 DFS를 수행하여 promissing 노드만 탐색한다.non-promissing한 노드는 가지치기(pruning)하여 효율적으로 탐색한다 *상태 공간 트리(State Space Tree) 루트 노드부터 리프 노드까지의 경로가 후보 솔루션이 된다.non-promissing한 경로는 탐색하지 않고 부모 노드로 돌아가 다른 자식 노드를 탐색한다.void checknode(node v){ node u; if(promising(v)) //현재 노드(v)가 promising하다면, if(there is a solution at v) //v에서 결론이 나오면, 결론 반환 write the solution; ..
[알고리즘]
2024. 6. 5. 15:31