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 |
Tags
- Hybrid A star
- MDP
- GNN
- self driving car
- 수치최적화
- DynamicProgramming
- 소프티어
- Frenet Coordinate
- C++
- Recursion
- CPP
- 공유라이브러리
- 강화학습
- autonomous vehicle
- CUDA
- Motion Planning
- Leetcode
- 정적라이브러리
- 경로생성
- 선형대수
- path planning
- 백준
- Graph Neural Network
- GIT
- PathPlanning
- 동적라이브러리
- solver
- OSQP
- C
- Dubins Path
Archives
- Today
- Total
Swimmer
[C++ STL] map 본문
- std::map
Maps are associative containers that store elements formed by a combination of a key value and mapped value.
The key values are generally used to sort and uniquely identify the elements
The mapped values store the content associated to this key.
The types of key and mapped value may differ. and both are grouped together by pair type
typedef pair<const Key, T> value_type;
Internally, the elements in a map are always sorted by its key
Maps are typically implemented as binary search trees
- Properties
Associative : Elements in containers are reference by their key, not by their absolute position in the container
Ordered : The elements in the container follow order at all times
Unique keys : No two elements in the container can have equivalent keys
Reference : https://cplusplus.com/reference/map/map/
'개념공부 > C, C++' 카테고리의 다른 글
Bitwise Operation, Operator (비트연산) (0) | 2023.01.17 |
---|---|
[C++ STL] unordered_map (0) | 2023.01.16 |
[LeetCode] 1. Two Sum (1) | 2023.01.09 |
[LeetCode] 1030. Matrix Cells in Distance Order, C++ (0) | 2023.01.09 |
[C++] Unordered Map (작성 중) (0) | 2023.01.08 |
Comments