本文整理汇总了Java中dr.xml.AttributeRule.newDoubleRule方法的典型用法代码示例。如果您正苦于以下问题:Java AttributeRule.newDoubleRule方法的具体用法?Java AttributeRule.newDoubleRule怎么用?Java AttributeRule.newDoubleRule使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类dr.xml.AttributeRule
的用法示例。
在下文中一共展示了AttributeRule.newDoubleRule方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getSyntaxRules
import dr.xml.AttributeRule; //导入方法依赖的package包/类
@Override
public XMLSyntaxRule[] getSyntaxRules() {
return new XMLSyntaxRule[]{
AttributeRule.newDoubleRule(MCMCOperator.WEIGHT),
new ElementRule(MulSpeciesBindings.class),
new ElementRule(MulSpeciesTreeModel.class)
};
}
示例2: getSyntaxRules
import dr.xml.AttributeRule; //导入方法依赖的package包/类
@Override
public XMLSyntaxRule[] getSyntaxRules() {
return new XMLSyntaxRule[] {
new ElementRule(DirichletProcessPrior.class, false),
new ElementRule(CompoundParameter.class, false), //
new ElementRule(CountableRealizationsParameter.class, false), //
AttributeRule.newDoubleRule(MCMCOperator.WEIGHT) //
};
}
示例3: getSyntaxRules
import dr.xml.AttributeRule; //导入方法依赖的package包/类
@Override
public XMLSyntaxRule[] getSyntaxRules() {
return new XMLSyntaxRule[] {
AttributeRule.newDoubleRule(PLOIDYLEVEL),
new ElementRule(AlloppSpeciesBindings.Individual.class, 1, Integer.MAX_VALUE)
};
}
示例4: getSyntaxRules
import dr.xml.AttributeRule; //导入方法依赖的package包/类
@Override
public XMLSyntaxRule[] getSyntaxRules() {
return new XMLSyntaxRule[]{
AttributeRule.newDoubleRule(MCMCOperator.WEIGHT),
new ElementRule(AlloppSpeciesBindings.class),
new ElementRule(AlloppSpeciesNetworkModel.class)
};
}
示例5: getSyntaxRules
import dr.xml.AttributeRule; //导入方法依赖的package包/类
@Override
public XMLSyntaxRule[] getSyntaxRules() {
return new XMLSyntaxRule[] {
AttributeRule.newDoubleRule(RATE, true, "Rate of the exponentially distributed random component."), //
new ElementRule(TreeModel.class, false), //
new ElementRule(BASE_MODEL,
new XMLSyntaxRule[]{ new ElementRule(SubstitutionModel.class, 1, 1) })
};
}
示例6: getSyntaxRules
import dr.xml.AttributeRule; //导入方法依赖的package包/类
@Override
public XMLSyntaxRule[] getSyntaxRules() {
return new XMLSyntaxRule[]{
AttributeRule.newDoubleRule(MCMCOperator.WEIGHT),
new ElementRule(AlloppSpeciesBindings.class),
new ElementRule(AlloppSpeciesNetworkModel.class)
};
}