Commit Graph

36 Commits (bc094951ed674a8f7884aacedd0288814c8c6cfc)

Author SHA1 Message Date
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 9ef8980362 using static_cast in GenericValue's virtual functions
should be more efficient, but perhaps will crash instead of throwing an exception when the Value& derived class doesn't match.
2014-10-25 22:23:26 +02:00
Mike Bosse c2cdd21a7a added cast<ValueType> function to Value 2014-10-25 12:18:12 +02:00
Mike Bosse 4a3dc51f85 more tests work, except for serialization based tests 2014-10-24 23:47:02 +02:00
Mike Bosse 1fadda83e0 removed DerivedValue<> inheritence from classes 2014-10-24 18:34:06 +02:00
jing 96296333ae remove all LieVector(size_t m, ...), which doesn't check parameter's type and it's also dangerous 2014-01-23 18:35:29 -05:00
Richard Roberts ffd439d89a Added unit tests for Values::find, lower_bound, and upper_bound 2014-01-07 17:34:00 -05:00
Richard Roberts 880d9a8e3c Switched to new Eigen built-in special comma initializer 2013-12-16 21:33:12 +00:00
Richard Roberts b7fb8429bb Fixed some warnings 2013-11-21 15:09:46 +00:00
Richard Roberts 3c33e44c46 Fixed compile errors on windows 2013-10-29 04:24:14 +00:00
Jing Dong a71c258100 Fix Vector_() to Vec() in gtsam/nonlinear 2013-10-21 05:20:30 +00:00
Alex Cunningham 4b12d6f794 Moved Symbol and LabeledSymbol to inference as they are no longer specific to nonlinear optimization 2013-08-19 15:32:16 +00:00
Richard Roberts 09643929fd Making some tests compile 2013-08-05 22:31:26 +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 cc08659f7b Disabled print statements in unit test 2013-01-08 23:31:54 +00:00
Chris Beall 4297d24c96 changed tabs to spaces for consistent indentation in all of GTSAM 2012-10-02 14:40:07 +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 4a57ef65d7 Fixed memory leak when a Value contained heap-allocated data (Matrix, Vector, etc) - incorrect syntax when calling destructor did not do a virtual call so derived Value object was not cleaned up. 2012-08-17 03:45:35 +00:00
Frank Dellaert 8440939f27 Using symbol_shorthand instead of redundant kx, kl functions 2012-06-02 19:28:21 +00:00
Frank Dellaert a2512475c9 Symbol.h is now included just in time, no longer by default everywhere. 2012-06-02 19:05: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 1d0aaacbd6 Removed use of GTSAM_MAGIC_KEY for constructing Symbols from strings 2012-02-22 23:38:09 +00:00
Alex Cunningham 565185da02 Added cmake targets, expanded on the Values filtering test 2012-02-22 15:58:06 +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 3d40f5e6fc All unit tests pass with TypedSymbol removed 2012-02-07 04:58:11 +00:00
Richard Roberts 26cdf28421 Renamed DynamicValues to Values and removed specialized derived Values classes 2012-02-02 16:16:46 +00:00
Richard Roberts e0e3875ff9 Values and TupleValues throw error if attempting to insert the same key twice, also improved error handling with specific exception types. 2012-01-06 18:58:20 +00:00
Alex Cunningham 8bc83d4219 Changed -inl.h use with Values and TupleValues, removed instantiation macros for Values and TupleValues 2011-11-17 22:44:46 +00:00
Alex Cunningham 5798868ab7 Changed LieValues->Values. Did not change Values typedefs in slam domains, just adjusted namespaces 2011-11-06 19:08:42 +00:00