[prev] 28 [next]

Assignment 2 (cont)

./gendata #tuples #attributes [startID] [seed]
  • generates #tuples tuples in a standard format, e.g.

    1234567,iuwhfkajewhkfjkwefbx,a3-101,a4-256,a5-013,...
    

  • first attribute is unique id
  • second attribute is 20-char random string (most likely unique)
  • rest are aN-DDD up to #attributes
  • attributes a3-DDD to aN-DDD are not unique
  • if no startID given, use 1000000;   if no seed given, use 0