Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EVL] ConstraintTrace
[EVL] ConstraintTrace [message #493861] Wed, 28 October 2009 10:02 Go to next message
Eclipse UserFriend
Originally posted by: Juan.deLara.uam.es

Hi,

I'm trying to embed EVL as a language inside
another framework, so that e.g. I can evaluate
EVL constraints when certain events are triggered.
My problem is that EvlContext seems to store a
constraint trace so that no constraint is evaluated
twice. However, this is an inconvenience for me, as
my models may have changed between two evaluations of
the same constraint. The class ConstraintTrace does not
seem to have a method to delete trace elements. Is there
some workaround for that?

Many thanks and regards,

juan.
Re: [EVL] ConstraintTrace [message #493886 is a reply to message #493861] Wed, 28 October 2009 10:58 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Juan,

The only way to do this currently is to initialize a new EvlContext
every time and pass it as parameter to the check(Object self,
IEvlContect context) method of EvlConstraint - but this is not very
efficient. Could you please file a bugzilla so that we can keep track of
this?

Cheers,
Dimitris

Juan de Lara wrote:
>
> Hi,
>
> I'm trying to embed EVL as a language inside
> another framework, so that e.g. I can evaluate
> EVL constraints when certain events are triggered.
> My problem is that EvlContext seems to store a
> constraint trace so that no constraint is evaluated
> twice. However, this is an inconvenience for me, as
> my models may have changed between two evaluations of
> the same constraint. The class ConstraintTrace does not
> seem to have a method to delete trace elements. Is there
> some workaround for that?
>
> Many thanks and regards,
>
> juan.


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: [EVL] ConstraintTrace [message #582346 is a reply to message #493861] Wed, 28 October 2009 10:58 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Juan,

The only way to do this currently is to initialize a new EvlContext
every time and pass it as parameter to the check(Object self,
IEvlContect context) method of EvlConstraint - but this is not very
efficient. Could you please file a bugzilla so that we can keep track of
this?

Cheers,
Dimitris

Juan de Lara wrote:
>
> Hi,
>
> I'm trying to embed EVL as a language inside
> another framework, so that e.g. I can evaluate
> EVL constraints when certain events are triggered.
> My problem is that EvlContext seems to store a
> constraint trace so that no constraint is evaluated
> twice. However, this is an inconvenience for me, as
> my models may have changed between two evaluations of
> the same constraint. The class ConstraintTrace does not
> seem to have a method to delete trace elements. Is there
> some workaround for that?
>
> Many thanks and regards,
>
> juan.


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Previous Topic:[EVL] ConstraintTrace
Next Topic:Autocompletition (Total Nub)
Goto Forum:
  


Current Time: Tue Apr 16 05:25:30 GMT 2024

Powered by FUDForum. Page generated in 0.10415 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top