Constraint-Based Frequent Pattern Mining