Journal Article

·2018 OPEN ACCESS

Application of majority voting and consensus voting algorithms in N-version software

Roman Tsarev , Mustafa Seçkin Durmuş , İlker Üstoğlu YTU , В.А. Морозов

Journal of Physics Conference Series

Abstract

N-version programming is one of the most common techniques which is used to improve the reliability of software by building in fault tolerance, redundancy and decreasing common cause failures. N different equivalent software versions are developed by N different and isolated workgroups by considering the same software specifications. The versions solve the same task and return results that have to be compared to determine the correct result. Decisions of N different versions are evaluated by a voting algorithm or the so-called voter. In this paper, two of the most commonly used software voting algorithms such as the majority voting algorithm and the consensus voting algorithm are studied. The distinctive features of Nversion programming with majority voting and N-version programming with consensus voting are described. These two algorithms make a decision about the correct result on the base of the agreement matrix. However, if the equivalence relation on the agreement matrix is not satisfied it is impossible to make a decision. It is shown that the agreement matrix can be transformed into an appropriate form by using the Boolean compositions when the equivalence relation is satisfied.

Keywords

Voting Computer science Algorithm Majority rule Software Equivalence (formal languages) Condorcet method Theoretical computer science Relation (database) Data mining Artificial intelligence Mathematics Programming language Discrete mathematics

Subject Areas

Software Reliability and Analysis Research ·Software ·Physical Sciences
Software Engineering Research ·Information Systems ·Physical Sciences
Software System Performance and Reliability ·Computer Networks and Communications ·Physical Sciences

Citations by Year

OpenAlex SDG Match

SDGs auto-classified by OpenAlex (score ≥ 0.4 shown).

Peace, Justice and strong institutions 75%