Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

An implementation of Chung's linear-time algorithm for solution of the Maximum Density Segment Problem with extended applications

Project Description

An implementation of Chung & Lu [1]’s linear time algorithm for solution of the Maximum Density Segment Problem with additional features, namely simultaneous identification of Minimum Density Segments and consideration of content constraints

[1]K.-M. Chung and H.-I. Lu. An optimal algorithm for the maximum-density segment problem. SIAM Journal on Computing, 34(2), 2005.


  • Python >= 3.2
  • Numpy >= 1.7


Using easy_install, all dependencies will be installed automatically if missing:

$ easy_install3 chungpy

When installing manually from, just execute:

$ python3 install


Copyright (c) 2014 Corinna Ernst <> (see LICENSE)

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(14.2 kB) Copy SHA256 Hash SHA256
Source None Sep 26, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting