All pastes #421973 Raw Edit

Plouj

public text v1 · immutable
·published 2007-04-03 04:51 UTC
rendered paste body
o Read input the number of FDs to be generated. This number should be
  provided as input by the user, via a textbox in your GUI, similar to the
  number of attributes.
o Upon knowing how many FDs are required, generate each FD as follows:
         Number of attributes per FD: minimum 2 attributes (one in LHS
         and one in RHS), maximum 50% of the total number of attributes.
         In order to decide the number of attributes for each FD, separately
         generate a random number between 2 and N, where N is 50% of
         the total number of attributes.