Research Article
A Transaction Traffic Control Approach Based on Fuzzy Logic to Improve Hyperledger Fabric Performance
Algorithm 1
Initialize fuzzy inference system method.
Input (Linguistic Variables, Variable Terms, Rules) | Begin | Describe a new fuzzy inference system | Initialize and add Linguistic Variables into the system | If the input variable is null, then | Initialize and add transaction throughput variable | Initialize and add transaction latency variable | Else | Throw an error | If the output variable is null, then | Initialize acceptance rate variable | Else | Throw an error | Describe Variable Terms for each variable | IfVariable Term is null | Describe term for transaction throughput variable | Describe term for transaction latency variable | Describe term for acceptance rate variable | Else | Throw an error | Describe Rules for each variable | IfRule is null | Describe each rule in the same order as listed in the term description | Else | Throw an error | End |
|