Added 5-Way and 6-Way key constructors supported by the base class

release/4.3a0
Stephen Williams 2012-06-21 19:29:01 +00:00
parent f5cd87129d
commit eab2496f6e
1 changed files with 12 additions and 0 deletions

View File

@ -98,6 +98,18 @@ namespace gtsam {
assertInvariants();
}
/** Construct 5-way factor */
IndexFactor(Index j1, Index j2, Index j3, Index j4, Index j5) :
Base(j1, j2, j3, j4, j5) {
assertInvariants();
}
/** Construct 6-way factor */
IndexFactor(Index j1, Index j2, Index j3, Index j4, Index j5, Index j6) :
Base(j1, j2, j3, j4, j5, j6) {
assertInvariants();
}
/// @}
/// @name Advanced Constructors
/// @{