satisfiabilityApplet.tauTautology
Class MajorityGateAlgorithmWithInts
java.lang.Object
satisfiabilityApplet.tauTautology.MajorityGateAlgorithmWithInts
- public class MajorityGateAlgorithmWithInts
- extends java.lang.Object
by Catherine Block
id# 6319
Date: Dec 6, 2004
Time: 4:40:01 PM
CS 180H
This is a test version just to see if I've coded the algorithm correctly
Output will be lpadded with zeros to the closest higher power of 2
Method Summary |
int[] |
addInputs(int[] inputArr,
int length)
Binary Adder using K_____________'s method |
static void |
main(java.lang.String[] arg)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MajorityGateAlgorithmWithInts
public MajorityGateAlgorithmWithInts()
addInputs
public int[] addInputs(int[] inputArr,
int length)
- Binary Adder using K_____________'s method
- Parameters:
inputArr
- length
-
- Returns:
main
public static void main(java.lang.String[] arg)