rpgoldman / europa-pso

Automatically exported from code.google.com/p/europa-pso
0 stars 0 forks source link

Interpreter should allow Unary resource to substitute for Timeline #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This would allow the MCC model to not get more complicated only because we
want constraint violation information reported, for example.

Mike reports that you could do this in code generation (and pointed me to
System/test stuff).

From email by Mike that Javier responded to:

Michael Iatauro (ARC-TI)[QSS GROUP INC] wrote:

The code generator allows you to swap in token implementation classes as
well, so you can say stuff like:

  <binding nddl="Timeline" cpp="EUROPA::SAVH::UnaryTimeline"
include="SAVH_Reusable.hh"/>
ok, this can be accomplished by the cpl of lines I sent Tristan in my
previous message

    <binding nddl="Timeline.*" cpp="NddlUnaryToken"
include="SAVH_Reusable.hh"/>

right, I had forgotten about this and the fact that it takes advantage of
C++ inheritance to get the desired behavior.
this needs to be added to the interpreter, shouldn't be hard but it'll take
more than a few minutes, I'll try to take care of it next week.

Original issue reported on code.google.com by miata...@gmail.com on 15 Sep 2009 at 3:42

GoogleCodeExporter commented 9 years ago

Original comment by javier.barreiro@gmail.com on 22 Nov 2010 at 10:29

GoogleCodeExporter commented 9 years ago

Original comment by javier.barreiro@gmail.com on 17 Aug 2011 at 8:31

GoogleCodeExporter commented 9 years ago

Original comment by javier.barreiro@gmail.com on 30 May 2012 at 5:26