Package common

Examples of common.SizePenalty


    double[] data = dclong.io.BinaryReader.readDouble(dataFile, 0, 0, n);
    int[] initArrayPartition = dclong.io.BinaryReader.readInt(iapFile,0,0,n);
    //define partition prior
    FragmentPenalty fragmentPenalty = new PowerFragmentPenalty(1,90);
    //define size penalty
    SizePenalty sizePenalty = new LinearSizePenalty(0);
    //define partition prior
//    PartitionPrior partitionPrior = new DistPartitionPrior(locs,3,fragmentPenalty,sizePenalty);
    PartitionPrior fragPrior = new FragmentPartitionPrior(fragmentPenalty);
    //define tuning distribution
    RandomGenerator rg = new Well44497b();
View Full Code Here

TOP

Related Classes of common.SizePenalty

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.