Grouping objects into disjoint sets

Grouping objects into disjoint sets

Grouping objects into disjoint sets Download Summary

  • Language: Python
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • License: Other Free / Open Source License - Python License
  • Databases: N/A
  • Downloads: 395
  • Released: Feb 15, 2007

Grouping objects into disjoint sets Description

This class provides a lightweight way to group arbitrary objects together into disjoint sets when a full-blown graph data structure would be overkill. Objects can be joined using .join(), tested for connectedness using joined(), and all disjoint sets can be retreived using get(). The objects being joined must be hashable.

Grouping objects into disjoint sets Bookmark

Hyperlink code:
Hyperlink for Forum code:

Grouping objects into disjoint sets Script Download Notice

Top 4 Download periodically updates information of Grouping objects into disjoint sets script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Grouping objects into disjoint sets torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

Debug runtime objects using gc get objects

... get_objects(). It gives back a list of all objects that are under control of the Garbeage Collector. ... example dumps a list of all higher level objects. At first it gets the list of all objects, than tests if they are higher level and ... if it is not in the list of objects that are more or less always there. ...
Python

Group and partition

This script enables the group_by functionality like the similar function existing in Ruby on Rails. ...
Python

Stateful Objects use Mix ins to define behaviour

If you want to implement stateful objects, which have a different set of behaviours according ... object. This is a clean way of providing objects with standard interfaces. ...
Python

Create objects from variable class names

Sometimes you would want to create objects from various classes based on some condition (without using eval()). For example when parsing X(HT)ML files you want to handle some tags using specific classes. This script is an example in this sense. ...
Python

Loose Coupling

... "broadcaster" and "broker" modules enable loose coupling between objects in a running application. ...
Python