Math::Logic::Predicate 0.03
Sponsored Links
Math::Logic::Predicate 0.03 Ranking & Summary
File size:
0.017 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1121
Date added:
2006-09-28
Publisher:
Luke Palmer
Math::Logic::Predicate 0.03 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);
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);
Math::Logic::Predicate 0.03 Screenshot
Advertisements
Math::Logic::Predicate 0.03 Keywords
Predicate 0.03
to manage
Perl module
query
name
h
database
Perl
predicate
Math::Logic::Predicate
MathLogicPredicate
Math::Logic::Predicate 0.03
Libraries
Programming
Bookmark Math::Logic::Predicate 0.03
Math::Logic::Predicate 0.03 Copyright
WareSeeker periodically updates pricing and software information of Math::Logic::Predicate 0.03 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Math::Logic::Predicate 0.03 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
query builder
query string
query server
query letter
query language
sql query
query george
what is a query
how to manage an office romance
perl modules
query optimization
georgia department of corrections inmate query
queryperformancecounter
query tool
to manage group policy you must log on to the computer with a domain user account
georgia inmate query
query letters
query express
Related Software
Math::ODE Perl module allows you to solve N-th Order Ordinary Differential Equations with as little pain as possible. Free Download
Math::Logic is a Perl module that provides pure 2, 3 or multi-value logic. Free Download
Acme::Playmate is a Perl module to consult the playboy playmate directory for playmate information. Free Download
Acme::Tests is a Perl module to see how much do you know. Free Download
Math::Complex is a Perl module with complex numbers and associated mathematical functions. Free Download
Siren is a music player for GNOME with an extremely minimalist interface. Free Download
Master Math Word Problems can help sharpen skills through practice. Free Download
Autodia::Handler::Torque Perl module contains an AutoDia handler for Torque xml database schema. Free Download
Latest Software
Popular Software
Favourite Software