A federal judge has certified a class of direct purchasers of the drug Provigil in their antitrust case against generic drug makers Ranbaxy Laboratories and Mylan Pharmaceuticals.