TruthTable.RandomGenerate
Back to table
/*
Logic-Function-Analysis
TruthTable.RandomGenerate
[TruthTable table]=TruthTable.RandomGenerate(int inputCount, int outputCount, bool withDontCare);
inputCount : the number of the input variables.
outputCount : the number of the output function.
withDontCare : true for ignoring some combination of the inputs.
Randomly generate a TruthTable.
*/
//-------------------------------------------------------------------
// examples
[table]=TruthTable.RandomGenerate(4,8,true);
Print(table);
//-------------------------------------------------------------------
// result
AndOr Binary ToBinary BinaryNumberToString Convert ToAndXor ToNotFunction ToTruthTable DigitalSystem Dimacs Eq ExcitationTable Imply logicvardef Minus MantissaToPositiveNumber PositiveDecimalToMantissa object PermutationMatrix Print To2LayerNor BestVariableOrder Full Shannon SimpleCover GetSubTable RandomGenerate Normalization var() Zero
The website is simply translated by using the Google Translate. Please inform us if you find the wrong/funny/weird translation.