LSDB Operation Complete - Refresh
diff --git a/nlsr_adjacent.cpp b/nlsr_adjacent.cpp
index c8821c1..8a1c048 100644
--- a/nlsr_adjacent.cpp
+++ b/nlsr_adjacent.cpp
@@ -1,5 +1,7 @@
 #include<iostream>
 #include<string>
+#include<cmath>
+#include<limits>
 
 #include "nlsr_adjacent.hpp"
 
@@ -13,6 +15,15 @@
 	interestTimedOutNo=iton;
 }
 
+bool 
+Adjacent::isAdjacentEqual(Adjacent& adj)
+{
+	return ( adjacentName == adj.getAdjacentName() ) && 
+	       ( connectingFace == adj.getConnectingFace() ) &&
+	       (std::abs(linkCost - adj.getLinkCost()) < 
+	                                    std::numeric_limits<double>::epsilon()) ;
+}
+
 std::ostream&
 operator << (std::ostream &os, Adjacent &adj){
 	cout<<"Adjacent : "<< adj.getAdjacentName()	<< endl;