Math::Logic::Predicate

Description

Math::Logic::Predicate is a Perl module to manage and query a predicate assertion database. SYNOPSIS use Math::Logic::Predicate; $db = new Math::Logic::Predicate; # Enter some predicates into the database $db->add(<<EOA); human(lister). human(kochanski). plays(lister, guitar). smart(holly). smart(rimmer). name(lister, Dave Lister). name(kochanski, Kristine Kochanski). name(rimmer, Arnold Rimmer). EOA # Retract a predicate $db->retract( plays(lister, guitar) ); # Or based on a pattern $db->retract( smart(_) ); # Make a query $query = $db->parse( human(H) & name(H, X) ? ); $iter = $db->match($query, $iter); # Get the results $name = $db->get($iter, X); # Store it in a rule $db->add( human_name(H, N) := human(H) & name(H, N). ); # Use it in a query $iter = $db->match( human_name(lister, N) ? ); # Save it to a file use Storable; store($db->rules, red_dwarf);.

Mathlogicpredicate - To Manage - Perl Module - Query - Name - Module - Perl - Predicate - Libraries - Programming

Published By:Luke Palmer

License Type:Freeware

Date Added:25 October, 2010

Version:0.03

Price:Free

Downloads:81

Size:17.4 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

libgfeed is a library to manage (create, load, edit) feed files in either the ATOM v1.0 or RSS v2.0 format. Installation: 1. `cd to the directory containing the packages source code and type ./configure to configure the package for your system.

DateOct 21, 2010

AuthorAndrea Zagli

Size337.9 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

VideoDB is a database to manage your personal video collection. It’s mainly designed for videofiles but you can also put your DVDs and VHS tapes in it. Be sure to have a recent PHP version! At least 4.2.

DateSep 26, 2010

AuthorAndreas Gohr

Size634.9 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Multimedia

Samba::LDAP is a Perl module to manage a Samba PDC with an LDAP Backend. SYNOPSIS use Carp; use Samba::LDAP; my $samba = Samba::LDAP->new() or croak "Cant create objectn"; my $domain = $samba->get_local_sid();.

DateOct 16, 2010

AuthorGavin Henry

Size81.9 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

ContentLicensing provides a tool is used to manage copyright licenses within plone. This tool is used to manage copyright licenses within plone.

DateOct 20, 2010

AuthorBrent Lambert

Size39.9 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

mod_coolphoto is an Apache module that enables you to manage and display images within a series of photo galleries. mod_coolphoto has been written and tested using Linux and Apache 1.3x.

DateSep 3, 2010

AuthorBrian Connolly

Size28.7 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet