bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnowl...@apache.org
Subject [20/23] bigtop git commit: BIGTOP-1983. Move BigPetStore data generator to bigtop-data-generators
Date Tue, 25 Aug 2015 13:48:20 GMT
http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/store/StoreSampler.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/store/StoreSampler.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/store/StoreSampler.java
deleted file mode 100644
index d118611..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/store/StoreSampler.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.store;
-
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.Store;
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.inputs.ZipcodeRecord;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.Sampler;
-
-public class StoreSampler implements Sampler<Store>
-{
-
-	private final Sampler<ZipcodeRecord> locationSampler;
-	private final Sampler<Integer> idSampler;
-	
-	public StoreSampler(Sampler<Integer> idSampler, Sampler<ZipcodeRecord> locationSampler)
-	{
-		this.locationSampler = locationSampler;
-		this.idSampler = idSampler;
-	}
-	
-	public Store sample() throws Exception
-	{
-		Integer id = idSampler.sample();
-		String name = "Store_" + id;
-		ZipcodeRecord location = locationSampler.sample();
-		
-		Store store = new Store(id, name, location);
-		
-		return store;
-	}
-	
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/store/StoreSamplerBuilder.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/store/StoreSamplerBuilder.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/store/StoreSamplerBuilder.java
deleted file mode 100644
index 68e4e57..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/store/StoreSamplerBuilder.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.store;
-
-import java.util.List;
-
-import org.apache.bigtop.bigpetstore.datagenerator.Constants;
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.Store;
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.inputs.ZipcodeRecord;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.SeedFactory;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.pdfs.JointPDF;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.pdfs.ProbabilityDensityFunction;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.RouletteWheelSampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.Sampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.SequenceSampler;
-
-public class StoreSamplerBuilder
-{
-	private final List<ZipcodeRecord> zipcodeTable;
-	private final SeedFactory seedFactory;
-	
-	public StoreSamplerBuilder(List<ZipcodeRecord> zipcodeTable, SeedFactory seedFactory)
-	{
-		this.zipcodeTable = zipcodeTable;
-		this.seedFactory = seedFactory;
-	}
-	
-	public Sampler<Store> build()
-	{
-		Sampler<Integer> idSampler = new SequenceSampler();
-		
-		ProbabilityDensityFunction<ZipcodeRecord> locationPopulationPDF = 
-				new StoreLocationPopulationPDF(zipcodeTable);
-		ProbabilityDensityFunction<ZipcodeRecord> locationIncomePDF = 
-				new StoreLocationIncomePDF(zipcodeTable, Constants.INCOME_SCALING_FACTOR);
-		ProbabilityDensityFunction<ZipcodeRecord> locationJointPDF = 
-				new JointPDF<ZipcodeRecord>(zipcodeTable, locationPopulationPDF, locationIncomePDF);
-		
-		Sampler<ZipcodeRecord> locationSampler = RouletteWheelSampler.create(zipcodeTable, locationJointPDF, seedFactory);
-		
-		return new StoreSampler(idSampler, locationSampler);
-	}
-	
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CategoryWeightFunction.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CategoryWeightFunction.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CategoryWeightFunction.java
deleted file mode 100644
index 09b7327..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CategoryWeightFunction.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import org.apache.bigtop.bigpetstore.datagenerator.framework.pdfs.ExponentialPDF;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.pdfs.ProbabilityDensityFunction;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.wfs.ConditionalWeightFunction;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.wfs.WeightFunction;
-
-public class CategoryWeightFunction implements ConditionalWeightFunction<Double, Double>
-{
-	private final ProbabilityDensityFunction<Double> pdf;
-	
-	public CategoryWeightFunction(double averagePurchaseTriggerTime)
-	{
-		double lambda = 1.0 / averagePurchaseTriggerTime;
-		pdf = new ExponentialPDF(lambda);
-	}
-	
-	@Override
-	public double weight(Double exhaustionTime, Double transactionTime)
-	{
-		double remainingTime = Math.max(0.0, exhaustionTime - transactionTime);
-		return pdf.probability(remainingTime);
-	}
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerInventory.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerInventory.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerInventory.java
deleted file mode 100644
index f0f538a..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerInventory.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import java.util.Map;
-
-import org.apache.bigtop.bigpetstore.datagenerator.Constants;
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.Product;
-
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.Maps;
-
-public class CustomerInventory
-{
-	final private ImmutableMap<String, ProductCategoryInventory> productCategoryInventories;
-	
-	public CustomerInventory(Map<String, ProductCategoryInventory> productCategoryInventories)
-	{
-		this.productCategoryInventories = ImmutableMap.copyOf(productCategoryInventories);
-	}
-	
-	public void simulatePurchase(double time, Product product) throws Exception
-	{
-		String category = product.getFieldValueAsString(Constants.PRODUCT_CATEGORY);
-		ProductCategoryInventory inventory = productCategoryInventories.get(category);
-		inventory.simulatePurchase(time, product);
-	}
-	
-	public ImmutableMap<String, Double> getInventoryAmounts(double time)
-	{
-		Map<String, Double> amounts = Maps.newHashMap();
-		for(String category : productCategoryInventories.keySet())
-		{
-			double amount = productCategoryInventories.get(category).findRemainingAmount(time);
-			amounts.put(category, amount);
-		}
-		
-		return ImmutableMap.copyOf(amounts);
-	}
-	
-	public ImmutableMap<String, Double> getExhaustionTimes()
-	{
-		Map<String, Double> times = Maps.newHashMap();
-		for(String category : productCategoryInventories.keySet())
-		{
-			double time = productCategoryInventories.get(category).findExhaustionTime();
-			times.put(category, time);
-		}
-		
-		return ImmutableMap.copyOf(times);
-	}
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerInventoryBuilder.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerInventoryBuilder.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerInventoryBuilder.java
deleted file mode 100644
index 80ed944..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerInventoryBuilder.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import java.util.Collection;
-import java.util.List;
-import java.util.Map;
-
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.inputs.ProductCategory;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.SeedFactory;
-
-import com.google.common.collect.Lists;
-import com.google.common.collect.Maps;
-
-public class CustomerInventoryBuilder
-{
-	final private List<ProductCategory> productCategories;
-	final private SeedFactory seedFactory;
-	final private CustomerTransactionParameters parameters;
-	
-	public CustomerInventoryBuilder(CustomerTransactionParameters parameters,
-			SeedFactory seedFactory)
-	{
-		productCategories = Lists.newArrayList();
-		this.seedFactory = seedFactory;
-		this.parameters = parameters;
-	}
-	
-	public void addProductCategory(ProductCategory productCategory)
-	{
-		this.productCategories.add(productCategory);
-	}
-	
-	public void addAllProductCategories(Collection<ProductCategory> productCategories)
-	{
-		this.productCategories.addAll(productCategories);
-	}
-	
-	public CustomerInventory build()
-	{
-		Map<String, ProductCategoryInventory> inventories = Maps.newHashMap();
-		for(ProductCategory productCategory : productCategories)
-		{
-			if(parameters.countPetsBySpecies(productCategory.getApplicableSpecies()) > 0)
-			{
-				ProductCategoryInventory inventory = new ProductCategoryInventory(productCategory,
-					parameters, seedFactory);
-				inventories.put(productCategory.getCategoryLabel(), inventory);
-			}
-		}
-		
-		return new CustomerInventory(inventories);
-	}
-}
-
-

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParameters.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParameters.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParameters.java
deleted file mode 100644
index 9267635..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParameters.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import java.util.Collection;
-import java.util.Set;
-
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.PetSpecies;
-
-import com.google.common.collect.ImmutableMultiset;
-import com.google.common.collect.Multiset;
-import com.google.common.collect.Sets;
-
-public class CustomerTransactionParameters
-{
-	final ImmutableMultiset<PetSpecies> petCounts;
-	final double averageTransactionTriggerTime;
-	final double averagePurchaseTriggerTime;
-	
-	public CustomerTransactionParameters(Multiset<PetSpecies> petCounts,
-			double averageTransactionTriggerTime, double averagePurchaseTriggerTime)
-	{
-		this.petCounts = ImmutableMultiset.copyOf(petCounts);
-		this.averageTransactionTriggerTime = averageTransactionTriggerTime;
-		this.averagePurchaseTriggerTime = averagePurchaseTriggerTime;
-	}
-
-	public double getAverageTransactionTriggerTime()
-	{
-		return averageTransactionTriggerTime;
-	}
-
-	public double getAveragePurchaseTriggerTime()
-	{
-		return averagePurchaseTriggerTime;
-	}
-	
-	public int countPetsBySpecies(PetSpecies species)
-	{
-		return petCounts.count(species);
-	}
-	
-	public int countPetsBySpecies(Collection<PetSpecies> allSpecies)
-	{
-		int count = 0;
-		Set<PetSpecies> speciesSet = Sets.newHashSet(allSpecies);
-		for(PetSpecies species : speciesSet)
-		{
-			count += countPetsBySpecies(species);
-		}
-		
-		return count;
-	}
-	
-	public int countPets()
-	{
-		return petCounts.size();
-	}
-	
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParametersBuilder.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParametersBuilder.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParametersBuilder.java
deleted file mode 100644
index 9adfa4c..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParametersBuilder.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.PetSpecies;
-
-import com.google.common.collect.HashMultiset;
-import com.google.common.collect.Multiset;
-
-public class CustomerTransactionParametersBuilder
-{
-	private Multiset<PetSpecies> petCounts;
-	private double averageTransactionTriggerTime;
-	private double averagePurchaseTriggerTime;
-	
-	public CustomerTransactionParametersBuilder()
-	{
-		this.petCounts = HashMultiset.create();
-		this.averagePurchaseTriggerTime = 0.0;
-		this.averageTransactionTriggerTime = 0.0;
-	}
-	
-	public void addPet(PetSpecies species)
-	{
-		this.petCounts.add(species);
-	}
-
-	public void setAverageTransactionTriggerTime(
-			double averageTransactionTriggerTime)
-	{
-		this.averageTransactionTriggerTime = averageTransactionTriggerTime;
-	}
-
-	public void setAveragePurchaseTriggerTime(double averagePurchaseTriggerTime)
-	{
-		this.averagePurchaseTriggerTime = averagePurchaseTriggerTime;
-	}
-	
-	public CustomerTransactionParameters build()
-	{
-		return new CustomerTransactionParameters(this.petCounts,
-				this.averageTransactionTriggerTime,
-				this.averagePurchaseTriggerTime);
-	}
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParametersSampler.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParametersSampler.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParametersSampler.java
deleted file mode 100644
index 8495fd9..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParametersSampler.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.PetSpecies;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.Sampler;
-
-public class CustomerTransactionParametersSampler implements Sampler<CustomerTransactionParameters>
-{
-	final private Sampler<Integer> nPetsSampler;
-	final private Sampler<PetSpecies> petSpeciesSampler;
-	final private Sampler<Double> purchaseTriggerTimeSampler;
-	final private Sampler<Double> transactionTriggerTimeSampler;
-
-	public CustomerTransactionParametersSampler(Sampler<Integer> nPetsSampler,
-			Sampler<PetSpecies> petSpeciesSampler, 
-			Sampler<Double> purchaseTriggerTimeSampler,
-			Sampler<Double> transactionTriggerTimeSampler)
-	{
-
-		this.nPetsSampler = nPetsSampler;
-		this.petSpeciesSampler = petSpeciesSampler;
-		this.purchaseTriggerTimeSampler = purchaseTriggerTimeSampler;
-		this.transactionTriggerTimeSampler = transactionTriggerTimeSampler;
-	}
-	
-	protected void generatePets(CustomerTransactionParametersBuilder builder) throws Exception
-	{
-		int nPets = this.nPetsSampler.sample();
-		
-		for(int i = 0; i < nPets; i++)
-		{
-			PetSpecies species = this.petSpeciesSampler.sample();
-			builder.addPet(species);	
-		}
-	}
-	
-	public CustomerTransactionParameters sample() throws Exception
-	{
-		CustomerTransactionParametersBuilder builder = new CustomerTransactionParametersBuilder();
-		
-		this.generatePets(builder);
-		builder.setAveragePurchaseTriggerTime(this.purchaseTriggerTimeSampler.sample());
-		builder.setAverageTransactionTriggerTime(this.transactionTriggerTimeSampler.sample());
-		
-		return builder.build();
-	}
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParametersSamplerBuilder.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParametersSamplerBuilder.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParametersSamplerBuilder.java
deleted file mode 100644
index 249a456..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/CustomerTransactionParametersSamplerBuilder.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import java.util.Arrays;
-
-import org.apache.bigtop.bigpetstore.datagenerator.Constants;
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.PetSpecies;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.SeedFactory;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.BoundedMultiModalGaussianSampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.RouletteWheelSampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.Sampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.UniformIntSampler;
-
-public class CustomerTransactionParametersSamplerBuilder
-{
-	final private SeedFactory seedFactory;
-
-	public CustomerTransactionParametersSamplerBuilder(SeedFactory seedFactory)
-	{
-		this.seedFactory = seedFactory;
-	}
-	
-	public Sampler<CustomerTransactionParameters> build()
-	{
-		Sampler<Integer> nPetsSampler = new UniformIntSampler(Constants.MIN_PETS, Constants.MAX_PETS, seedFactory);
-		
-		Sampler<PetSpecies> petSpeciesSampler = RouletteWheelSampler.createUniform(Arrays.asList(PetSpecies.values()), seedFactory);
-		
-		Sampler<Double> transactionTriggerTimeSampler = new BoundedMultiModalGaussianSampler(Constants.TRANSACTION_TRIGGER_TIME_GAUSSIANS,
-					Constants.TRANSACTION_TRIGGER_TIME_MIN, Constants.TRANSACTION_TRIGGER_TIME_MAX,
-					seedFactory);
-		
-		Sampler<Double> purchaseTriggerTimeSampler = new BoundedMultiModalGaussianSampler(Constants.PURCHASE_TRIGGER_TIME_GAUSSIANS,
-				Constants.PURCHASE_TRIGGER_TIME_MIN, Constants.PURCHASE_TRIGGER_TIME_MAX,
-				seedFactory);
-		
-		return new CustomerTransactionParametersSampler(nPetsSampler, petSpeciesSampler,
-				transactionTriggerTimeSampler, purchaseTriggerTimeSampler);
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProductCategoryInventory.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProductCategoryInventory.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProductCategoryInventory.java
deleted file mode 100644
index 8d43b82..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProductCategoryInventory.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import org.apache.bigtop.bigpetstore.datagenerator.Constants;
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.Product;
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.inputs.ProductCategory;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.SeedFactory;
-
-public class ProductCategoryInventory
-{	
-	private ProductCategoryUsageTrajectory trajectory;
-	private ProductCategoryUsageSimulator simulator;
-	
-	public ProductCategoryInventory(ProductCategory productCategory, CustomerTransactionParameters parameters,
-			SeedFactory seedFactory)
-	{
-		
-		double amountUsedAverage = productCategory.getBaseAmountUsedAverage() * parameters.countPetsBySpecies(productCategory.getApplicableSpecies());
-		double amountUsedVariance = productCategory.getBaseAmountUsedVariance() * parameters.countPetsBySpecies(productCategory.getApplicableSpecies());		
-		
-		trajectory = new ProductCategoryUsageTrajectory(0.0, 0.0);
-		simulator = new ProductCategoryUsageSimulator(productCategory.getDailyUsageRate(),
-				amountUsedAverage, amountUsedVariance, seedFactory);
-	}
-	
-	public void simulatePurchase(double time, Product product) throws Exception
-	{
-		double amountPurchased = product.getFieldValueAsDouble(Constants.PRODUCT_QUANTITY);
-		
-		double amountRemainingBeforePurchase = trajectory.amountAtTime(time);
-		
-		trajectory = simulator.simulate(time, amountRemainingBeforePurchase + amountPurchased);
-	}
-	
-	public double findExhaustionTime()
-	{
-		return trajectory.getLastTime();
-	}
-	
-	public double findRemainingAmount(double time)
-	{
-		return trajectory.amountAtTime(time);
-	}
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProductCategoryUsageSimulator.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProductCategoryUsageSimulator.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProductCategoryUsageSimulator.java
deleted file mode 100644
index b09d395..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProductCategoryUsageSimulator.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import org.apache.bigtop.bigpetstore.datagenerator.framework.SeedFactory;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.ExponentialSampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.GaussianSampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.Sampler;
-
-public class ProductCategoryUsageSimulator
-{
-	final private double amountUsedAverage;
-	final private double amountUsedVariance;
-	
-	final private Sampler<Double> timestepSampler;
-	final private Sampler<Double> R;
-	
-	public ProductCategoryUsageSimulator(double dailyUsageRate, double amountUsedAverage,
-			double amountUsedVariance, SeedFactory seedFactory)
-	{
-		this.amountUsedAverage = amountUsedAverage;
-		this.amountUsedVariance = amountUsedVariance;
-		
-		timestepSampler = new ExponentialSampler(dailyUsageRate, seedFactory);
-		R = new GaussianSampler(0.0, 1.0, seedFactory);
-	}
-	
-	private void step(ProductCategoryUsageTrajectory trajectory) throws Exception
-	{
-		// given in days since last usage
-		double timestep = timestepSampler.sample();
-		
-		double r = R.sample();
-		
-		// given in units per day
-		double usageAmount = this.amountUsedAverage * timestep + 
-				Math.sqrt(this.amountUsedVariance * timestep) * r;
-		
-		// can't use a negative amount
-		usageAmount = Math.max(usageAmount, 0.0);
-		
-		double remainingAmount = Math.max(0.0, trajectory.getLastAmount() - usageAmount);
-		double time = trajectory.getLastTime() + timestep;
-		
-		trajectory.append(time, remainingAmount);
-	}
-	
-	public ProductCategoryUsageTrajectory simulate(double initialTime, double initialAmount) throws Exception
-	{
-		ProductCategoryUsageTrajectory trajectory = new ProductCategoryUsageTrajectory(initialTime, initialAmount);
-		
-		while(trajectory.getLastAmount() > 0.0)
-		{
-			step(trajectory);
-		}
-		
-		return trajectory;
-	}
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProductCategoryUsageTrajectory.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProductCategoryUsageTrajectory.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProductCategoryUsageTrajectory.java
deleted file mode 100644
index f3c20c7..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProductCategoryUsageTrajectory.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import java.util.List;
-
-import org.apache.commons.lang3.tuple.Pair;
-
-import com.google.common.collect.Lists;
-
-public class ProductCategoryUsageTrajectory
-{
-	final private List<Pair<Double, Double>> trajectory;
-	
-	public ProductCategoryUsageTrajectory(double initialTime, double initialAmount)
-	{
-		trajectory = Lists.newArrayList();
-		this.append(initialTime, initialAmount);
-	}
-	
-	public void append(double time, double amount)
-	{
-		trajectory.add(Pair.of(time, amount));
-	}
-	
-	public double getLastAmount()
-	{
-		return trajectory.get(trajectory.size() - 1).getValue();
-	}
-	
-	public double getLastTime()
-	{
-		return trajectory.get(trajectory.size() - 1).getKey();
-	}
-	
-	public double amountAtTime(double time)
-	{
-		Pair<Double, Double> previous = null;
-		for(Pair<Double, Double> entry : trajectory)
-		{
-			if(entry.getKey() > time)
-				break;
-			previous = entry;
-		}
-		
-		if(previous == null)
-			return 0.0;
-		
-		return previous.getValue();
-	}
-	
-	public Pair<Double, Double> getStep(int idx)
-	{
-		return trajectory.get(idx);
-	}
-	
-	public int size()
-	{
-		return trajectory.size();
-	}
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProposedPurchaseTimeSampler.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProposedPurchaseTimeSampler.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProposedPurchaseTimeSampler.java
deleted file mode 100644
index 3fa2ef9..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProposedPurchaseTimeSampler.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.Sampler;
-
-public class ProposedPurchaseTimeSampler implements Sampler<Double>
-{
-	final CustomerInventory customerInventory;
-	final Sampler<Double> arrivalTimeSampler;
-	
-	public ProposedPurchaseTimeSampler(CustomerInventory customerInventory,
-			Sampler<Double> arrivalTimeSampler)
-	{
-		this.customerInventory = customerInventory;
-		this.arrivalTimeSampler = arrivalTimeSampler;
-	}
-	
-	protected double categoryProposedTime(double exhaustionTime) throws Exception
-	{
-		return Math.max(exhaustionTime - arrivalTimeSampler.sample(), 0.0);
-	}
-	
-	public Double sample() throws Exception
-	{
-		double minProposedTime = Double.MAX_VALUE;
-		for(Double exhaustionTime : this.customerInventory.getExhaustionTimes().values())
-		{
-			double proposedTime = this.categoryProposedTime(exhaustionTime);
-			minProposedTime = Math.min(proposedTime, minProposedTime);
-		}
-		
-		return minProposedTime;
-	}
-	
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionPurchasesHiddenMarkovModel.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionPurchasesHiddenMarkovModel.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionPurchasesHiddenMarkovModel.java
deleted file mode 100644
index 83924e3..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionPurchasesHiddenMarkovModel.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import java.util.List;
-import java.util.Map;
-
-import org.apache.bigtop.bigpetstore.datagenerator.Constants;
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.Product;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.SeedFactory;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.ConditionalSampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.RouletteWheelSampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.Sampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.wfs.ConditionalWeightFunction;
-
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.Lists;
-import com.google.common.collect.Maps;
-
-public class TransactionPurchasesHiddenMarkovModel implements ConditionalSampler<List<Product>, Double>
-{
-	
-	protected final static String STOP_STATE = "STOP";
-	
-	final ConditionalSampler<Product, String> purchasingProcesses;
-	final ConditionalWeightFunction<Double, Double> categoryWF;
-	final CustomerInventory inventory;
-	
-	final SeedFactory seedFactory;
-	
-	public TransactionPurchasesHiddenMarkovModel(ConditionalSampler<Product, String> purchasingProcesses,
-			ConditionalWeightFunction<Double, Double> categoryWF, CustomerInventory inventory,
-				SeedFactory seedFactory)
-	{
-		this.purchasingProcesses = purchasingProcesses;
-		this.inventory = inventory;
-		this.categoryWF = categoryWF;
-		
-		this.seedFactory = seedFactory;
-	}
-	
-	protected String chooseCategory(double transactionTime, int numPurchases) throws Exception
-	{
-		ImmutableMap<String, Double> exhaustionTimes = this.inventory.getExhaustionTimes();
-		Map<String, Double> weights = Maps.newHashMap();
-		
-		for(Map.Entry<String, Double> entry : exhaustionTimes.entrySet())
-		{
-			String category = entry.getKey();
-			double weight = this.categoryWF.weight(entry.getValue(), transactionTime);
-			weights.put(category, weight);
-		}
-		
-		if(numPurchases > 0)
-		{
-			weights.put(STOP_STATE, Constants.STOP_CATEGORY_WEIGHT);
-		}
-		
-		Sampler<String> sampler = RouletteWheelSampler.create(weights, seedFactory);
-		
-		return sampler.sample();
-	}
-	
-	protected Product chooseProduct(String category) throws Exception
-	{
-		return this.purchasingProcesses.sample(category);
-	}
-
-	public List<Product> sample(Double transactionTime) throws Exception
-	{
-		int numPurchases = 0;
-		
-		List<Product> purchasedProducts = Lists.newArrayList();
-		
-		String category;
-		while(true)
-		{
-			category = this.chooseCategory(transactionTime, numPurchases);
-			
-			if(category.equals(STOP_STATE))
-			{
-				break;
-			}
-			
-			Product product = this.chooseProduct(category);
-			
-			purchasedProducts.add(product);
-			
-			this.inventory.simulatePurchase(transactionTime, product);
-			numPurchases += 1;
-		}
-		
-		return purchasedProducts;
-	}
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionPurchasesSamplerBuilder.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionPurchasesSamplerBuilder.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionPurchasesSamplerBuilder.java
deleted file mode 100644
index 4400151..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionPurchasesSamplerBuilder.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import java.util.Collection;
-import java.util.List;
-
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.Product;
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.inputs.ProductCategory;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.SeedFactory;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.ConditionalSampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.wfs.ConditionalWeightFunction;
-import org.apache.bigtop.bigpetstore.datagenerator.generators.purchase.PurchasingModel;
-import org.apache.bigtop.bigpetstore.datagenerator.generators.purchase.PurchasingProcesses;
-
-public class TransactionPurchasesSamplerBuilder
-{
-	final SeedFactory seedFactory;
-	final Collection<ProductCategory> productCategories;
-	final PurchasingModel purchasingProfile;
-	
-	protected CustomerTransactionParameters transactionParameters;
-	protected CustomerInventory inventory;
-	
-	public TransactionPurchasesSamplerBuilder(Collection<ProductCategory> productCategories,
-			PurchasingModel purchasingProfile,
-			SeedFactory seedFactory)
-	{
-		this.seedFactory = seedFactory;
-		this.productCategories = productCategories;
-		this.purchasingProfile = purchasingProfile;
-	}
-	
-	public void setTransactionParameters(
-			CustomerTransactionParameters transactionParameters)
-	{
-		this.transactionParameters = transactionParameters;
-	}
-
-	public void setInventory(CustomerInventory inventory)
-	{
-		this.inventory = inventory;
-	}
-
-	public ConditionalSampler<List<Product>, Double> build() throws Exception
-	{
-		PurchasingProcesses processes = purchasingProfile.buildProcesses(seedFactory);
-		
-		ConditionalWeightFunction<Double, Double> categoryWF =
-				new CategoryWeightFunction(transactionParameters.getAveragePurchaseTriggerTime());
-		
-		ConditionalSampler<List<Product>, Double> sampler = new TransactionPurchasesHiddenMarkovModel(processes,
-				categoryWF, inventory, this.seedFactory);
-		
-		return sampler;
-	}
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionSampler.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionSampler.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionSampler.java
deleted file mode 100644
index b19ae38..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionSampler.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import java.util.List;
-
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.Customer;
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.Product;
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.Transaction;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.ConditionalSampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.Sampler;
-
-public class TransactionSampler implements Sampler<Transaction>
-{
-	private final Sampler<Double> timeSampler;
-	private final ConditionalSampler<List<Product>, Double> purchasesSampler;
-	private final Sampler<Integer> idSampler;
-	private final Customer customer;
-	
-	public TransactionSampler(Customer customer, Sampler<Double> timeSampler,
-			ConditionalSampler<List<Product>, Double> purchasesSampler,
-			Sampler<Integer> idSampler)
-	{
-		this.timeSampler = timeSampler;
-		this.customer = customer;
-		this.purchasesSampler = purchasesSampler;
-		this.idSampler = idSampler;
-	}
-	
-	
-	public Transaction sample() throws Exception
-	{	
-		Double transactionTime = timeSampler.sample();
-		List<Product> purchase = purchasesSampler.sample(transactionTime);
-		Integer id = idSampler.sample();
-			
-		Transaction transaction = new Transaction(id, customer, customer.getStore(),
-				transactionTime, purchase);
-		
-		return transaction;
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionSamplerBuilder.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionSamplerBuilder.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionSamplerBuilder.java
deleted file mode 100644
index 748b4db..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionSamplerBuilder.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import java.util.Collection;
-import java.util.List;
-
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.Customer;
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.Product;
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.Transaction;
-import org.apache.bigtop.bigpetstore.datagenerator.datamodels.inputs.ProductCategory;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.SeedFactory;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.ConditionalSampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.Sampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.SequenceSampler;
-import org.apache.bigtop.bigpetstore.datagenerator.generators.purchase.PurchasingModel;
-
-public class TransactionSamplerBuilder
-{
-	private final Collection<ProductCategory> productCategories;
-	private final Customer customer;
-	private final PurchasingModel purchasingProfile;
-	private final SeedFactory seedFactory;
-	
-	CustomerTransactionParameters parameters;
-	CustomerInventory inventory;
-	
-	public TransactionSamplerBuilder(Collection<ProductCategory> productCategories, 
-			Customer customer,
-			PurchasingModel purchasingProfile,
-			SeedFactory seedFactory) throws Exception
-	{
-		this.customer = customer;
-		this.seedFactory = seedFactory;
-		this.purchasingProfile = purchasingProfile;
-		this.productCategories = productCategories;	
-	}
-	
-	protected void buildParameters() throws Exception
-	{
-		CustomerTransactionParametersSamplerBuilder builder = new CustomerTransactionParametersSamplerBuilder(seedFactory);
-		parameters = builder.build().sample();
-	}
-	
-	protected ConditionalSampler<List<Product>, Double> buildPurchasesSampler() throws Exception
-	{
-		TransactionPurchasesSamplerBuilder builder = new TransactionPurchasesSamplerBuilder(productCategories,
-				purchasingProfile, seedFactory);
-		
-		builder.setTransactionParameters(parameters);
-		builder.setInventory(inventory);
-	
-		return builder.build();
-	}
-	
-	protected Sampler<Double> buildTimeSampler()
-	{
-		TransactionTimeSamplerBuilder builder = new TransactionTimeSamplerBuilder(seedFactory);
-		builder.setCustomerTransactionParameters(parameters);
-		builder.setCustomerInventory(inventory);
-		
-		return builder.build();
-	}
-	
-	protected void buildCustomerInventory()
-	{
-		CustomerInventoryBuilder inventoryBuilder = new CustomerInventoryBuilder(parameters,
-				seedFactory);
-		inventoryBuilder.addAllProductCategories(productCategories);
-		inventory = inventoryBuilder.build();
-	}
-	
-	public Sampler<Transaction> build() throws Exception
-	{
-		buildParameters();
-		buildCustomerInventory();
-		
-		Sampler<Double> timeSampler = buildTimeSampler();
-		
-		return new TransactionSampler(customer, timeSampler, buildPurchasesSampler(), new SequenceSampler());
-	}
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionTimePDF.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionTimePDF.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionTimePDF.java
deleted file mode 100644
index b2b284f..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionTimePDF.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import org.apache.bigtop.bigpetstore.datagenerator.framework.pdfs.ConditionalProbabilityDensityFunction;
-
-public class TransactionTimePDF implements ConditionalProbabilityDensityFunction<Double, Double>
-{	
-	public double probability(Double proposedTime, Double lastTransactionTime)
-	{
-		if(proposedTime >= lastTransactionTime)
-		{
-			return 1.0;
-		}
-
-		return 0.0;
-	}
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionTimeSamplerBuilder.java
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionTimeSamplerBuilder.java b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionTimeSamplerBuilder.java
deleted file mode 100644
index 261d5a3..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/TransactionTimeSamplerBuilder.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.bigtop.bigpetstore.datagenerator.generators.transaction;
-
-import org.apache.bigtop.bigpetstore.datagenerator.framework.SeedFactory;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.ExponentialSampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.Sampler;
-import org.apache.bigtop.bigpetstore.datagenerator.framework.samplers.StatefulMonteCarloSampler;
-
-public class TransactionTimeSamplerBuilder
-{
-	private final SeedFactory seedFactory;
-	private CustomerInventory customerInventory;
-	private CustomerTransactionParameters transactionParameters;
-	
-	public TransactionTimeSamplerBuilder(SeedFactory seedFactory)
-	{
-		this.seedFactory = seedFactory;
-	}
-	
-	public void setCustomerInventory(CustomerInventory inventory)
-	{
-		this.customerInventory = inventory;
-	}
-	
-	public void setCustomerTransactionParameters(CustomerTransactionParameters parameters)
-	{
-		this.transactionParameters = parameters;
-	}
-	
-	public Sampler<Double> build()
-	{
-		double lambda = 1.0 / transactionParameters.getAverageTransactionTriggerTime();
-		Sampler<Double> arrivalTimeSampler = new ExponentialSampler(lambda, seedFactory);
-		Sampler<Double> proposedTimeSampler = new ProposedPurchaseTimeSampler(customerInventory,
-				arrivalTimeSampler);
-		
-		return new StatefulMonteCarloSampler<Double>(proposedTimeSampler, 
-				new TransactionTimePDF(),
-				0.0,
-				seedFactory);
-	}
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/resources/input_data/ACS_12_5YR_S1903/ACS_12_5YR_S1903.txt
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/resources/input_data/ACS_12_5YR_S1903/ACS_12_5YR_S1903.txt b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/resources/input_data/ACS_12_5YR_S1903/ACS_12_5YR_S1903.txt
deleted file mode 100755
index 7127f90..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/resources/input_data/ACS_12_5YR_S1903/ACS_12_5YR_S1903.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-S1903
-MEDIAN INCOME IN THE PAST 12 MONTHS (IN 2012 INFLATION-ADJUSTED DOLLARS) 
-
-Although the American Community Survey (ACS) produces population, demographic and housing unit estimates, it is the Census Bureau's Population Estimates Program that produces and disseminates the official estimates of the population for the nation, states, counties, cities and towns and estimates of housing units for states and counties.
-
-
-Supporting documentation on code lists, subject definitions, data accuracy, and statistical testing can be found on the American Community Survey website in the Data and Documentation section.
-
-Sample size and data quality measures (including coverage rates, allocation rates, and response rates) can be found on the American Community Survey website in the Methodology section.
-
-
-Source:  U.S. Census Bureau, 2008-2012 American Community Survey
-
-
-Explanation of Symbols:An '**' entry in the margin of error column indicates that either no sample observations or too few sample observations were available to compute a standard error and thus the margin of error. A statistical test is not appropriate.
-An '-' entry in the estimate column indicates that either no sample observations or too few sample observations were available to compute an estimate, or a ratio of medians cannot be calculated because one or both of the median estimates falls in the lowest interval or upper interval of an open-ended distribution.
-An '-' following a median estimate means the median falls in the lowest interval of an open-ended distribution.
-An '+' following a median estimate means the median falls in the upper interval of an open-ended distribution.
-An '***' entry in the margin of error column indicates that the median falls in the lowest interval or upper interval of an open-ended distribution. A statistical test is not appropriate.
-An '*****' entry in the margin of error column indicates that the estimate is controlled. A statistical test for sampling variability is not appropriate. 
-An 'N' entry in the estimate and margin of error columns indicates that data for this geographic area cannot be displayed because the number of sample cases is too small.
-An '(X)' means that the estimate is not applicable or not available.
-
-
-Data are based on a sample and are subject to sampling variability. The degree of uncertainty for an estimate arising from sampling variability is represented through the use of a margin of error. The value shown here is the 90 percent margin of error. The margin of error can be interpreted roughly as providing a 90 percent probability that the interval defined by the estimate minus the margin of error and the estimate plus the margin of error (the lower and upper confidence bounds) contains the true value. In addition to sampling variability, the ACS estimates are subject to nonsampling error (for a discussion of nonsampling variability, see Accuracy of the Data).  The effect of nonsampling error is not represented in these tables.
-
-
-While the 2008-2012 American Community Survey (ACS) data generally reflect the December 2009 Office of Management and Budget (OMB) definitions of metropolitan and micropolitan statistical areas; in certain instances the names, codes, and boundaries of the principal cities shown in ACS tables may differ from the OMB definitions due to differences in the effective dates of the geographic entities.
-
-
-Estimates of urban and rural population, housing units, and characteristics reflect boundaries of urban areas defined based on Census 2000 data. Boundaries for urban areas have not been updated since Census 2000. As a result, data for urban and rural areas from the ACS do not necessarily reflect the results of ongoing urbanization.
-
-

http://git-wip-us.apache.org/repos/asf/bigtop/blob/3bbbb557/bigtop-bigpetstore/bigpetstore-data-generator/src/main/resources/input_data/ACS_12_5YR_S1903/ACS_12_5YR_S1903_metadata.csv
----------------------------------------------------------------------
diff --git a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/resources/input_data/ACS_12_5YR_S1903/ACS_12_5YR_S1903_metadata.csv b/bigtop-bigpetstore/bigpetstore-data-generator/src/main/resources/input_data/ACS_12_5YR_S1903/ACS_12_5YR_S1903_metadata.csv
deleted file mode 100755
index 9f703a3..0000000
--- a/bigtop-bigpetstore/bigpetstore-data-generator/src/main/resources/input_data/ACS_12_5YR_S1903/ACS_12_5YR_S1903_metadata.csv
+++ /dev/null
@@ -1,123 +0,0 @@
-GEO.id,Id
-GEO.id2,Id2
-GEO.display-label,Geography
-HC01_EST_VC02,Total; Estimate; Households
-HC01_MOE_VC02,Total; Margin of Error; Households
-HC02_EST_VC02,Median income (dollars); Estimate; Households
-HC02_MOE_VC02,Median income (dollars); Margin of Error; Households
-HC01_EST_VC04,Total; Estimate; One race-- - White
-HC01_MOE_VC04,Total; Margin of Error; One race-- - White
-HC02_EST_VC04,Median income (dollars); Estimate; One race-- - White
-HC02_MOE_VC04,Median income (dollars); Margin of Error; One race-- - White
-HC01_EST_VC05,Total; Estimate; One race-- - Black or African American
-HC01_MOE_VC05,Total; Margin of Error; One race-- - Black or African American
-HC02_EST_VC05,Median income (dollars); Estimate; One race-- - Black or African American
-HC02_MOE_VC05,Median income (dollars); Margin of Error; One race-- - Black or African American
-HC01_EST_VC06,Total; Estimate; One race-- - American Indian and Alaska Native
-HC01_MOE_VC06,Total; Margin of Error; One race-- - American Indian and Alaska Native
-HC02_EST_VC06,Median income (dollars); Estimate; One race-- - American Indian and Alaska Native
-HC02_MOE_VC06,Median income (dollars); Margin of Error; One race-- - American Indian and Alaska Native
-HC01_EST_VC07,Total; Estimate; One race-- - Asian
-HC01_MOE_VC07,Total; Margin of Error; One race-- - Asian
-HC02_EST_VC07,Median income (dollars); Estimate; One race-- - Asian
-HC02_MOE_VC07,Median income (dollars); Margin of Error; One race-- - Asian
-HC01_EST_VC08,Total; Estimate; One race-- - Native Hawaiian and Other Pacific Islander
-HC01_MOE_VC08,Total; Margin of Error; One race-- - Native Hawaiian and Other Pacific Islander
-HC02_EST_VC08,Median income (dollars); Estimate; One race-- - Native Hawaiian and Other Pacific Islander
-HC02_MOE_VC08,Median income (dollars); Margin of Error; One race-- - Native Hawaiian and Other Pacific Islander
-HC01_EST_VC09,Total; Estimate; One race-- - Some other race
-HC01_MOE_VC09,Total; Margin of Error; One race-- - Some other race
-HC02_EST_VC09,Median income (dollars); Estimate; One race-- - Some other race
-HC02_MOE_VC09,Median income (dollars); Margin of Error; One race-- - Some other race
-HC01_EST_VC10,Total; Estimate; Two or more races
-HC01_MOE_VC10,Total; Margin of Error; Two or more races
-HC02_EST_VC10,Median income (dollars); Estimate; Two or more races
-HC02_MOE_VC10,Median income (dollars); Margin of Error; Two or more races
-HC01_EST_VC12,Total; Estimate; Hispanic or Latino origin (of any race)
-HC01_MOE_VC12,Total; Margin of Error; Hispanic or Latino origin (of any race)
-HC02_EST_VC12,Median income (dollars); Estimate; Hispanic or Latino origin (of any race)
-HC02_MOE_VC12,Median income (dollars); Margin of Error; Hispanic or Latino origin (of any race)
-HC01_EST_VC13,"Total; Estimate; White alone, not Hispanic or Latino"
-HC01_MOE_VC13,"Total; Margin of Error; White alone, not Hispanic or Latino"
-HC02_EST_VC13,"Median income (dollars); Estimate; White alone, not Hispanic or Latino"
-HC02_MOE_VC13,"Median income (dollars); Margin of Error; White alone, not Hispanic or Latino"
-HC01_EST_VC16,Total; Estimate; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 15 to 24 years
-HC01_MOE_VC16,Total; Margin of Error; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 15 to 24 years
-HC02_EST_VC16,Median income (dollars); Estimate; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 15 to 24 years
-HC02_MOE_VC16,Median income (dollars); Margin of Error; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 15 to 24 years
-HC01_EST_VC17,Total; Estimate; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 25 to 44 years
-HC01_MOE_VC17,Total; Margin of Error; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 25 to 44 years
-HC02_EST_VC17,Median income (dollars); Estimate; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 25 to 44 years
-HC02_MOE_VC17,Median income (dollars); Margin of Error; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 25 to 44 years
-HC01_EST_VC18,Total; Estimate; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 45 to 64 years
-HC01_MOE_VC18,Total; Margin of Error; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 45 to 64 years
-HC02_EST_VC18,Median income (dollars); Estimate; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 45 to 64 years
-HC02_MOE_VC18,Median income (dollars); Margin of Error; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 45 to 64 years
-HC01_EST_VC19,Total; Estimate; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 65 years and over
-HC01_MOE_VC19,Total; Margin of Error; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 65 years and over
-HC02_EST_VC19,Median income (dollars); Estimate; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 65 years and over
-HC02_MOE_VC19,Median income (dollars); Margin of Error; HOUSEHOLD INCOME BY AGE OF HOUSEHOLDER - 65 years and over
-HC01_EST_VC23,Total; Estimate; FAMILIES - Families
-HC01_MOE_VC23,Total; Margin of Error; FAMILIES - Families
-HC02_EST_VC23,Median income (dollars); Estimate; FAMILIES - Families
-HC02_MOE_VC23,Median income (dollars); Margin of Error; FAMILIES - Families
-HC01_EST_VC24,Total; Estimate; FAMILIES - Families - With own children under 18 years
-HC01_MOE_VC24,Total; Margin of Error; FAMILIES - Families - With own children under 18 years
-HC02_EST_VC24,Median income (dollars); Estimate; FAMILIES - Families - With own children under 18 years
-HC02_MOE_VC24,Median income (dollars); Margin of Error; FAMILIES - Families - With own children under 18 years
-HC01_EST_VC25,Total; Estimate; FAMILIES - Families - With no own children under 18 years
-HC01_MOE_VC25,Total; Margin of Error; FAMILIES - Families - With no own children under 18 years
-HC02_EST_VC25,Median income (dollars); Estimate; FAMILIES - Families - With no own children under 18 years
-HC02_MOE_VC25,Median income (dollars); Margin of Error; FAMILIES - Families - With no own children under 18 years
-HC01_EST_VC26,Total; Estimate; FAMILIES - Married-couple families
-HC01_MOE_VC26,Total; Margin of Error; FAMILIES - Married-couple families
-HC02_EST_VC26,Median income (dollars); Estimate; FAMILIES - Married-couple families
-HC02_MOE_VC26,Median income (dollars); Margin of Error; FAMILIES - Married-couple families
-HC01_EST_VC27,"Total; Estimate; FAMILIES - Female householder, no husband present"
-HC01_MOE_VC27,"Total; Margin of Error; FAMILIES - Female householder, no husband present"
-HC02_EST_VC27,"Median income (dollars); Estimate; FAMILIES - Female householder, no husband present"
-HC02_MOE_VC27,"Median income (dollars); Margin of Error; FAMILIES - Female householder, no husband present"
-HC01_EST_VC28,"Total; Estimate; FAMILIES - Male householder, no wife present"
-HC01_MOE_VC28,"Total; Margin of Error; FAMILIES - Male householder, no wife present"
-HC02_EST_VC28,"Median income (dollars); Estimate; FAMILIES - Male householder, no wife present"
-HC02_MOE_VC28,"Median income (dollars); Margin of Error; FAMILIES - Male householder, no wife present"
-HC01_EST_VC32,Total; Estimate; NONFAMILY HOUSEHOLDS - Nonfamily households
-HC01_MOE_VC32,Total; Margin of Error; NONFAMILY HOUSEHOLDS - Nonfamily households
-HC02_EST_VC32,Median income (dollars); Estimate; NONFAMILY HOUSEHOLDS - Nonfamily households
-HC02_MOE_VC32,Median income (dollars); Margin of Error; NONFAMILY HOUSEHOLDS - Nonfamily households
-HC01_EST_VC33,Total; Estimate; NONFAMILY HOUSEHOLDS - Female householder
-HC01_MOE_VC33,Total; Margin of Error; NONFAMILY HOUSEHOLDS - Female householder
-HC02_EST_VC33,Median income (dollars); Estimate; NONFAMILY HOUSEHOLDS - Female householder
-HC02_MOE_VC33,Median income (dollars); Margin of Error; NONFAMILY HOUSEHOLDS - Female householder
-HC01_EST_VC34,Total; Estimate; NONFAMILY HOUSEHOLDS - Female householder - Living alone
-HC01_MOE_VC34,Total; Margin of Error; NONFAMILY HOUSEHOLDS - Female householder - Living alone
-HC02_EST_VC34,Median income (dollars); Estimate; NONFAMILY HOUSEHOLDS - Female householder - Living alone
-HC02_MOE_VC34,Median income (dollars); Margin of Error; NONFAMILY HOUSEHOLDS - Female householder - Living alone
-HC01_EST_VC35,Total; Estimate; NONFAMILY HOUSEHOLDS - Female householder - Not living alone
-HC01_MOE_VC35,Total; Margin of Error; NONFAMILY HOUSEHOLDS - Female householder - Not living alone
-HC02_EST_VC35,Median income (dollars); Estimate; NONFAMILY HOUSEHOLDS - Female householder - Not living alone
-HC02_MOE_VC35,Median income (dollars); Margin of Error; NONFAMILY HOUSEHOLDS - Female householder - Not living alone
-HC01_EST_VC36,Total; Estimate; NONFAMILY HOUSEHOLDS - Male householder
-HC01_MOE_VC36,Total; Margin of Error; NONFAMILY HOUSEHOLDS - Male householder
-HC02_EST_VC36,Median income (dollars); Estimate; NONFAMILY HOUSEHOLDS - Male householder
-HC02_MOE_VC36,Median income (dollars); Margin of Error; NONFAMILY HOUSEHOLDS - Male householder
-HC01_EST_VC37,Total; Estimate; NONFAMILY HOUSEHOLDS - Male householder - Living alone
-HC01_MOE_VC37,Total; Margin of Error; NONFAMILY HOUSEHOLDS - Male householder - Living alone
-HC02_EST_VC37,Median income (dollars); Estimate; NONFAMILY HOUSEHOLDS - Male householder - Living alone
-HC02_MOE_VC37,Median income (dollars); Margin of Error; NONFAMILY HOUSEHOLDS - Male householder - Living alone
-HC01_EST_VC38,Total; Estimate; NONFAMILY HOUSEHOLDS - Male householder - Not living alone
-HC01_MOE_VC38,Total; Margin of Error; NONFAMILY HOUSEHOLDS - Male householder - Not living alone
-HC02_EST_VC38,Median income (dollars); Estimate; NONFAMILY HOUSEHOLDS - Male householder - Not living alone
-HC02_MOE_VC38,Median income (dollars); Margin of Error; NONFAMILY HOUSEHOLDS - Male householder - Not living alone
-HC01_EST_VC41,Total; Estimate; PERCENT IMPUTED - Household income in the past 12 months
-HC01_MOE_VC41,Total; Margin of Error; PERCENT IMPUTED - Household income in the past 12 months
-HC02_EST_VC41,Median income (dollars); Estimate; PERCENT IMPUTED - Household income in the past 12 months
-HC02_MOE_VC41,Median income (dollars); Margin of Error; PERCENT IMPUTED - Household income in the past 12 months
-HC01_EST_VC42,Total; Estimate; PERCENT IMPUTED - Family income in the past 12 months
-HC01_MOE_VC42,Total; Margin of Error; PERCENT IMPUTED - Family income in the past 12 months
-HC02_EST_VC42,Median income (dollars); Estimate; PERCENT IMPUTED - Family income in the past 12 months
-HC02_MOE_VC42,Median income (dollars); Margin of Error; PERCENT IMPUTED - Family income in the past 12 months
-HC01_EST_VC43,Total; Estimate; PERCENT IMPUTED - Nonfamily income in the past 12 months
-HC01_MOE_VC43,Total; Margin of Error; PERCENT IMPUTED - Nonfamily income in the past 12 months
-HC02_EST_VC43,Median income (dollars); Estimate; PERCENT IMPUTED - Nonfamily income in the past 12 months
-HC02_MOE_VC43,Median income (dollars); Margin of Error; PERCENT IMPUTED - Nonfamily income in the past 12 months


Mime
View raw message