Skip to content

Commit

Permalink
Remove local changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ProfFan committed May 29, 2024
1 parent 02784de commit 6f408fe
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions gtsam/linear/linear.i
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ virtual class Huber: gtsam::noiseModel::mEstimator::Base {
};

virtual class Cauchy: gtsam::noiseModel::mEstimator::Base {
Cauchy(double k);
Cauchy(double k, gtsam::noiseModel::mEstimator::Base::ReweightScheme reweight);
static gtsam::noiseModel::mEstimator::Cauchy* Create(double k);

Expand All @@ -138,6 +139,7 @@ virtual class Cauchy: gtsam::noiseModel::mEstimator::Base {
};

virtual class Tukey: gtsam::noiseModel::mEstimator::Base {
Tukey(double k);
Tukey(double k, gtsam::noiseModel::mEstimator::Base::ReweightScheme reweight);
static gtsam::noiseModel::mEstimator::Tukey* Create(double k);

Expand All @@ -149,6 +151,7 @@ virtual class Tukey: gtsam::noiseModel::mEstimator::Base {
};

virtual class Welsch: gtsam::noiseModel::mEstimator::Base {
Welsch(double k);
Welsch(double k, gtsam::noiseModel::mEstimator::Base::ReweightScheme reweight);
static gtsam::noiseModel::mEstimator::Welsch* Create(double k);

Expand All @@ -160,6 +163,7 @@ virtual class Welsch: gtsam::noiseModel::mEstimator::Base {
};

virtual class GemanMcClure: gtsam::noiseModel::mEstimator::Base {
GemanMcClure(double c);
GemanMcClure(double c, gtsam::noiseModel::mEstimator::Base::ReweightScheme reweight);
static gtsam::noiseModel::mEstimator::GemanMcClure* Create(double c);

Expand All @@ -171,6 +175,7 @@ virtual class GemanMcClure: gtsam::noiseModel::mEstimator::Base {
};

virtual class DCS: gtsam::noiseModel::mEstimator::Base {
DCS(double c);
DCS(double c, gtsam::noiseModel::mEstimator::Base::ReweightScheme reweight);
static gtsam::noiseModel::mEstimator::DCS* Create(double c);

Expand All @@ -182,6 +187,7 @@ virtual class DCS: gtsam::noiseModel::mEstimator::Base {
};

virtual class L2WithDeadZone: gtsam::noiseModel::mEstimator::Base {
L2WithDeadZone(double k);
L2WithDeadZone(double k, gtsam::noiseModel::mEstimator::Base::ReweightScheme reweight);
static gtsam::noiseModel::mEstimator::L2WithDeadZone* Create(double k);

Expand All @@ -193,6 +199,7 @@ virtual class L2WithDeadZone: gtsam::noiseModel::mEstimator::Base {
};

virtual class AsymmetricTukey: gtsam::noiseModel::mEstimator::Base {
AsymmetricTukey(double k);
AsymmetricTukey(double k, gtsam::noiseModel::mEstimator::Base::ReweightScheme reweight);
static gtsam::noiseModel::mEstimator::AsymmetricTukey* Create(double k);

Expand All @@ -204,6 +211,7 @@ virtual class AsymmetricTukey: gtsam::noiseModel::mEstimator::Base {
};

virtual class AsymmetricCauchy: gtsam::noiseModel::mEstimator::Base {
AsymmetricCauchy(double k);
AsymmetricCauchy(double k, gtsam::noiseModel::mEstimator::Base::ReweightScheme reweight);
static gtsam::noiseModel::mEstimator::AsymmetricCauchy* Create(double k);

Expand All @@ -214,17 +222,6 @@ virtual class AsymmetricCauchy: gtsam::noiseModel::mEstimator::Base {
double loss(double error) const;
};

virtual class TwoSidedHuberCauchy: gtsam::noiseModel::mEstimator::Base {
TwoSidedHuberCauchy(double k, double k_huber, gtsam::noiseModel::mEstimator::Base::ReweightScheme reweight);
static gtsam::noiseModel::mEstimator::TwoSidedHuberCauchy* Create(double k);

// enabling serialization functionality
void serializable() const;

double weight(double error) const;
double loss(double error) const;
};

virtual class Custom: gtsam::noiseModel::mEstimator::Base {
Custom(gtsam::noiseModel::mEstimator::CustomWeightFunction weight,
gtsam::noiseModel::mEstimator::CustomLossFunction loss,
Expand Down

0 comments on commit 6f408fe

Please sign in to comment.