--
----------------------------------------
Ceres Solver Google Group
http://groups.google.com/group/ceres-solver?hl=en?hl=en
Hi Sameer,
I don't see how callbacks are going to help with the core issue, which is
that my "CostFunction" is not callable from C++. I was asking about
"turning the interface inside out". I want Ceres to run until it needs me
to compute something, describing what it needs computed and where it wants
the results to go, and letting me do it (using python code, in my case).
In other words, I want to wrap Ceres, I don't want Ceres to wrap me.
--dstn
On Fri, 27 Apr 2012, Sameer Agarwal wrote:
> Hi Dustin,
> Have a look at include/ceres/iteration_callback.h which allows you to define instances of the IterationCallback
> interface which are executed every iteration. Using the return value from this object you can control the execution
Hi Sameer,
I don't see how callbacks are going to help with the core issue, which is that my "CostFunction" is not callable from C++. I was asking about "turning the interface inside out". I want Ceres to run until it needs me to compute something, describing what it needs computed and where it wants the results to go, and letting me do it (using python code, in my case). In other words, I want to wrap Ceres, I don't want Ceres to wrap me.
--dstn
On Fri, 27 Apr 2012, Sameer Agarwal wrote:
Hi Dustin,
Have a look at include/ceres/iteration_callback.h which allows you to define instances of the IterationCallback
interface which are executed every iteration. Using the return value from this object you can control the execution