graph-theory
Hash tables in graph theory
I am reading an article on Hash tables. Here is the text snippet. A hash table is useful for any graph theory problem where the nodes[详细]
2023-04-04 21:54 分类:问答Edge classification in a DFS
According to the book (Intro to Algorithm), in dfs, edges are classified as 4 kinds: Tree Edge, if in edge (u,v), v is first discovered, then (u, v) is[详细]
2023-04-04 06:10 分类:问答Unit Testing Approximation Algorithms
I\'m working on an open-source approximation algorithms library for graphs and networks using some popular python packages as a base. The main goal is to encompass up-to-date approximation algorithms[详细]
2023-04-04 03:08 分类:问答Expanding a tree-like data structure
I am attempting to use Python to alter some text strings using the re module (i.e., re.sub). However, I think that my question is applicable to other languages that have regex implementations.[详细]
2023-04-03 19:51 分类:问答Pruning large graphs of stray nodes
I have a graph consisting of about 35,000 nodes represented in plain text: node1 -> node35000 node29420 -> node35000[详细]
2023-04-03 10:52 分类:问答Executing a graph of scripts
I have some (SQL) scripts. Most of them have some requirements: other scripts that should be run before.[详细]
2023-04-03 01:38 分类:问答How to find the least cost to visit every vertex in an undirected, weighted graph at least once starting from a predetermined vertex?
The path tak开发者_StackOverflow社区en does not have to end back at the predetermined vertex. Basically, the traveling salesman problem except that a vertex can be visited more than one time.[详细]
2023-04-01 22:28 分类:问答how to find Connected Component dynamically
Using disjoint-set data structure can easily get connected component of Graph. And, it just supports Incremental Connected Components.[详细]
2023-04-01 12:01 分类:问答How do the iterators V and E in igraph using R work?
I\'ve looked through the source for V and E and I\'m not really sure how they work. Here\'s the code for V:[详细]
2023-03-31 00:59 分类:问答In js, I'm looking for a force directed graph with draggable nodes - click on nodes to open new page
I am trying to find some example code using a javascript library for a force directed graph in which the user can move any node around (and the graph responds dynamically) - but then each node can be[详细]
2023-03-29 13:42 分类:问答