All Packages Class Hierarchy This Package Previous Next Index
Object | +----logic.BooleanTupleFactory
public BooleanTupleFactory()
public static void loadTuples(String tf, Algorithm_fewStars alg, Action action) throws PoorPerformanceException, InconsistentRulesException
For example, if tf is "TT**F", this method first generates an array of four non-star boolean Strings as follows:
0: "TTTTF" 1: "TTTFF" 2: "TTFTF" 3: "TTFFF"These four rows are thought of as a 2-d array; the 0th "column" in this example would be
T T T TIn order to fill in the '*'s with all possible T's and F's, we use the truthTable(..) method. NOTE: Error handling is not being done in case conversion fails for some reason.
All Packages Class Hierarchy This Package Previous Next Index