iFogSim1
iFogSim1 copied to clipboard
About the example code - DCNSFog.java : Comment mistake should be fixed up.
In line 252: application.addTupleMapping("object_detector", "MOTION_VIDEO_STREAM", "DETECTED_OBJECT", new FractionalSelectivity(0.05)); // 0.05 tuples of type MOTION_VIDEO_STREAM are emitted by Object Detector module per incoming tuple of type MOTION_VIDEO_STREAM
should be corrected as
application.addTupleMapping("object_detector", "MOTION_VIDEO_STREAM", "DETECTED_OBJECT", new FractionalSelectivity(0.05)); // 0.05 tuples of type DETECTED_OBJECT are emitted by Object Detector module per incoming tuple of type MOTION_VIDEO_STREAM