Mauricio Toro wrote:
I would like to know if there are examples available
for the the regular expressions in Gecode and the DFA.

Have a look at nonogram.cc or pentominoes.cc.

Additionally, I would like to know is somebody
has suggestions about how to port that to a language withouth
using classes.

Depends on the language. If you have things like term constructors / algebraic datatypes, just construct a term and then translate that into a REG on the C++ side. If you can't do that, you could just have an array of triples (a,s,b) where a is the start state, s a symbol, and b the end state, and then turn that into a DFA on the C++ side.

Cheers,
        Guido

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to