Package edu.brown.markov.features

Examples of edu.brown.markov.features.AbstractFeature


        for (Procedure catalog_proc : catalogContext.database.getProcedures()) {
            if (catalog_proc.getSystemproc()) continue;
            if (!this.proc_features.containsKey(catalog_proc)) {
                this.proc_features.put(catalog_proc, new ArrayList<AbstractFeature>());
            }
            AbstractFeature f = (AbstractFeature)ClassUtil.newInstance(
                                    feature_class,
                                    new Object[]{ this.p_estimator, catalog_proc },
                                    new Class[] { PartitionEstimator.class, Procedure.class });
            this.proc_features.get(catalog_proc).add(f);
        } // fOR
View Full Code Here


    /**
     * testSerialization
     */
    @Test
    public void testSerialization() throws Exception {
        AbstractFeature features[] = new AbstractFeature[] {
            new BasePartitionFeature(p_estimator, catalog_proc),
            new ParamArrayLengthFeature(p_estimator, catalog_proc),
            new ParamHashEqualsBasePartitionFeature(p_estimator, catalog_proc),
        };
        for (TransactionTrace txn_trace : workload.getTransactions()) {
View Full Code Here

TOP

Related Classes of edu.brown.markov.features.AbstractFeature

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.