// Path: sequence-miner/src/main/java/sequencemining/sequence/Sequence.java
// public class Sequence extends AbstractSequence implements Serializable {
// 	private static final long serialVersionUID = -2766830126344921771L;
// 
// 	/**
// 	 * Constructor
// 	 */
// 	public Sequence() {
// 		this.items = new ArrayList<>();
// 	}
// 
// 	/**
// 	 * Shallow Copy Constructor
// 	 *
// 	 * @param seq
// 	 *            sequence to shallow copy
// 	 */
// 	public Sequence(final Sequence seq) {
// 		this.items = seq.items;
// 	}
// 
// 	/**
// 	 * Constructor
// 	 *
// 	 * @param items
// 	 *            a list of items that should be added to the new sequence
// 	 */
// 	public Sequence(final List<Integer> items) {
// 		this.items = new ArrayList<>(items);
// 	}
// 
// 	/**
// 	 * Constructor
// 	 *
// 	 * @param items
// 	 *            an array of items that should be added to the new sequence
// 	 */
// 	public Sequence(final Integer... items) {
// 		this.items = new ArrayList<>(Arrays.asList(items));
// 	}
// 
// 	/**
// 	 * Join Constructor
// 	 *
// 	 * @param seqs
// 	 *            two sequences that should be joined
// 	 */
// 	public Sequence(final Sequence seq1, final Sequence seq2) {
// 		this.items = new ArrayList<>(seq1.items);
// 		this.items.addAll(seq2.items);
// 	}
// 
// }


import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Random;
import org.apache.commons.io.LineIterator;
import org.apache.commons.math3.distribution.EnumeratedIntegerDistribution;
import org.apache.commons.math3.random.JDKRandomGenerator;
import org.apache.commons.math3.random.RandomGenerator;
import com.google.common.collect.HashMultiset;
import com.google.common.collect.Multiset;
import com.google.common.collect.Table;
import com.google.common.primitives.Doubles;
import com.google.common.primitives.Ints;
import sequencemining.sequence.Sequence;
package sequencemining.transaction;





public class TransactionGenerator {

	private static final boolean VERBOSE = false;

	/**
	 * Generate transactions from set of interesting sequences
	 *
	 * @return set of sequences added to transaction
	 */
// Path: sequence-miner/src/main/java/sequencemining/sequence/Sequence.java
// public class Sequence extends AbstractSequence implements Serializable {
// 	private static final long serialVersionUID = -2766830126344921771L;
// 
// 	/**
// 	 * Constructor
// 	 */
// 	public Sequence() {
// 		this.items = new ArrayList<>();
// 	}
// 
// 	/**
// 	 * Shallow Copy Constructor
// 	 *
// 	 * @param seq
// 	 *            sequence to shallow copy
// 	 */
// 	public Sequence(final Sequence seq) {
// 		this.items = seq.items;
// 	}
// 
// 	/**
// 	 * Constructor
// 	 *
// 	 * @param items
// 	 *            a list of items that should be added to the new sequence
// 	 */
// 	public Sequence(final List<Integer> items) {
// 		this.items = new ArrayList<>(items);
// 	}
// 
// 	/**
// 	 * Constructor
// 	 *
// 	 * @param items
// 	 *            an array of items that should be added to the new sequence
// 	 */
// 	public Sequence(final Integer... items) {
// 		this.items = new ArrayList<>(Arrays.asList(items));
// 	}
// 
// 	/**
// 	 * Join Constructor
// 	 *
// 	 * @param seqs
// 	 *            two sequences that should be joined
// 	 */
// 	public Sequence(final Sequence seq1, final Sequence seq2) {
// 		this.items = new ArrayList<>(seq1.items);
// 		this.items.addAll(seq2.items);
// 	}
// 
// }


// Path: sequence-miner/src/main/java/sequencemining/transaction/TransactionGenerator.java
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Random;
import org.apache.commons.io.LineIterator;
import org.apache.commons.math3.distribution.EnumeratedIntegerDistribution;
import org.apache.commons.math3.random.JDKRandomGenerator;
import org.apache.commons.math3.random.RandomGenerator;
import com.google.common.collect.HashMultiset;
import com.google.common.collect.Multiset;
import com.google.common.collect.Table;
import com.google.common.primitives.Doubles;
import com.google.common.primitives.Ints;
import sequencemining.sequence.Sequence;

package sequencemining.transaction;





public class TransactionGenerator {

	private static final boolean VERBOSE = false;

	/**
	 * Generate transactions from set of interesting sequences
	 *
	 * @return set of sequences added to transaction
	 */
	public static HashMap<Sequence, Double> generateTransactionDatabase(final Map<Sequence, Double> sequences,