전체
LIT
WEB.DEV
(Responsive) Typography
clamp()
, max-inline-size
, text-height
, text-display
등(Responsive) Responsive images
DSNA(Python)
(pythonds3) 8.1. Objectives
(pythonds3) 8.2. Vocabulary and Definitions
(pythonds3) 8.3. The Graph Abstract Data Type
Graph()
, addVertex(vert)
, addEdge(fromVert, toVert)
, addEdge(fromVert, toVert, weight)
, getVertex(vertKey)
, getVertices()
, vertexin graph
으로 정의된다.(pythonds3) 8.4. An Adjacency Matrix
Graph를 adjacency matrix로 표현 하면 아래와 같다.
장점은 심플하다. 노드 접근이 빠르다. 단점은 sparse 할 경우 쓸때없이 크다. 현실에서는 sparse한 경우가 많기 때문에 잘 안쓴다.
(pythonds3) 8.5. An adjacency List
LINK