das-research/DAS/shape.py

22 lines
430 B
Python
Raw Normal View History

#!/bin/python3
class Shape:
2023-01-25 21:51:59 +01:00
run = 0
numberValidators = 0
blockSize = 0
2023-01-25 21:51:59 +01:00
failureRate = 0
netDegree = 0
chi = 0
2023-01-25 21:51:59 +01:00
def __init__(self, blockSize, numberValidators, failureRate, chi, netDegree, run):
self.run = run
self.numberValidators = numberValidators
self.blockSize = blockSize
2023-01-25 21:51:59 +01:00
self.failureRate = failureRate
self.netDegree = netDegree
self.chi = chi