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





IsCovering IsSelfDualFunction IsSymmetricFunction IsUnateFunctionTo Binary Convert ToTruthTable Diagram Dimacs Eq Count Get Load Nand Not MantissaToPositiveDecimal MantissaToPositiveNumber MostSignificantDigit RadixFromIndex Or Print To2LayerAndOr To2LayerNand ToFullAnd StateTransitionBasedly Implementation Compatibility GetDontCareLogicFunction EnlargeLogicFunction Zero

Search This Website :

 
Buy website traffic cheap