Hi David,

the stop object can only be registered through the search options, see section 
9.4 in "Modeling and Programming with Gecode".

Cheers,
        Guido

Zaremby, David wrote:

> Community,
>  
> I am looking for a hook in the minimize script setup where I can set my 
> custom stop function that triggers off of user input. Is there a way to set 
> the search option for a custom stop function when using  a minimize script? 
> The only way I see to set search options is with the definition below but 
> that seems to be the incorrect function because it assumes a string value. If 
> there is no way to do it via a script I suppose I will need to replace my 
> script with an engine that defines the compare function for the cost. If 
> anyone has an example that might be useful.
>  
>  
> void 
> search (int v, const char *o, const char *h=NULL)
>  
> Add search option value for value v, string o, and help h.
>  
> Thanks,
>  
> David Zaremby
> Senior Software Engineer
> LSS / Strategic Products
>  
> Lockheed Martin Simulation, Training & Support
> 12506 Lake Underhill Road, MP-823
> Orlando, FL 32825
> _______________________________________________
> Gecode users mailing list
> [email protected]
> https://www.gecode.org/mailman/listinfo/gecode-users

-- 
Guido Tack, http://people.cs.kuleuven.be/~guido.tack/




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

Reply via email to