Dear All Thanks for the kind replies What I am concerned is, my rules is always dynamically changes over time(e.g. CPU availability/utilisation) -with that, I cannot hard coded on the programming coding. Even their template/"deftemplate" might be changes(e.g. new software properties/a totally new hardware-such as any new instrument attached to the computer system)
Is that possible with JCHR? Any suggestions are welcome Cheers mnoor On Nov 15, 2007 5:09 PM, Hal Hildebrand <[EMAIL PROTECTED]> wrote: > What you are describing is constraint programming. You can do this with > Jess, but it's not exactly the best (imho) tool for the job due to what is > involved. The combinatorics are nasty in all but the simplest examples. > For a constraint solver that runs (with minor tweaks) in Jess, see > http://tinyurl.com/yvz98m > > This technique might do what you want, but you might want to look into > constraint systems in Java like JCHR or even Genetic Algorithms, which are > particularly good at searching large sparse spaces for solutions to > constraints. > > On Nov 15, 2007, at 8:45 AM, Mohd. Noor wrote: > > let say the user want to select the computer (resources) in which suite > their requirement- in this case user wants to run mathlab simulation in > computer(clusters) that have more than 20 CPUs available. Let consider the > attributes such as CPU and software are treated differently(whereby we can > migrate the software and licenses to the node that most appropriate with > users' resources requirements- in this case;). This rules (contains the node > A, B and C's properties/attributes) suppose made available in the brokerage > level. > > In this case the user may select the mathlab from node C and run on node > B. > > How do we transform the resources properties into the rules? > How we are going to infer the rules? > How we can apply a forward chaining and backward chaining? > > Cheers, > mnoor > > > > On Nov 15, 2007 2:42 PM, Motaz K. Saad <[EMAIL PROTECTED]> wrote: > > > Could you explain more!. > > Do you want to make a rule to determine computer specifications for a > > given software.? > > > > > > On Nov 15, 2007 1:48 PM, Mohd. Noor < [EMAIL PROTECTED] > wrote: > > > > > dear jess > > > how to make a rule from this scenario > > > > > > Computer A: > > > CPu =100 > > > RAM = 1GB > > > s/w = c++ > > > Computer B: > > > CPU =20 > > > RAM = 512M > > > S/w =spps > > > Computer C > > > CPU =12 > > > RAM = 2GB > > > s/w = mathlab > > > > > > The user will request to run a software mathlab - how do the rules > > > look like > > > > > > cHEERS > > > > > > On Nov 15, 2007 11:44 AM, Mohd. Noor < [EMAIL PROTECTED]> wrote: > > > > > > > dear jess > > > > how to make a rule from this scenario > > > > > > > > Computer A: > > > > > > > > > > > > > > > > > -- > > Motaz K. Saad > > Computer Science Dept. > > College of IT > > http://motaz.saad.googlepages.com > > > >