das-research/DAS/shape.py
2023-01-25 21:51:59 +01:00

22 lines
430 B
Python

#!/bin/python3
class Shape:
run = 0
numberValidators = 0
blockSize = 0
failureRate = 0
netDegree = 0
chi = 0
def __init__(self, blockSize, numberValidators, failureRate, chi, netDegree, run):
self.run = run
self.numberValidators = numberValidators
self.blockSize = blockSize
self.failureRate = failureRate
self.netDegree = netDegree
self.chi = chi