Package com.guokr.simbase

Examples of com.guokr.simbase.SimContext


        this.base.revise(base);
    }

    public void vmk(String vkey) {
        String type = context.getString("vectorSetType");
        SimContext subcontext = context.getSub(type, vkey);
        float accumuFactor = subcontext.getFloat("accumuFactor");
        int sparseFactor = subcontext.getInt("sparseFactor");

        if (type.equals(DenseVectorSet.TYPE)) {
            this.vectorSets.put(vkey, new DenseVectorSet(vkey, this.base, accumuFactor, sparseFactor));
        } else if (type.equals(SparseVectorSet.TYPE)) {
            this.vectorSets.put(vkey, new SparseVectorSet(vkey, this.base, accumuFactor, sparseFactor));
View Full Code Here

TOP

Related Classes of com.guokr.simbase.SimContext

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.