[scxml] Target of transition as variable?

2011-06-21 Thread Artem Vovk
Can I use dynamic transition targets? Something like this? ... If I use it on this way, I receive an exception: Transition target with ID "dyn_state" not found -> Interpreter thinks that it is a name of the state, but not the variable... Is there a way to define such transitions?

[MATH] Improper Integrals

2011-06-21 Thread Rafael de Carvalho
Hello, Are there some way to handle improper integrals (integrals between -infinite and +infinite) using apache math lib? I tried, but so far found nothing. Thanks in advance. - To unsubscribe, e-mail: user-unsubscr...@commo

Re: [math] SimplexSolver - how to restrict solution to integer values?

2011-06-21 Thread Antonio Petrelli
2011/6/21 > > - "Michele Mazzucco" a écrit : > > Hi Michele, > > > Antonio, > > > > thanks for the quick answer. > > Do you know any library/framework which could help me with that? > > Perhaps Choco ? > Or: http://stackoverflow.com/questions/1916428

Re: [math] SimplexSolver - how to restrict solution to integer values?

2011-06-21 Thread luc . maisonobe
- "Michele Mazzucco" a écrit : Hi Michele, > Antonio, > > thanks for the quick answer. > Do you know any library/framework which could help me with that? Perhaps Choco ? best regards, Luc > > Cheers, > Michele > > > On Jun 21, 2011, at 5:46 PM

Re: [math] SimplexSolver - how to restrict solution to integer values?

2011-06-21 Thread Michele Mazzucco
Antonio, thanks for the quick answer. Do you know any library/framework which could help me with that? Cheers, Michele On Jun 21, 2011, at 5:46 PM, Antonio Petrelli wrote: > 2011/6/21 Michele Mazzucco > >> Hi all, >> >> I am trying to solve an optimization problem using the SimplexSolver. >

Re: [math] SimplexSolver - how to restrict solution to integer values?

2011-06-21 Thread Antonio Petrelli
2011/6/21 Michele Mazzucco > Hi all, > > I am trying to solve an optimization problem using the SimplexSolver. > The solution should be of type integer (e.g., which shoes and how many of > each type to buy?), not double: > > Best 4.462 at [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 6.561679790026248

[math] SimplexSolver - how to restrict solution to integer values?

2011-06-21 Thread Michele Mazzucco
Hi all, I am trying to solve an optimization problem using the SimplexSolver. The solution should be of type integer (e.g., which shoes and how many of each type to buy?), not double: Best 4.462 at [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 6.561679790026248] found in 2 iterations I am using th

Re: [SANSELAN] How to write GPS Altitude?

2011-06-21 Thread Damjan Jovanovic
Please create a bug on Jira and attach the patch, I will commit it. Thank you Damjan On Tue, Jun 21, 2011 at 4:28 PM, tonio09 wrote: > I've extended GPSInfo to read GPSImgDirection and GPSImgDirectionRef. Also, > I've changed the field length for these fields in TiffConstants. Now > Sanselan rea

Re: [SANSELAN] How to write GPS Altitude?

2011-06-21 Thread tonio09
I've extended GPSInfo to read GPSImgDirection and GPSImgDirectionRef. Also, I've changed the field length for these fields in TiffConstants. Now Sanselan reads and writes them fine. Does anyone want the code? Where can I submit a patch? -- View this message in context: http://apache-commons.68041

Re: [SANSELAN] How to write GPS Altitude?

2011-06-21 Thread tonio09
Ok, I figured out a way. Just change the field length to 1. It writes as normal. Then when you want to read, it takes a bit more code. Take a look at how it's done in TiffImageMetadata.getGPS() -- View this message in context: http://apache-commons.680414.n4.nabble.com/SANSELAN-How-to-write-GPS-A

Re: [SANSELAN] How to write GPS Altitude?

2011-06-21 Thread tonio09
I would need to write to GPSImgDescription but it won't let me because of the -1 field length ? :S -- View this message in context: http://apache-commons.680414.n4.nabble.com/SANSELAN-How-to-write-GPS-Altitude-tp1587685p3613803.html Sent from the Commons - User mailing list archive at Nabble.com.