The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
What makes a Coral8 Expert? iBot Complex Event Processing RSS News 0 04-03-2008 03:30 PM
Server Upgrade Expert Normanbates UNIX for Dummies Questions & Answers 0 07-17-2006 07:24 AM
expert vi commands Love SUN Solaris 4 06-13-2006 10:37 AM
I am a beginner.Wanna become expert. farooq_kdp Linux 5 07-27-2005 05:45 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-07-2008
Yogesh Sawant's Avatar
Part Time Moderator and Full Time Dad
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 796
Perl and Expert Systems

Hi,

I'm designing / writing a system which would analyze results of a load test and determine whether test passed or failed. The trouble is, the pass/fail criteria is very complex. And it may vary. So I'm thinking of something similar to Expert Systems.

One idea is put the rules in XML file and use them to determine if test passes or fails. But this may not be the best idea.

Has anyone seen / worked with such application / program / system?

Please give me ideas, links, suggestions, thoughts.

Thanks,
Yogesh Sawant
Reply With Quote
Forum Sponsor
  #2  
Old 03-17-2008
Registered User
 

Join Date: Feb 2005
Posts: 53
I dont know the details of your task but I would definitely
use an .txt format instead of XML for research stage.

If you are using Perl or another dynamic language, and if your rules need to be implemented as subroutines then you could consider separate files with these rules. Their filenames could be arguments for 'main' application from command line.
Reply With Quote
  #3  
Old 03-18-2008
Yogesh Sawant's Avatar
Part Time Moderator and Full Time Dad
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 796
Quote:
Originally Posted by odys View Post
I dont know the details of your task but I would definitely
use an .txt format instead of XML for research stage.
how would i benefit from that?
Reply With Quote
  #4  
Old 03-18-2008
drl's Avatar
drl drl is online now
Registered User
 

Join Date: Apr 2007
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 555
Hi.
Quote:
Originally Posted by Yogesh Sawant View Post
how would i benefit from that?
I would say for much the same as:
Quote:
Don't use XML as your configuration file format. It may be
human-readable, but it's almost never human-understandable, and
the ratio of mark-up to content is vastly too high.

-- Perl Best Practices, D Conway, O'Reilly, 2005; page 445 ff.
Best wishes ... cheers, drl
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0