/* * CSP Project * Authors: * Jay Bernardo * Matt Rancourt * * File: TruthTable.java * * Contains the TruthTable class which represents truth * tables of arity 1 through 3 * * TODO: Update once class is complete */ abstract class TruthTable{ // The truth tables never change static int arity3[][] = { {0, 0, 0}, {0, 0, 1}, {0, 1, 0}, {0, 1, 1}, {1, 0, 0}, {1, 0, 1}, {1, 1, 0}, {1, 1, 1} }; static int arity2[][] = { {0,0}, {0,1}, {1,0}, {1,1} }; static int arity1[][] = { {0}, {1} }; }