Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    Algorithm::SixDegrees 0.03

    Download button

    No screenshots available
    Downloads: 448  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Pete Krawczyk | More programs
    Perl Artistic License / FREE
    May 17th, 2007, 18:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Algorithm::SixDegrees description

    Algorithm::SixDegrees is a Perl module that can find a path through linked elements in a set.

    Algorithm::SixDegrees is a Perl module that can find a path through linked elements in a set.

    SYNOPSIS

    use Algorithm::SixDegrees;

    my $sd1 = Algorithm::SixDegrees->new();
    $sd1->data_source( actors => &starred_in );
    $sd1->data_source( movies => &stars_of );
    @elems = $sd1->make_link('actors', 'Tom Cruise', 'Kevin Bacon');

    my $sd2 = Algorithm::SixDegrees->new();
    $sd2->forward_data_source( friends => &friends, @args );
    $sd2->reverse_data_source( friends => &friend_of, @args );
    @elems = $sd2->make_link('friends', 'Bob', 'Mark');

    Algorithm::SixDegrees is a Perl implementation of a breadth-first search through a set of linked elements in order to find the shortest possible chain linking two specific elements together.

    In simpler terms, this module will take a bunch of related items and attempt to find a relationship between two of them. It looks for the shortest (and generally, simplest) relationship it can find.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    linked elements | path finder | Perl module | Algorithm::SixDegree | linked | elements

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM