lsa: define CoordinateLsa operator==
getCorRadius, setCorRadius, getCorTheta, setCorTheta methods are
renamed, in accordance with ndn-cxx code style recommendations.
refs #4094
Change-Id: Iaf3ebf3b895d6dc351b2f754e4a9c65713bdca3a
diff --git a/src/route/routing-table-calculator.cpp b/src/route/routing-table-calculator.cpp
index 474604a..e65f5c0 100644
--- a/src/route/routing-table-calculator.cpp
+++ b/src/route/routing-table-calculator.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2023, The University of Memphis,
+ * Copyright (c) 2014-2024, The University of Memphis,
* Regents of the University of California,
* Arizona Board of Regents.
*
@@ -496,11 +496,11 @@
return UNKNOWN_DISTANCE;
}
- std::vector<double> srcTheta = srcLsa->getCorTheta();
- std::vector<double> destTheta = destLsa->getCorTheta();
+ std::vector<double> srcTheta = srcLsa->getTheta();
+ std::vector<double> destTheta = destLsa->getTheta();
- double srcRadius = srcLsa->getCorRadius();
- double destRadius = destLsa->getCorRadius();
+ double srcRadius = srcLsa->getRadius();
+ double destRadius = destLsa->getRadius();
double diffTheta = calculateAngularDistance(srcTheta, destTheta);