An algorithm for Hierarchical Chinese postman problem using minimum spanning tree approach based on Kruskal's algorithm
The Hierarchical Chinese postman problem is a special type of Chinese postman problem. The aim is to find a shortest tour that traverses each edge of a given graph at least once. The constraint is that the arcs are partitioned into classes and a precedence relation orders the classes according to priority. Different forms of the HCPP are applied in real life applications such as snow plowing, winter gritting and street sweeping. The problem is solvable in polynomial time if the ordering relation is linear and each class is connected. Dror et al. (1987) presented an algorithm which provides time complexity of O (kn <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">5</sup> ). CPP which is lower bound for HCPP. We give alternate approach by using Kruskal's method to reduce number of edges in graph which is having time complexity of O (k <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> n <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> ), where k is number of layers in graph and n is number of nodes in graph. It is found that the suggested kruskal-based HCPP-solution gives average 21.64% improvement compare to simple HCPP and we get average 13.35% improvement over CPP when number of hierarchy is less than 3 and numbers of edges in graph are less than 10.
- Research Article
4
- 10.1002/jcc.21738
- Feb 15, 2011
- Journal of Computational Chemistry
A number of modeling and simulation algorithms using internal coordinates rely on hierarchical representations of molecular systems. Given the potentially complex topologies of molecular systems, though, automatically generating such hierarchical decompositions may be difficult. In this article, we present a fast general algorithm for the complete construction of a hierarchical representation of a molecular system. This two-step algorithm treats the input molecular system as a graph in which vertices represent atoms or pseudo-atoms, and edges represent covalent bonds. The first step contracts all cycles in the input graph. The second step builds an assembly tree from the reduced graph. We analyze the complexity of this algorithm and show that the first step is linear in the number of edges in the input graph, whereas the second one is linear in the number of edges in the graph without cycles, but dependent on the branching factor of the molecular graph. We demonstrate the performance of our algorithm on a set of specifically tailored difficult cases as well as on a large subset of molecular graphs extracted from the protein data bank. In particular, we experimentally show that both steps behave linearly in the number of edges in the input graph (the branching factor is fixed for the second step). Finally, we demonstrate an application of our hierarchy construction algorithm to adaptive torsion-angle molecular mechanics.
- Research Article
7
- 10.1145/3404867
- Sep 16, 2020
- ACM Transactions on Algorithms
We study the task of estimating the number of edges in a graph, where the access to the graph is provided via an independent set oracle. Independent set queries draw motivation from group testing and have applications to the complexity of decision versus counting problems. We give two algorithms to estimate the number of edges in an n -vertex graph, using (i) polylog( n ) bipartite independent set queries or (ii) n 2/3 polylog( n ) independent set queries.
- Research Article
1
- 10.1016/j.dam.2020.10.008
- Oct 23, 2020
- Discrete Applied Mathematics
Extremal graphs for blow-ups of stars and paths
- Research Article
17
- 10.1016/j.disc.2020.111924
- Apr 9, 2020
- Discrete Mathematics
The formula for Turán number of spanning linear forests
- Research Article
18
- 10.1006/jctb.2001.2037
- Jul 1, 2001
- Journal of Combinatorial Theory, Series B
Covering Non-uniform Hypergraphs
- Research Article
1
- 10.1007/s00493-016-3584-6
- Aug 14, 2017
- Combinatorica
A graph G is k-critical if G is not (k − 1)-colorable, but every proper subgraph of G is (k − 1)-colorable. A graph G is k-choosable if G has an L-coloring from every list assignment L with |L(v)|=k for all v, and a graph G is k-list-critical if G is not (k−1)-choosable, but every proper subgraph of G is (k−1)-choosable. The problem of determining the minimum number of edges in a k-critical graph with n vertices has been widely studied, starting with work of Gallai and culminating with the seminal results of Kostochka and Yancey, who essentially solved the problem. In this paper, we improve the best known lower bound on the number of edges in a k-list-critical graph. In fact, our result on k-list-critical graphs is derived from a lower bound on the number of edges in a graph with Alon–Tarsi number at least k. Our proof uses the discharging method, which makes it simpler and more modular than previous work in this area.
- Research Article
1
- 10.1016/j.disopt.2023.100802
- Sep 5, 2023
- Discrete Optimization
Constructing extremal triangle-free graphs using integer programming
- Research Article
4
- 10.1093/comjnl/bxaa135
- Dec 8, 2020
- The Computer Journal
This article describes an algorithm that solves a fully dynamic variant of the minimum spanning tree (MST) problem. The fully retroactive MST allows adding an edge to time $t$, or to obtain the current MST at time $t$. By using the square root technique and a data structure link-cut tree, it was possible to obtain an algorithm that runs each query in $O(\sqrt{m} \lg{|V(G)|})$ amortized, in which $|V(G)|$ is the number of nodes in graph $G$ and $m$ is the size of the timeline. We use a different approach to solve the MST problem instead of the standard algorithms, such as Prim or Kruskal, and this allows using the square root technique to improve the final complexity of the algorithm. Our empirical analysis shows that the proposed algorithm runs faster than re-executing the standard algorithms, and this difference only increases when the number of nodes in these graphs is larger.
- Conference Article
2
- 10.5817/cz.muni.eurocomb23-011
- Jan 1, 2023
In 1959 Erd\H os and Gallai proved the asymptotically optimal bound for the maximum number of edges in graphs not containing a path of a fixed length. We investigate a rainbow version of the theorem, in which one considers $k \geq 1$ graphs on a common set of vertices not creating a path having edges from different graphs and asks for the maximum number of edges in each graph. We prove the asymptotically optimal bound in the case of a path on three edges and any $k \geq 1$.
- Research Article
2
- 10.1016/0012-365x(83)90060-2
- Jan 1, 1983
- Discrete Mathematics
Minimum number of edges in graphs that are both P2- and Pi-connected
- Research Article
7
- 10.1109/lca.2021.3098943
- Jul 1, 2021
- IEEE Computer Architecture Letters
Graph neural networks (GNNs) can extract features by learning both the representation of each objects (i.e., graph nodes) as well as the relationship across different objects (i.e., the edges that connect nodes), achieving state-of-the-art performance on a wide range of graph-based tasks. Despite its strengths, utilizing these algorithms in a production environment faces several key challenges as the number of graph nodes and edges amount to several billions to hundreds of billions scale, requiring substantial storage space for training. Unfortunately, existing ML frameworks based on the in-memory processing model significantly hamper the productivity of algorithm developers as it mandates the overall working set to fit within DRAM capacity constraints. In this work, we first study state-of-the-art, large-scale GNN training algorithms. We then conduct a detailed characterization on utilizing capacity-optimized non-volatile memory solutions for storing memory-hungry GNN data, exploring the feasibility of SSDs for large-scale GNN training.
- Conference Article
35
- 10.1145/3470496.3527391
- Jun 11, 2022
Graph neural networks (GNNs) can extract features by learning both the representation of each objects (i.e., graph nodes) and the relationship across different objects (i.e., the edges that connect nodes), achieving state-of-the-art performance in various graph-based tasks. Despite its strengths, utilizing these algorithms in a production environment faces several challenges as the number of graph nodes and edges amount to several billions to hundreds of billions scale, requiring substantial storage space for training. Unfortunately, state-of-the-art ML frameworks employ an in-memory processing model which significantly hampers the productivity of ML practitioners as it mandates the overall working set to fit within DRAM capacity. In this work, we first conduct a detailed characterization on a state-of-the-art, large-scale GNN training algorithm, GraphSAGE. Based on the characterization, we then explore the feasibility of utilizing capacity-optimized NVMe SSDs for storing memory-hungry GNN data, which enables large-scale GNN training beyond the limits of main memory size. Given the large performance gap between DRAM and SSD, however, blindly utilizing SSDs as a direct substitute for DRAM leads to significant performance loss. We therefore develop SmartSAGE, our software/hardware co-design based on an in-storage processing (ISP) architecture. Our work demonstrates that an ISP based large-scale GNN training system can achieve both high capacity storage and high performance, opening up opportunities for ML practitioners to train large GNN datasets without being hampered by the physical limitations of main memory size.
- Research Article
111
- 10.1016/s0304-3975(01)00164-5
- Aug 1, 2001
- Theoretical Computer Science
Frozen development in graph coloring
- Research Article
20
- 10.1016/s0305-0548(98)00092-6
- Apr 12, 1999
- Computers & Operations Research
Improved solutions for the Chinese postman problem on mixed networks
- Research Article
- 10.1504/ijkl.2010.034756
- Jan 1, 2010
- International Journal of Knowledge and Learning
Agent technology offers a large number of unique features which makes it a potential choice for implementing real world applications. Owing to their tremendous capabilities, it is regarded as a promising paradigm for future distributed computing. In this paper, we have proposed smart delivery: a cooperative multi-agent framework for optimised delivery service to transfer packets from source to destinations in randomly varying environment in the most efficient way with the help of mobile agents. We are considering packet moving problem in 2D environment consisting of packets and destinations. The task of each mobile agent is to move the packet from the source to the destination. Simulated environment is dynamically generated with varying graph size (i.e., number of nodes in graph), packet ratio and number of destinations. Packets and destinations are randomly placed in the graph and the graph is divided into societies to encourage an efficient and manageable environment for the agents to work in parallel and share expertise within and outside the society. The proposed framework uses decentralised approach and based on layered agent architecture and once initialised manages all the activities autonomously with the help of mobile agents.
- Ask R Discovery
- Chat PDF
AI summaries and top papers from 250M+ research sources.