本文整理汇总了Java中org.apache.ignite.Ignite.log方法的典型用法代码示例。如果您正苦于以下问题:Java Ignite.log方法的具体用法?Java Ignite.log怎么用?Java Ignite.log使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.ignite.Ignite
的用法示例。
在下文中一共展示了Ignite.log方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: GAGrid
import org.apache.ignite.Ignite; //导入方法依赖的package包/类
/**
*
* @param GAConfiguration
* @param Ignite
*/
public GAGrid(GAConfiguration config, Ignite ignite) {
this.ignite = ignite;
this.config = config;
this.ignite = ignite;
this.igniteLogger = ignite.log();
// Get/Create cache
populationCache = this.ignite.getOrCreateCache(PopulationCacheConfig.populationCache());
populationCache.clear();
// Get/Create cache
geneCache = this.ignite.getOrCreateCache(GeneCacheConfig.geneCache());
geneCache.clear();
}
示例2: ColumnDecisionTreeTrainer
import org.apache.ignite.Ignite; //导入方法依赖的package包/类
/**
* Construct {@link ColumnDecisionTreeTrainer}.
*
* @param maxDepth Maximal depth of the decision tree.
* @param continuousCalculatorProvider Provider of calculator of splits for region projection on continuous
* features.
* @param categoricalCalculatorProvider Provider of calculator of splits for region projection on categorical
* features.
* @param regCalc Function used to assign a value to a region.
*/
public ColumnDecisionTreeTrainer(int maxDepth,
IgniteFunction<ColumnDecisionTreeTrainerInput, ? extends ContinuousSplitCalculator<D>> continuousCalculatorProvider,
IgniteFunction<ColumnDecisionTreeTrainerInput, IgniteFunction<DoubleStream, Double>> categoricalCalculatorProvider,
IgniteFunction<DoubleStream, Double> regCalc,
Ignite ignite) {
this.maxDepth = maxDepth;
this.continuousCalculatorProvider = continuousCalculatorProvider;
this.categoricalCalculatorProvider = categoricalCalculatorProvider;
this.regCalc = regCalc;
this.ignite = ignite;
this.log = ignite.log();
}
示例3: MovieTerminateCriteria
import org.apache.ignite.Ignite; //导入方法依赖的package包/类
public MovieTerminateCriteria(Ignite ignite) {
this.ignite = ignite;
this.igniteLogger = ignite.log();
}
示例4: HelloWorldTerminateCriteria
import org.apache.ignite.Ignite; //导入方法依赖的package包/类
public HelloWorldTerminateCriteria(Ignite ignite) {
this.ignite = ignite;
this.igniteLogger = ignite.log();
}
示例5: OptimizeMakeChangeTerminateCriteria
import org.apache.ignite.Ignite; //导入方法依赖的package包/类
public OptimizeMakeChangeTerminateCriteria(Ignite ignite) {
this.ignite = ignite;
this.igniteLogger = ignite.log();
}