Re: JESS: cost/objective function ?

2008-01-10 Thread Jason Morris
Hi Noor, Sorry you were abandoned! Grid computing is not my specialty (anybody out there??) but I'll see if I can help. If I follow you, then you have something that looks like the diagram below. This is typically known as a Resource Broker, right? ++

Re: JESS: cost/objective function ?

2008-01-10 Thread Mohd. Noor
Hi Jason and All You are absolutely right! I think, I will be using Gridbus broker from Rajkumar Buyya( Aus) to write the broker. It is there already. What I am going to focus is on the matching between numerous resources and client, thus I think I can made it using a rule base. The working

Re: JESS: cost/objective function ?

2008-01-10 Thread Jason Morris
Hi Noor, one big question, is that possible with Jess? Short Answer: I think so. DISCLAIMER:: All of the following is just my random ideas of how to proceed with your problem. I am flying totally blind here not knowing the particulars of what you are currently implementing or the tools you

Re: JESS: cost/objective function ?

2008-01-09 Thread Mohd. Noor
sory, just wonder is they any suggestion? On Jan 8, 2008 9:51 PM, Mohd. Noor [EMAIL PROTECTED] wrote: Thanks all The reason I want to use the JESS/rule base is in its flexibilty to update the attribute as publish/subscribe by using a broker. What I means is: I have a collection of

Re: JESS: cost/objective function ?

2008-01-09 Thread Nice Bright
Hi everybody, In Jess programming, is it possible to define a time notion (e.g. 12:00) in the definition of a rule such that the rule can be activated when the current time is 12:00. Thanks Nice Mohd. Noor [EMAIL PROTECTED] wrote: sory, just wonder is they any suggestion? On

Re: JESS: cost/objective function ?

2008-01-09 Thread Nice Bright
could you please guide me an example which says how I can use calculation in the LHS of the definition of a rule. e.g if the price of item is xx then VAT=xx * 17% Thanks Nice - Looking for last minute shopping deals? Find them fast

Re: JESS: cost/objective function ?

2008-01-09 Thread Ernest Friedman-Hill
Do you mean LHS (left hand side) or RHS (right hand side)? The LHS is the if part; the RHS is the then part. If you really mean RHS, then one simple way to translate this would look like (defrule VAT (item (price ?xx)) = (assert (VAT (* ?xx 0.17 but of course I've made

Re: JESS: cost/objective function ?

2008-01-09 Thread Ernest Friedman-Hill
On Jan 9, 2008, at 7:20 PM, Nice Bright wrote: Hi everybody, In Jess programming, is it possible to define a time notion (e.g. 12:00) in the definition of a rule such that the rule can be activated when the current time is 12:00. Thanks Nice The technique you use to do this kind of

Re: JESS: cost/objective function ?

2008-01-08 Thread Wolfgang Laun
Mohd. Noor wrote: Dear all What is it means by cost or objective function? http://en.wikipedia.org/wiki/Objective_function one more things. How I am going to map (using rules) between two different attributes from users and resources let say user need to run the job and get results in 1

Re: JESS: cost/objective function ?

2008-01-08 Thread Jason Morris
Hi MNoor, This isn't really a Jess question, but perhaps I can help. The knowledge domain that you are seeking is called Operations Research. Here is a wikipedia reference to get you stated: http://en.wikipedia.org/wiki/Operations_research . An objective function is what you minimize (in the

Re: JESS: cost/objective function ?

2008-01-08 Thread Mohd. Noor
Thanks all The reason I want to use the JESS/rule base is in its flexibilty to update the attribute as publish/subscribe by using a broker. What I means is: I have a collection of resources attributes to be published in broker e.g. I have a collection of hosts with different number of CPUs