how about numbering your ticks ?
as a rough outline, this might look something like:
1st : Tick ($number : num)
2nd : Tick (num == $number+1, {this.value below 1st.value})
3rd : Tick (num == $number+2, {this.value above 2nd.value})
this should find all "bottoms"
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Writing-a-pattern-in-...
Sent from the Drools - User mailing list archive at
Nabble.com.