Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.474.300 Times

Implementation of sets using sorted lists 1.1

  Date Added: May 10, 2013  |  Visits: 531

Implementation of sets using sorted lists

Report Broken Link
Printer Friendly Version


Product Homepage
Download (50 downloads)



This script implements set operations using sorted lists as the underlying data structure. Advantages: - Space savings -- lists are much more compact than a dictionary based implementation. - Flexibility -- elements do not need to be hashable, only __cmp__ is required. - Fast operations depending on the underlying data patterns. - Non-overlapping sets get united, intersected, or differenced with only log(N) element comparisons.Results are built using fast-slicing. - Algorithms are designed to minimize the number of compares which can be expensive. - Natural support for sets of sets. No special accomodation needs to be made to use a set or dict as a set member, but users need to be careful to not mutate a member of a set since that may breaks its sort invariant. Disadvantages:  -  Set construction uses list.sort() with potentially N log(N) comparisons. - Membership testing and element addition use log(N) comparisons. Element addition uses list.insert() with takes O(N) time.

Requirements: No special requirements
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python , BSD Solaris
Keyword: Algorithm List Manipulation Lists Sets Algorithm Sorted Sorted Lists
Users rating: 0/10

License: Freeware
USER REVIEWS
More Reviews or Write Review


IMPLEMENTATION OF SETS USING SORTED LISTS RELATED
Miscellaneous  -  Transposing a List of Lists 1.0
This script allows you to transpose a list of lists of different lengths.
 
Development Tools  -  Converting a list of equal length lists into XML 1.0
This module takes a list of equal length lists and converts it into XML. If the first sublist is a list of headings, these are used to form the element names of the rest of the data, or these can be defined in the function call. Root and "row"...
 
Text Management  -  Table splitter 1.0
Given a string containing a textual table, this script splits it  into a list of lists, according to the position of the most frequent word beginnings (or according to the most frequent word endings for tables aligned to the right).
 
Programming  -  py-rangeset 0.0.3
Rangeset is a package that allows for easy manipulation of sets of ranges. These ranges can contain any ordered elements, be they numbers, tuples, or even datetime objects.
10.24 KB  
Mail Clients  -  LM Pro - Email List Management Software 5.44
ListMate Pro is an ULTRA-HIGH-SPEED e-mail list management suite of tools to manipulate, organize and process your large files of emails in ways you never thought possible...for all Windows platforms. Possessing many of the capabilities of its big...
3.33 MB  
E-Mail Tools  -  LM Plat- Email List Management Software 2.13
ListMate Pro Platinum is an ULTRA-HIGH-SPEED e-mail list management suite of tools to manipulate, organize and process UNLIMITED size files of emails in ways you never thought possible...for all Windows platforms. Platinum provides innovative and...
4.08 MB  
Miscellaneous  -  List Tools 1.0
This script presents you a collection of some useful list-related functions.
 
Miscellaneous  -  Two-pass Pairing Heap with Auxiliary List 1.3
This script allows you to manage data collections.For random data, this implementation still makes more comparisons than a sort using heapq or the builtin sort. For partially ordered data, it can perform better than the builtin sort. Because of...
 
Libraries  -  Perl6::Gather 0.04
Perl6::Gather is a Perl module that implements the Perl 6 gather/take control structure in Perl 5. SYNOPSIS use Perl6::Gather; @list = gather { # Try to extract odd numbers and odd number names... for (@data) { if...
5.12 KB  
Programming  -  Java Todo List Manager 1.0
Java Todo List Manager is a web based application that can be used for creating, editing and maintaining a todo list. Todo lists can be shared with others as well.
31.62 MB  
NEW DOWNLOADS IN SCRIPTS, MISCELLANEOUS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Miscellaneous  -  ZZIPlib Library for File sharing 0.13.56
Different applications can group files together into a single .zip archive and access them afterward.The library uses only the patent-free compression-algorithms supported by Zlib.It provides functions that transparently access files being either...
675.84 KB  
Miscellaneous  -  Traveling Salesman Problem - Nearest Neighbor Script 1.1
This method produces different results depending on what city is choosen as the starting point.This function determines the Nearest Neighbor routes for multiple starting points and returns the best of those routes.
10 KB  
Miscellaneous  -  N/A Checkbox 6.x-1.8
N/A Checkbox will allow website builders to add a checkbox next to a number textfield. The idea is to provide the users a textfield to enter a numeric value, or mark N/A in case they don't have it. When the N/A option is marked, a different value...
10 KB  
Miscellaneous  -  ILIAS LMS 4.1.2
ILIAS is a web base learning management system (LMS, VLE).Features of ILIAS LMS:- Courses,- SCORM 1.2 and 2004,- mail,- forum,- chat,- groups,- podcast,- file sharing,- authoring,- CMS,- test,- wiki,- personal desktop,- LOM,- LDAP,- role based...
89 MB  
Miscellaneous  -  Scribe for WordPress 2.0.4
Scribe is an SEO software service for WordPress - think of it as a content optimization assistant - that analyzes web pages, blog posts, and online press releases at the click of a button.Scribe then tells web writers of any kind how to tweak...
10 KB