Commit Graph

61 Commits (ab76a306b7b2289e6f83665ba495ac0b048ab779)

Author SHA1 Message Date
Mike Bosse ab76a306b7 using dynamic_cast to check base class typeid 2014-10-28 08:54:41 +01:00
Mike Bosse bc094951ed all values in Values container are now a ChartValue<ValueType, Chart=DefaultChart<ValueType> >
ChartValues are GenericValues and a Chart, which defaults to DefaultChart
had to make charts functional (ie no storage of the chart origin) so that they could be zero sized base class
otherwise there would have been a double of the memory for values (ones for the value, and once for the chart origin, which default to the same)

most tests work, execept for serialization based stuff, and const filtering of values.
2014-10-28 00:57:44 +01:00
Mike Bosse 0681212084 GenericValue based on defined traits to replace DerivedValue, first implementation 2014-10-24 16:59:37 +02:00
Nathan Michael a84ba5c677 Moving ValueCloneAllocator to Values.h to address forward declared template argument issue. 2014-07-07 12:18:15 -04:00
Richard Roberts b7bfc42923 Added lower_bound and upper_bound functions to Values 2014-01-07 17:17:02 -05:00
Luca Carlone 4efdf497cd Added Values::tryInsert 2013-08-13 22:30:02 +00:00
Alex Cunningham b2b7b0b3f3 Fixing more compile problems: Switched BayesTree-inst.h function to use a functor struct rather than an address of a template function - seems to compile. Small include fixes elsewhere 2013-08-06 20:21:43 +00:00
Richard Roberts e39d100b6a Made most global unit tests compile, includes dogleg, iterative, kalman filter, etc 2013-08-06 13:44:22 +00:00
Richard Roberts c868056c22 Updating nonlinear factors, nonlinear factor graph, nonlinear optimizers, and LinearContainerFactor to work with unordered linear. Does not compile - needs more work. 2013-08-01 21:57:33 +00:00
Richard Roberts 3ade190128 Renamed old classes to "Ordered" and removed "Unordered" name from new classes 2013-07-29 23:55:40 +00:00
Richard Roberts d5e721a1d0 Continued work on unordered classes and elimination algorithm 2013-06-06 15:36:11 +00:00
Richard Roberts 547323cc79 Fixed a bunch of compiler warnings 2013-04-05 21:34:04 +00:00
Richard Roberts a54d177202 Added dll export tags and updated cmake scripts so that GTSAM can build as a shared library on windows 2013-03-13 18:56:21 +00:00
Richard Roberts 91f9f849ed Added find functions to Values 2013-03-08 19:33:25 +00:00
Chris Beall 4297d24c96 changed tabs to spaces for consistent indentation in all of GTSAM 2012-10-02 14:40:07 +00:00
Frank Dellaert aeb43bc8fc Used technique described in http://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html to turn off excessive warnings generated by boost lambda headers 2012-09-16 18:07:50 +00:00
Alex Cunningham 12290dc7b2 Added linearization points to LinearContainerFactor. Fixed bug with localCoordinates() in Values 2012-08-27 01:11:37 +00:00
Richard Roberts 1565833c2c More consistent order of private/protected/public - typedefs, private/protected variables, public interface, private/protected functions 2012-08-06 21:42:26 +00:00
Alex Cunningham 1d1fcecccf Added more functionality to interfaces to set/vector/list, moved typedefs to Key.h, added more matlab interfaces 2012-07-02 17:32:47 +00:00
Alex Cunningham 63b3b4ecea Added matlab interface to get indices out of Values structures. Added more matlab symbol functions. 2012-06-13 16:38:51 +00:00
Alex Cunningham 370be58adb Fixed compile problem in Values 2012-06-08 17:46:04 +00:00
Richard Roberts 498fb85360 Fixed typo 2012-06-08 17:32:08 +00:00
Richard Roberts a70a1bab58 Removed use of lambda from Values 2012-06-08 17:18:46 +00:00
Richard Roberts d83c4c390c Added non-const constructor from filtered 2012-06-05 21:31:27 +00:00
Richard Roberts 1b5b4d494e Simplified Values code by moving internal implementation to inline header file 2012-06-05 20:03:27 +00:00
Summit Patel 5bcb0de588 Fixed doxygen warnings. 2012-06-05 19:54:14 +00:00
Frank Dellaert 67892e59e0 fixed print/headers 2012-05-22 17:58:03 +00:00
Richard Roberts bd76692794 Removed inactive code 2012-05-15 00:01:34 +00:00
Richard Roberts 48e277a095 Added swap method to Values 2012-04-05 02:45:45 +00:00
Richard Roberts 46a1fb1103 Merge remote-tracking branch 'svn/trunk' into NLO
Conflicts:
	.cproject
2012-03-31 01:02:45 +00:00
Richard Roberts 13ce0e59f0 Added typedef for const shared_ptr 2012-03-22 17:46:39 +00:00
Richard Roberts 4c2581f40e In progress 2012-03-17 23:57:44 +00:00
Richard Roberts f80818cf3f Reworked Values filter to work with Boost 1.40 by using iterator adaptors instead of range adaptors, implementation is a bit ugly now with const_const_iterator. 2012-03-01 23:53:21 +00:00
Alex Cunningham 8eecb1b0b9 Comment about boost.range error on boost < 1.43 2012-02-29 18:38:38 +00:00
Alex Cunningham ef4393c598 Added at() to Values to get a Value base class reference 2012-02-28 19:21:34 +00:00
Richard Roberts c48a9431a0 Small comment cleanup 2012-02-28 16:59:38 +00:00
Richard Roberts 908f2ac561 Added conversion from Values::Filtered to Values::ConstFiltered and bug fix in Values::ConstFiltered 2012-02-28 16:53:19 +00:00
Alex Cunningham 25f1f25062 Added (inefficient) size() for Values Filtered Views 2012-02-28 03:51:22 +00:00
Alex Cunningham b5bb607a44 Added constructors to Values from filtered views 2012-02-27 21:05:05 +00:00
Richard Roberts ba5bb0298d Changed list back to FastList, accidently left from debugging 2012-02-26 01:50:32 +00:00
Richard Roberts 12775256c1 Fixed compile problem with gcc and bug fix in int key <-> Symbol encoding 2012-02-24 23:38:51 +00:00
Richard Roberts 84f5d87b52 Reworked Values filtering to use boost range, so much less code and simpler syntax 2012-02-24 16:45:48 +00:00
Richard Roberts 29d787a0ad Added Values filtering by key test and Value type 2012-02-21 22:18:39 +00:00
Richard Roberts a3797e3cdb Int keys with formatter objects, all unit tests pass 2012-02-21 00:53:35 +00:00
Richard Roberts 0592b71ac4 Switched Values, Ordering, and factors to int 'Key' instead of 'Symbol',
still more code changes required to compile
2012-02-19 01:02:07 +00:00
Richard Roberts 051c832737 Fixed compile errors with gcc 2012-02-13 19:09:00 +00:00
Richard Roberts 6a125ed5cb Added dim function and removed commented out code 2012-02-10 19:48:06 +00:00
Richard Roberts 3d40f5e6fc All unit tests pass with TypedSymbol removed 2012-02-07 04:58:11 +00:00
Richard Roberts eaa9e4d739 Continuing changes from templating NonlinearFactors on value instead of key 2012-02-06 23:32:59 +00:00
Richard Roberts b849fbec16 Fixed compilation errors 2012-02-03 22:23:41 +00:00