commit | f408f89e8b024ed97b33c7226b0ce48efd42408f | [log] [tgz] |
---|---|---|
author | Mike Vitus <vitus@google.com> | Thu Feb 22 10:28:39 2018 -0800 |
committer | Mike Vitus <vitus@google.com> | Mon Feb 26 10:37:53 2018 -0800 |
tree | 3fff1e7fc6c63777d7821c26feec5ee48e873b51 | |
parent | f217ccfb6946d8b8f1a9aff1061213f153f65f78 [diff] |
Adds a Ceres Context structure. A Ceres Context holds common global state that can be re-used within Ceres. The Context current contains a thread pool if compiling with C++11 threading support. Threads are expensive to create and destroy so it is good to maintain across multiple Ceres solves. Tested by compiling with and without TBB support and ran unit tests. Ran bazel as well. Change-Id: I82f598dfae642aa0e81a6039dc174608a5e8dbfb
Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. It is a feature rich, mature and performant library which has been used in production at Google since 2010. Ceres Solver can solve two kinds of problems.
Please see ceres-solver.org for more information.
Ceres development happens on Gerrit, including both repository hosting and code reviews. The GitHub Repository is a continuously updated mirror which is primarily meant for issue tracking. Please see our Contributing to Ceres Guide for more details.
The upstream Gerrit repository is
https://ceres-solver.googlesource.com/ceres-solver