[great-users] negative application condition

Feng Shi fengshi at isis.vanderbilt.edu
Thu Feb 2 09:05:45 CST 2006


Hi Arda,

 

The value Cardinality is '0', not '-1',  to represent the negative pattern.

 

Thanks,

Feng

 

-----Original Message-----
From: great-users-bounces at list.isis.vanderbilt.edu [mailto:great-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Arda Göknil
Sent: Thursday, February 02, 2006 9:00 AM
To: great-users
Subject: RE: [great-users] negative application condition

 

Yes, you are right. Thanks.

Aditya Agrawal <aditya.agrawal at gmail.com> wrote: 

Hi Arda,

 

In your pattern specification you can change the "pattern cardinality" attribute even on the simple association between B and C. By simple association I mean an association without a class. 

 

You can click in the line, change the attribute called "pattern cardinality to '0' or '-1' " 

 

I hope this helps.

 

Thanks,

Adi

 

  _____  

From: great-users-bounces at list.isis.vanderbilt.edu [mailto:great-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Arda Göknil
Sent: Thursday, February 02, 2006 9:15 AM
To: A list for GReAT users to share bugs, fixes and ideas
Subject: RE: [great-users] negative application condition

 

I could not write a good example. I mean, the meta association. I imagine  the A, B and C classes are the meta classes and the association between them are the meta association, there is not a meta class named Association. The setting the pattern cardinality to "-1" is true if there is a Association entity in the meta class.

Aditya Agrawal <aditya.agrawal at gmail.com> wrote: 

Hi Arda,

 

As far as I remember you can set the pattern cardinality on the associ ation between B and C to be "-1" instead of setting it on B. 

 

I don't know if things have changed in the recent past but earlier the value for negative condition used to be "0" not "-1".

 

Could Attila or Feng please comment to this?

 

Thanks,

Adi

 

  _____  

From: great-users-bounces at list.isis.vanderbilt.edu [mailto:great-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Arda Göknil
Sent: Thursday, February 02, 2006 5:14 AM
To: great-users at list.isis.vanderbilt.edu
Subject: [great-users] negative application condition

 

Hi,

I have a question about the negative application condition in GREAT. In the user manual, it is said that if you set the pattern cardinality to "-1", you negate that element. but I want to negate the element for only one association.

For example, in my pattern I have three classes: classA, classB and classC. ClassA has a relation with ClassB and ClassC but I do not want ClassB to have a relation with ClassC. I want to negate ClassC for the association between ClassB and ClassC. But in my pattern if I set the pattern cardinality to -1, I can not show the whole pattern in one rule. How is it possible?

Regards,

 

Arda Goknil

  _____  

To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre <http://us.rd.yahoo.com/mail/uk/taglines/default/security_centre/*http:/uk.security.yahoo.com/> .

_______________________________________________
great-users mailing list
great-users at list.isis.vanderbilt.edu
http://list.isis.vanderbilt.edu/mailman/listinfo/great-users

 

  _____  

Yahoo! Photos <http://us.rd.yahoo.com/mail/uk/taglines/default/photos/*http:/uk.photos.yahoo.com/>  - NEW, now offering a quality print service <http://us.rd.yahoo.com/mail/uk/taglines/default/photos/*http:/uk.photos.yahoo.com/>  f rom just 8p a photo.

_______________________________________________
great-users mailing list
great-users at list.isis.vanderbilt.edu
http://list.isis.vanderbilt.edu/mailman/listinfo/great-users

 

  _____  

To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre <http://us.rd.yahoo.com/mail/uk/taglines/default/security_centre/*http:/uk.security.yahoo.com/> .

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/great-users/attachments/20060202/e0daa56f/attachment.htm


More information about the great-users mailing list