[gme-users] constraints

Aditya Agrawal aditya.agrawal at gmail.com
Wed May 2 12:24:18 CDT 2007


Hi all,

I am trying to use the java API to create an interpreter that creates models
and atoms in GME. 

I followed the manual and created the test interpreter. In the test
interpreter System.out.println was use and I was expecting to see a similar
output in the command window section of GME. I don't see any output and if I
run it a second time the interpreter crashes with the following error
message

"Internal error while executing java interpreter" 

I am using the Java 5.0 compiler and was wondering if there is a specific
version that I should be using. 

Thanks,
Adi 



> -----Original Message-----
> From: gme-users-bounces at list.isis.vanderbilt.edu [mailto:gme-users-
> bounces at list.isis.vanderbilt.edu] On Behalf Of Zoltan Molnar
> Sent: Wednesday, April 11, 2007 6:09 PM
> To: gme-users
> Subject: RE: [gme-users] constraints
> 
> Hi David,
> 
> The function name 'allAscendants' is defined as a constraint function in
> that certain metamodel where you have found this expression. Constraint
> functions can be defined in any metamodel, typically it is worthwhile to
> define some if they are re-used by constraints.
> 
> Br, Zoli
> 
> > -----Original Message-----
> > From: gme-users-bounces at list.isis.vanderbilt.edu
> > [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf
> > Of zgshu2004 at 163.com
> > Sent: Tuesday, April 10, 2007 8:22 PM
> > To: gme-users
> > Subject: [gme-users] constraints
> >
> >
> > Hi:
> >
> > In GME , I found the following expression:
> >
> > not directs->exists( d : gme::FCO | d.allAscendants(-1
> > ).intersection( ids ).notEmpty() )
> >
> > but gme::FCO doesn't have the method "allAscendants()" in GME
> > help document, why?
> >
> > thanks.
> >
> >
> > 		david.
> >
> >
> > _______________________________________________
> > gme-users mailing list
> > gme-users at list.isis.vanderbilt.edu
> > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> >
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users



More information about the gme-users mailing list