[gecode-users] Adding IntActivity to space
Christian Schulte
cschulte at kth.se
Mon Feb 23 15:05:39 CET 2015
Hi Kish,
The activity value can be accessed by position. Suppose that you have
created
IntActivity a(home, x);
Then a[i] is the activity of the variable x[i].
When you display a class in the reference documentation then there is a link
named "View all members" which then displays all members including those
which are inherited.
Cheers
Christian
--
Christian Schulte, www.gecode.org/~schulte
Professor of Computer Science, KTH, cschulte at kth.se
Expert Researcher, SICS, cschulte at sics.se
-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Kish Shen
Sent: Saturday, February 21, 2015 6:04 AM
To: cschulte at kth.se; users at gecode.org
Subject: Re: [gecode-users] Adding IntActivity to space
Hi Christian,
I began implementing support for IntActivity outside of search engine, but I
am unable to find from the documentation how to obtain the activity value
for the variables in a IntActivity object. Is it possible to get these
values?
I am not able to find this information from the MPG, and the IntActivity
class reference documentation it points to, which seems to mainly describe
how to use IntActivity with a search engine and the reference documentation
describes only the init and = member functions.
A more general question: I seem to remember I ran into a similar problem
before, where not all the member functions for a class is described in one
place in the reference documentation. Is there anyway to find all the member
functions available for a class?
Thanks and Cheers,
Kish
_______________________________________________
Gecode users mailing list
users at gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users
More information about the users
mailing list