Completing the scripts with the latest devices and features.
[pingpong.git] / Code / Projects / PacketLevelSignatureExtractor / src / main / java / edu / uci / iotproject / SignatureGenerator.java
index 57e0a0e9ca2d4c5a07f6c49519d114837ddf16a2..bf456697dbb2079cf63312a855422ad6ea5fae08 100644 (file)
@@ -216,8 +216,8 @@ public class SignatureGenerator {
         int numberOfEventsPerType = triggerTimes.size() / 2;
         int lowerBound = numberOfEventsPerType - (int)(numberOfEventsPerType * 0.1);
         int upperBound = numberOfEventsPerType + (int)(numberOfEventsPerType * 0.1);
-        //int lowerBound = numberOfEventsPerType - (int)(numberOfEventsPerType * 0.5);
-        //int upperBound = numberOfEventsPerType + (int)(numberOfEventsPerType * 0.5);
+        //int lowerBound = numberOfEventsPerType - (int)(numberOfEventsPerType * 0.8);
+        //int upperBound = numberOfEventsPerType + (int)(numberOfEventsPerType * 0.8);
         int minPts = lowerBound;
         DBSCANClusterer<PcapPacketPair> onClusterer = new DBSCANClusterer<>(eps, minPts);
         List<Cluster<PcapPacketPair>> onClusters = onClusterer.cluster(onPairs);