Globally can be whatever you fancy! So, typically via malloc or new. Gecode is very liberal (it is not Mozart ;-) )
Cheers Christian -- Christian Schulte, www.ict.kth.se/~cschulte/ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Gutierrez Sent: Thursday, October 30, 2008 12:10 PM To: Christian Schulte Cc: [EMAIL PROTECTED] Subject: Re: [gecode-users] Reporting memory usage On Thu, Oct 30, 2008 at 12:01 PM, Christian Schulte <[EMAIL PROTECTED]> wrote: Hi, The only reason to allocate globally and not from a space is if the allocated entities are shared among several spaces. That's the case for complete set variables as they use BDDs that might indeed be shared across spaces. It is also our case, in which a graph variable is partially represented by a boost graph which is shared among spaces. If i understand you correctly there is a way to allocate memory from the space and another one to allocate memory from a "global" heap (still managed by gecode). Is this right?, or when you talk about allocate globally you mean allocate from the operating system?. Regards, Gustavo
_______________________________________________ Gecode users mailing list [EMAIL PROTECTED] https://www.gecode.org/mailman/listinfo/gecode-users