Skip to main content
Figure 4 | BMC Genomics

Figure 4

From: Haplotype inference from unphased SNP data in heterozygous polyploids based on SAT

Figure 4

Example of naive summation based on a ripple carry adder. The A variables are used for storing the accumulation of the sum. The A1, tvariables, with 1 ≤ t ≤ 3, are constrained to zero. Additionally, the Cl,1and the B variables, except the Bl,1variables, with 1 ≤ l ≤ 4, are also constrained to zero. The S variables are set to the binary representation of the required sum, e.g. if S = (1, 0, 0), the only satisfying assignment of Boolean values to the Bl,1variables is (1, 1, 1, 1). If S = (0, 1, 0), there are six satisfying assignments to the Bl,1variables, namely (1, 1, 0, 0), (1, 0, 1, 0), (1, 0, 0, 1), (0, 1, 0, 1), (0, 0, 1, 1) and (0, 1, 1, 0).

Back to article page