CSIT-1110: Prepare for migrating the new detection 35/13035/3
authorVratko Polak <vrpolak@cisco.com>
Wed, 13 Jun 2018 11:04:01 +0000 (13:04 +0200)
committerTibor Frank <tifrank@cisco.com>
Fri, 15 Jun 2018 10:16:43 +0000 (10:16 +0000)
commita2a0ab1cdec3567dcad46c2000337707777aa0ca
tree8d6147d2fda535c5c32c432a4ea7f3ec3124c8d9
parent5120b1082aa70f6e75511e9d95a2a7c303e25f9a
CSIT-1110: Prepare for migrating the new detection

+ Do not declare BitCountingClassifier.classify() as class method.
+ Make BitCountingGroupList subclass of list.
+ Inherit from abstract classes whenever possible.
+ Drop unneeded imports.
+ Add module docstrings and class docstrings anywhere.
+ Add TODOs hinting at possible improvements.

Change-Id: Iccfff5c0e7be0607d6cfa74314083fcfe5a4d7d9
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
13 files changed:
resources/tools/presentation/new/jumpavg/AbstractGroupClassifier.py
resources/tools/presentation/new/jumpavg/AbstractGroupMetadata.py
resources/tools/presentation/new/jumpavg/AvgStdevMetadata.py
resources/tools/presentation/new/jumpavg/AvgStdevMetadataFactory.py
resources/tools/presentation/new/jumpavg/BitCountingClassifier.py
resources/tools/presentation/new/jumpavg/BitCountingGroup.py
resources/tools/presentation/new/jumpavg/BitCountingGroupList.py
resources/tools/presentation/new/jumpavg/BitCountingMetadata.py
resources/tools/presentation/new/jumpavg/BitCountingMetadataFactory.py
resources/tools/presentation/new/jumpavg/ClassifiedBitCountingMetadata.py
resources/tools/presentation/new/jumpavg/ClassifiedMetadataFactory.py
resources/tools/presentation/new/jumpavg/RunGroup.py
resources/tools/presentation/new/utils.py

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.