Asymptotic Experiments with Data Structures: Bipartite Graph Matchings and Covers

01/01/2022
by   Eason Li, et al.
0

We consider instances of bipartite graphs and a number of asymptotic performance experiments in three projects: (1) top movie lists, given databases of movies and viewers, (2) maximum matchings, and (3) minimum set covers. Experiments are designed to measure the asymptotic runtime performance of abstract data types (ADTs) in three programming languages: Java, R, and C++. The outcomes of these experiments may be surprising. In project (1), the best ADT in R consistently outperforms all ADTs in public domain Java libraries, including the library from Google. The largest movie list has 2^20 titles. In project (2), the Ford-Fulkerson algorithm implementation in R significantly outperforms Java. The hardest instance has 88452 rows and 729 columns. In project (3), a stochastic version of a greedy algorithm in R can significantly outperform a state-of-the-art stochastic solver in C++ on instances with num_rows ≥ 300 and num_columns ≥ 3000.

READ FULL TEXT

page 2

page 6

research
09/13/2017

Deadlock detection of Java Bytecode

This paper presents a technique for deadlock detection of Java programs....
research
04/17/2019

JGraphT -- A Java library for graph data structures and algorithms

Mathematical software and graph-theoretical algorithmic packages to effi...
research
08/19/2023

Graph4J – A computationally efficient Java library for graph algorithms

Graph algorithms play an important role in many computer science areas. ...
research
10/27/2017

Espresso: Brewing Java For More Non-Volatility with Non-volatile Memory

Fast, byte-addressable non-volatile memory (NVM) embraces both near-DRAM...
research
05/18/2018

Towards Taming Java Wildcards and Extending Java with Interval Types

Of the complex features of generic nominally-typed OO type systems, wild...
research
01/28/2012

Implementation of exponential and parametrized algorithms in the AGAPE project

This technical report describes the implementation of exact and parametr...

Please sign up or login with your details

Forgot password? Click here to reset