当前位置: 首页>>代码示例>>Java>>正文


Java AttributeRule.newDoubleRule方法代码示例

本文整理汇总了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)
       };
}
 
开发者ID:beast-dev,项目名称:beast-mcmc,代码行数:9,代码来源:MulTreeSequenceReassignmentParser.java

示例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) //
	};

}
 
开发者ID:beast-dev,项目名称:beast-mcmc,代码行数:11,代码来源:DirichletProcessOperatorParser.java

示例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)
		};
}
 
开发者ID:beast-dev,项目名称:beast-mcmc,代码行数:8,代码来源:AlloppSpeciesBindingsApSpInfoParser.java

示例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)
       };
}
 
开发者ID:beast-dev,项目名称:beast-mcmc,代码行数:9,代码来源:AlloppSequenceReassignmentParser.java

示例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) })

	};
}
 
开发者ID:beast-dev,项目名称:beast-mcmc,代码行数:13,代码来源:RandomBranchModelParser.java

示例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)
   };
}
 
开发者ID:whdc,项目名称:ieo-beast,代码行数:9,代码来源:AlloppMoveLegsParser.java


注:本文中的dr.xml.AttributeRule.newDoubleRule方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。