{"id":26734,"date":"2024-10-27T11:52:15","date_gmt":"2024-10-27T11:52:15","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=26734"},"modified":"2024-11-26T07:31:40","modified_gmt":"2024-11-26T07:31:40","slug":"%ec%9e%90%eb%b0%94-%ec%bd%94%eb%94%a9%ed%85%8c%ec%8a%a4%ed%8a%b8-%ea%b0%95%ec%a2%8c-%ea%b7%b8%eb%9e%98%ed%94%84%ec%9d%98-%ed%91%9c%ed%98%84","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/26734\/","title":{"rendered":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604"},"content":{"rendered":"<p><body><\/p>\n<p>\uc548\ub155\ud558\uc138\uc694! \uc624\ub298\uc740 \uc790\ubc14\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0 \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 <strong>\uadf8\ub798\ud504\uc758 \ud45c\ud604<\/strong>\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uace0, \uad00\ub828\ub41c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uadf8\ub798\ud504\ub294 \uc8fc\uc5b4\uc9c4 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294\ub370 \uc911\uc694\ud55c \ub370\uc774\ud130 \uad6c\uc870\ub85c, \uc815\uc810(Vertex)\uacfc \uac04\uc120(Edge)\uc73c\ub85c \uad6c\uc131\ub429\ub2c8\ub2e4. \uc6b0\ub9ac\ub294 \uc5ec\ub7ec \uac00\uc9c0 \ubc29\uc2dd\uc73c\ub85c \uadf8\ub798\ud504\ub97c \ud45c\ud604\ud560 \uc218 \uc788\uc73c\uba70, \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 Adjacency List\uc640 Adjacency Matrix \ubc29\uc2dd\uc5d0 \ub300\ud574 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\uadf8\ub798\ud504\uc758 \ud45c\ud604 \ubc29\uc2dd<\/h2>\n<h3>1. \uc778\uc811 \ub9ac\uc2a4\ud2b8(Adjacency List)<\/h3>\n<p>\uc778\uc811 \ub9ac\uc2a4\ud2b8\ub294 \uac01 \uc815\uc810\uc774 \uc778\uc811\ud55c \uc815\uc810\uc758 \ubaa9\ub85d\uc744 \uc800\uc7a5\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \ubcf4\ud1b5 \ubc30\uc5f4\uc774\ub098 \ub9ac\uc2a4\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \uad6c\ud604\ud569\ub2c8\ub2e4. \uc774 \ubc29\uc2dd\uc740 \uba54\ubaa8\ub9ac \ud6a8\uc728\uc131\uc774 \ub9e4\uc6b0 \ub6f0\uc5b4\ub098\uba70, \ub2e4\uc18c \ub290\ub9ac\uac8c \uc9c4\ud589\ub418\ub294 \uc5f0\uc0b0\uc5d0\uc11c\ub3c4 \uc720\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>class Graph {\n    private int vertices; \/\/ \uc815\uc810\uc758 \uc218\n    private LinkedList<integer>[] adjList; \/\/ \uc778\uc811 \ub9ac\uc2a4\ud2b8\n    \n    \/\/ \uadf8\ub798\ud504 \uc0dd\uc131\uc790\n    public Graph(int v) {\n        vertices = v;\n        adjList = new LinkedList[v];\n        for (int i = 0; i &lt; v; i++) {\n            adjList[i] = new LinkedList&lt;&gt;();\n        }\n    }\n\n    \/\/ \uac04\uc120 \ucd94\uac00 \uba54\uc18c\ub4dc\n    public void addEdge(int source, int destination) {\n        adjList[source].add(destination);\n        \/\/ \ubb34\ubc29\ud5a5 \uadf8\ub798\ud504\uc778 \uacbd\uc6b0, \ub2e4\uc74c \ucf54\ub4dc\ub3c4 \ucd94\uac00\ud574\uc57c \ud569\ub2c8\ub2e4\n        \/\/ adjList[destination].add(source);\n    }\n}\n<\/integer><\/code><\/pre>\n<h3>2. \uc778\uc811 \ud589\ub82c(Adjacency Matrix)<\/h3>\n<p>\uc778\uc811 \ud589\ub82c\uc740 2\ucc28\uc6d0 \ubc30\uc5f4\uc744 \uc0ac\uc6a9\ud558\uc5ec \uadf8\ub798\ud504\ub97c \ud45c\ud604\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uc774 \ubc29\ubc95\uc740 \uac04\uc120\uc774 \uc874\uc7ac\ud558\ub294\uc9c0 \uc5ec\ubd80\ub97c O(1)\uc758 \uc2dc\uac04 \ubcf5\uc7a1\ub3c4\ub85c \ud655\uc778\ud560 \uc218 \uc788\uc9c0\ub9cc, \uacf5\uac04 \ubcf5\uc7a1\ub3c4\uac00 \ub192\uace0, \uac00\ubcc0 \ud06c\uae30\uc758 \uadf8\ub798\ud504\uc5d0\uc11c\ub294 \ube44\ud6a8\uc728\uc801\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>class Graph {\n    private int vertices;\n    private int[][] adjMatrix;\n\n    \/\/ \uadf8\ub798\ud504 \uc0dd\uc131\uc790\n    public Graph(int v) {\n        vertices = v;\n        adjMatrix = new int[v][v];\n    }\n\n    \/\/ \uac04\uc120 \ucd94\uac00 \uba54\uc18c\ub4dc\n    public void addEdge(int source, int destination) {\n        adjMatrix[source][destination] = 1;\n        \/\/ \ubb34\ubc29\ud5a5 \uadf8\ub798\ud504\uc778 \uacbd\uc6b0\n        \/\/ adjMatrix[destination][source] = 1;\n    }\n}\n<\/code><\/pre>\n<h2>\ubb38\uc81c: \ub2e4\ub9ac \ub9cc\ub4e4\uae30<\/h2>\n<p>\uc774\uc81c \uc2e4\uc81c\ub85c \ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc8fc\uc5b4\uc9c4 \ubb38\uc81c\ub294 <strong>\ub2e4\ub9ac \ub9cc\ub4e4\uae30<\/strong>\uc785\ub2c8\ub2e4.<\/p>\n<h3>\ubb38\uc81c \uc124\uba85<\/h3>\n<p>2D \ud3c9\uba74\uc5d0\uc11c N\uac1c\uc758 \uc810\uc774 \uc8fc\uc5b4\uc9c0\uace0, \ubaa8\ub4e0 \uc810\uc774 \uc11c\ub85c \uc5f0\uacb0\ub420 \uc218 \uc788\ub3c4\ub85d \ub2e4\ub9ac\ub97c \uac74\uc124\ud558\uace0\uc790 \ud569\ub2c8\ub2e4.<br \/>\n\ub2e4\ub9ac\uc758 \uae38\uc774\ub294 \ub450 \uc810 \uc0ac\uc774\uc758 \uc720\ud074\ub9ac\ub4dc \uac70\ub9ac\uc785\ub2c8\ub2e4.<br \/>\n\uac00\uc7a5 \uc9e7\uc740 \uacbd\ub85c\uc758 \uae38\uc774\ub97c \uad6c\ud558\uc138\uc694. \ub2e8, \ub2e4\ub9ac\ub97c \uac74\uc124\ud558\ub294 \uacfc\uc815\uc5d0\uc11c \uac19\uc740 \ub450 \uc810\uc744 \ub2e4\uc2dc \uc5f0\uacb0\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\uc785\ub825<\/h3>\n<ul>\n<li>\uccab \ubc88\uc9f8 \uc904\uc5d0 \uc810\uc758 \uac1c\uc218 N(1 \u2264 N \u2264 100) \uc774 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4.<\/li>\n<li>\ub450 \ubc88\uc9f8 \uc904\uc5d0 \uac01 \uc810\uc758 \uc88c\ud45c\uac00 \uc8fc\uc5b4\uc9d1\ub2c8\ub2e4. (x1, y1), (x2, y2), &#8230;, (xN, yN)<\/li>\n<\/ul>\n<h3>\ucd9c\ub825<\/h3>\n<p>\uac00\uc7a5 \uc9e7\uc740 \uacbd\ub85c\uc758 \uae38\uc774\ub97c \ucd9c\ub825\ud558\uc2dc\uc624. (\uc18c\uc218\uc810 \uc544\ub798 2\uc790\ub9ac\uae4c\uc9c0)<\/p>\n<h3>\ubb38\uc81c \ud480\uc774 \uc811\uadfc<\/h3>\n<p>\ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \ub2e4\uc74c\uacfc \uac19\uc740 \uc21c\uc11c\ub85c \uc811\uadfc\ud558\uaca0\uc2b5\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\uc88c\ud45c\ub97c \uc785\ub825\ubc1b\uc544 \uc810\ub4e4\uc744 \uc800\uc7a5\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc88c\ud45c\ub4e4 \uc0ac\uc774\uc758 \uac70\ub9ac\ub97c \uacc4\uc0b0\ud558\uc5ec \ub2e4\ub9ac \uae38\uc774\ub97c \uad6c\ud569\ub2c8\ub2e4.<\/li>\n<li>Dijkstra \uc54c\uace0\ub9ac\uc998\uc744 \uc0ac\uc6a9\ud558\uc5ec \ucd5c\ub2e8 \uacbd\ub85c\ub97c \uad6c\ud569\ub2c8\ub2e4.<\/li>\n<li>\uacb0\uacfc\ub97c \uc18c\uc218\uc810 \ub458\uc9f8\uc790\ub9ac\uae4c\uc9c0 \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h3>\uc790\ubc14 \ucf54\ub4dc \uad6c\ud604<\/h3>\n<pre><code>import java.util.*;\n\nclass Point {\n    int x, y;\n\n    Point(int x, int y) {\n        this.x = x;\n        this.y = y;\n    }\n\n    double distance(Point p) {\n        return Math.sqrt(Math.pow(this.x - p.x, 2) + Math.pow(this.y - p.y, 2));\n    }\n}\n\nclass Graph {\n    private int vertices;\n    private List<point> points;\n    private double[][] adjMatrix;\n\n    public Graph(int v) {\n        vertices = v;\n        points = new ArrayList&lt;&gt;();\n        adjMatrix = new double[v][v];\n    }\n\n    public void addPoint(Point p) {\n        points.add(p);\n        int idx = points.size() - 1;\n        for (int i = 0; i &lt; idx; i++) {\n            double dist = points.get(i).distance(p);\n            adjMatrix[i][idx] = dist;\n            adjMatrix[idx][i] = dist; \/\/ \ubb34\ubc29\ud5a5 \uac04\uc120\n        }\n    }\n\n    public double dijkstra() {\n        double[] dist = new double[vertices];\n        boolean[] visited = new boolean[vertices];\n\n        Arrays.fill(dist, Double.MAX_VALUE);\n        dist[0] = 0; \/\/ \uc2dc\uc791\uc810\n\n        for (int i = 0; i &lt; vertices - 1; i++) {\n            int minIndex = findMinIndex(dist, visited);\n            visited[minIndex] = true;\n\n            for (int j = 0; j &lt; vertices; j++) {\n                if (!visited[j] &amp;&amp; adjMatrix[minIndex][j] != 0 &amp;&amp;\n                    dist[minIndex] + adjMatrix[minIndex][j] &lt; dist[j]) {\n                    dist[j] = dist[minIndex] + adjMatrix[minIndex][j];\n                }\n            }\n        }\n\n        return dist[vertices - 1]; \/\/ \ub05d\uc810\uae4c\uc9c0\uc758 \uac70\ub9ac\n    }\n\n    private int findMinIndex(double[] dist, boolean[] visited) {\n        double min = Double.MAX_VALUE;\n        int minIndex = -1;\n        for (int i = 0; i &lt; vertices; i++) {\n            if (!visited[i] &amp;&amp; dist[i] &lt; min) {\n                min = dist[i];\n                minIndex = i;\n            }\n        }\n        return minIndex;\n    }\n}\n\npublic class Main {\n    public static void main(String[] args) {\n        Scanner sc = new Scanner(System.in);\n        int n = sc.nextInt();\n        Graph graph = new Graph(n);\n\n        for (int i = 0; i &lt; n; i++) {\n            int x = sc.nextInt();\n            int y = sc.nextInt();\n            graph.addPoint(new Point(x, y));\n        }\n\n        double result = graph.dijkstra();\n        System.out.printf(\"%.2f\\n\", result);\n    }\n}\n<\/point><\/code><\/pre>\n<h2>\uacb0\ub860<\/h2>\n<p>\uc624\ub298\uc740 \uadf8\ub798\ud504\uc758 \ud45c\ud604 \ubc29\uc2dd\uacfc \ud568\uaed8 \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4.<br \/>\n\uc774 \ubb38\uc81c\ub97c \ud1b5\ud574 \uadf8\ub798\ud504\ub97c \uc5b4\ub5bb\uac8c \ub2e4\ub8e8\ub294\uc9c0, \uc778\uc811 \ub9ac\uc2a4\ud2b8\uc640 \uc778\uc811 \ud589\ub82c\uc744 \ud65c\uc6a9\ud558\uc5ec \uc810 \uc0ac\uc774\uc758 \uac70\ub9ac \uacc4\uc0b0 \ubc0f \ucd5c\ub2e8 \uacbd\ub85c \uc54c\uace0\ub9ac\uc998\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6e0\uc2b5\ub2c8\ub2e4.<br \/>\n\uadf8\ub798\ud504\ub294 \uc2e4\uc0dd\ud65c\uc5d0\uc11c\ub3c4 \uc790\uc8fc \uc0ac\uc6a9\ub418\ub294 \uac1c\ub150\uc774\uba70, \ub354 \ub098\uc544\uac00 \ubcf5\uc7a1\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \ub370 \ub9e4\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<p>\ub2e4\uc74c \uc2dc\uac04\uc5d0\ub294 \ud0d0\uc0c9 \uc54c\uace0\ub9ac\uc998\uacfc \uad00\ub828\ub41c \ub0b4\uc6a9\uc744 \uc0b4\ud3b4\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \uac10\uc0ac\ud569\ub2c8\ub2e4!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc548\ub155\ud558\uc138\uc694! \uc624\ub298\uc740 \uc790\ubc14\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0 \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uadf8\ub798\ud504\uc758 \ud45c\ud604\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uace0, \uad00\ub828\ub41c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uadf8\ub798\ud504\ub294 \uc8fc\uc5b4\uc9c4 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294\ub370 \uc911\uc694\ud55c \ub370\uc774\ud130 \uad6c\uc870\ub85c, \uc815\uc810(Vertex)\uacfc \uac04\uc120(Edge)\uc73c\ub85c \uad6c\uc131\ub429\ub2c8\ub2e4. \uc6b0\ub9ac\ub294 \uc5ec\ub7ec \uac00\uc9c0 \ubc29\uc2dd\uc73c\ub85c \uadf8\ub798\ud504\ub97c \ud45c\ud604\ud560 \uc218 \uc788\uc73c\uba70, \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 Adjacency List\uc640 Adjacency Matrix \ubc29\uc2dd\uc5d0 \ub300\ud574 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uadf8\ub798\ud504\uc758 \ud45c\ud604 \ubc29\uc2dd 1. \uc778\uc811 \ub9ac\uc2a4\ud2b8(Adjacency List) \uc778\uc811 \ub9ac\uc2a4\ud2b8\ub294 \uac01 \uc815\uc810\uc774 \uc778\uc811\ud55c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/26734\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[22],"tags":[],"class_list":["post-26734","post","type-post","status-publish","format-standard","hentry","category-22"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/26734\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc548\ub155\ud558\uc138\uc694! \uc624\ub298\uc740 \uc790\ubc14\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0 \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uadf8\ub798\ud504\uc758 \ud45c\ud604\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uace0, \uad00\ub828\ub41c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uadf8\ub798\ud504\ub294 \uc8fc\uc5b4\uc9c4 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294\ub370 \uc911\uc694\ud55c \ub370\uc774\ud130 \uad6c\uc870\ub85c, \uc815\uc810(Vertex)\uacfc \uac04\uc120(Edge)\uc73c\ub85c \uad6c\uc131\ub429\ub2c8\ub2e4. \uc6b0\ub9ac\ub294 \uc5ec\ub7ec \uac00\uc9c0 \ubc29\uc2dd\uc73c\ub85c \uadf8\ub798\ud504\ub97c \ud45c\ud604\ud560 \uc218 \uc788\uc73c\uba70, \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 Adjacency List\uc640 Adjacency Matrix \ubc29\uc2dd\uc5d0 \ub300\ud574 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uadf8\ub798\ud504\uc758 \ud45c\ud604 \ubc29\uc2dd 1. \uc778\uc811 \ub9ac\uc2a4\ud2b8(Adjacency List) \uc778\uc811 \ub9ac\uc2a4\ud2b8\ub294 \uac01 \uc815\uc810\uc774 \uc778\uc811\ud55c &hellip; \ub354 \ubcf4\uae30 &quot;\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/26734\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T11:52:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:31:40+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/26734\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26734\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604\",\"datePublished\":\"2024-10-27T11:52:15+00:00\",\"dateModified\":\"2024-11-26T07:31:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26734\/\"},\"wordCount\":22,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/26734\/\",\"url\":\"https:\/\/atmokpo.com\/w\/26734\/\",\"name\":\"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T11:52:15+00:00\",\"dateModified\":\"2024-11-26T07:31:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26734\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/26734\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/26734\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/26734\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc548\ub155\ud558\uc138\uc694! \uc624\ub298\uc740 \uc790\ubc14\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucf54\ub529\ud14c\uc2a4\ud2b8\uc5d0 \uc790\uc8fc \ucd9c\uc81c\ub418\ub294 \uadf8\ub798\ud504\uc758 \ud45c\ud604\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uace0, \uad00\ub828\ub41c \uc54c\uace0\ub9ac\uc998 \ubb38\uc81c\ub97c \ud480\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uadf8\ub798\ud504\ub294 \uc8fc\uc5b4\uc9c4 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294\ub370 \uc911\uc694\ud55c \ub370\uc774\ud130 \uad6c\uc870\ub85c, \uc815\uc810(Vertex)\uacfc \uac04\uc120(Edge)\uc73c\ub85c \uad6c\uc131\ub429\ub2c8\ub2e4. \uc6b0\ub9ac\ub294 \uc5ec\ub7ec \uac00\uc9c0 \ubc29\uc2dd\uc73c\ub85c \uadf8\ub798\ud504\ub97c \ud45c\ud604\ud560 \uc218 \uc788\uc73c\uba70, \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 Adjacency List\uc640 Adjacency Matrix \ubc29\uc2dd\uc5d0 \ub300\ud574 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uadf8\ub798\ud504\uc758 \ud45c\ud604 \ubc29\uc2dd 1. \uc778\uc811 \ub9ac\uc2a4\ud2b8(Adjacency List) \uc778\uc811 \ub9ac\uc2a4\ud2b8\ub294 \uac01 \uc815\uc810\uc774 \uc778\uc811\ud55c &hellip; \ub354 \ubcf4\uae30 \"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604\"","og_url":"https:\/\/atmokpo.com\/w\/26734\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T11:52:15+00:00","article_modified_time":"2024-11-26T07:31:40+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/26734\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/26734\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604","datePublished":"2024-10-27T11:52:15+00:00","dateModified":"2024-11-26T07:31:40+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/26734\/"},"wordCount":22,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/26734\/","url":"https:\/\/atmokpo.com\/w\/26734\/","name":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T11:52:15+00:00","dateModified":"2024-11-26T07:31:40+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/26734\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/26734\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/26734\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc790\ubc14 \ucf54\ub529\ud14c\uc2a4\ud2b8 \uac15\uc88c, \uadf8\ub798\ud504\uc758 \ud45c\ud604"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=26734"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26734\/revisions"}],"predecessor-version":[{"id":26735,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26734\/revisions\/26735"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=26734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=26734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=26734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}