// We have to inject at least one path through the system first
// so that it knows what Statements it should be considering
if (first) {
assertEquals(estimate.toString(), 0, estimate.getMarkovPath().size());
Histogram<Statement> stmtCounter = new ObjectHistogram<Statement>();
PartitionSet allPartitions = new PartitionSet();
for (QueryTrace qt : tt.getQueries()) {
Statement stmt = qt.getCatalogItem(catalogContext.database);
int stmtCnt = (int)stmtCounter.get(stmt, 0);
PartitionSet partitions = new PartitionSet();
p_estimator.getAllPartitions(partitions, qt, BASE_PARTITION);
MarkovVertex next_v = new MarkovVertex(stmt,
MarkovVertex.Type.QUERY,
stmtCnt,