|
@@ -3,15 +3,6 @@ from random import randrange
|
|
|
from Attack.MembersMgmtCommAttack import MessageType
|
|
|
from Attack.MembersMgmtCommAttack import Message
|
|
|
|
|
|
-
|
|
|
-EPS_TOLERANCE = 1e-13
|
|
|
-
|
|
|
-def greater_than(a: float, b: float):
|
|
|
- """
|
|
|
- A greater than operator desgined to handle slight machine inprecision up to EPS_TOLERANCE.
|
|
|
- :return: True if a > b, otherwise False
|
|
|
- """
|
|
|
- return b - a < -EPS_TOLERANCE
|
|
|
|
|
|
class CommunicationProcessor():
|
|
|
"""
|