Ricardo Ribeiro

Nested Quantified Expressions/Conditions?

Discussion created by Ricardo Ribeiro on Feb 25, 2010
Latest reply on Jul 6, 2012 by Andrei Palskoi

Hi,

 

I am new at FICO Blaze Advisor Technology and I am doing some tutorials.

 

I blocked into a question that I still have no solution (maybe it is a rookie question).

 

If I want to develop a SRL rule to express "If all the students have at least 2 grades bellow 10 then the class is DUMB", how do I do it?

 

Let us consider that the object Class exists and that it has an array of students.

 

I can express ""If one of the students have at least 2 grades bellow 10 then the student is DUMB" with just a quantified condition:

 

if at least 2 Grade in anyStudent.grade

satisfy it.score < 10

then {

anyStudent.status = Status.DUMB;

}

 

... but I can't represent the every student rule.

 

Can you help me?

 

Thanks in advance.

 

RCR

Outcomes