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





PermuteLogicFunction IsNegativeUnateFunctionTo IsSelfAntiDualFunction IsSelfDualFunction ToAndOr Binary BCDEx3 binary binaryioset() ToOrAnd ToTruthTable Dimacs Get long() long minterm Minus LeastSignificantDigit RadixFromIndex POS AutoAssignInputAndStateVariables Backwardly GetExcitationTable Implementation HuffmanMealy Canonical MultiCover TruthTable GetSubTable Zero

Search This Website :

 
Buy website traffic cheap