[Tb] Agent syntax help

From: Aldo Cimino <aldo_cimino__AT__umail.ucsb.edu>
Date: Sun Mar 20 2005 - 20:28:23 EST

Greetings.

I'm having some difficulty making an agent collect the right notes. Allow me
to explain.

I have an attribute named "PredictedBy". This way, I can create notes that
are essentially hypotheses and then list what theories predict them. This
means that the PredictedBy attribute usually has multiple theory names in it
(e.g. Theory A; Theory B; Theory C).

My goal is to create an agent that will collect all notes whose PredictedBy
attribute contains "Theory A".

My problem is this: I have two theories with similar names. Let's call them
"Theory A" and "Theory A A". Thus, giving the agent the syntax:

PredictedBy(Theory A)

makes it pick up "Theory A A" as well. Note that telling the agent:

PredictedBy(Theory A)&PredictedBy!(Theory A A)

just causes some kind of loop.

I know that I can tell Tinderbox to look for an *exact* value in an
attribute using "=" but this simply won't work in this case, as PredictedBy
almost always has multiple values and I need it to stay that way.

Any suggestions?

-Aldo
Received on Mon Mar 21 01:28:23 2005

This archive was generated by hypermail 2.1.8 : Wed Dec 14 2005 - 10:45:38 EST