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


Java SettingsModel类代码示例

本文整理汇总了Java中org.knime.core.node.defaultnodesettings.SettingsModel的典型用法代码示例。如果您正苦于以下问题:Java SettingsModel类的具体用法?Java SettingsModel怎么用?Java SettingsModel使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


SettingsModel类属于org.knime.core.node.defaultnodesettings包,在下文中一共展示了SettingsModel类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: saveSettingsTo

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected void saveSettingsTo(final NodeSettingsWO settings) {
    m_settingsModels = collectSettingsModels();
    for (final SettingsModel model : m_settingsModels) {
        model.saveSettingsTo(settings);
    }
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:11,代码来源:AbstractALNodeModel.java

示例2: validateSettings

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected void validateSettings(final NodeSettingsRO settings)
        throws InvalidSettingsException {
    m_settingsModels = collectSettingsModels();
    for (final SettingsModel model : m_settingsModels) {
        model.validateSettings(settings);
    }
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:12,代码来源:AbstractALNodeModel.java

示例3: loadValidatedSettingsFrom

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected void loadValidatedSettingsFrom(final NodeSettingsRO settings)
        throws InvalidSettingsException {
    m_settingsModels = collectSettingsModels();
    for (final SettingsModel model : m_settingsModels) {
        model.loadSettingsFrom(settings);
    }
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:12,代码来源:AbstractALNodeModel.java

示例4: collectSettingsModels

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected List<SettingsModel> collectSettingsModels() {
    if (m_settingsModels == null) {
        m_settingsModels = new ArrayList<>();
        m_settingsModels.add(m_columnModel);
        m_settingsModels.add(m_numberOfElementsModel);
        m_settingsModels.add(m_selectionStrategyModel);
    }
    return m_settingsModels;
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:14,代码来源:ElementSelectorNodeModel.java

示例5: collectSettingsModels

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected List<SettingsModel> collectSettingsModels() {
    if (m_settingsModels == null) {
        m_settingsModels = new ArrayList<>();
        m_settingsModels.add(m_repColModel);
        m_settingsModels.add(m_classColModel);
        m_settingsModels.add(m_defaultClassNameModel);
        m_settingsModels.add(m_autoTerminateModel);
    }
    return m_settingsModels;
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:15,代码来源:ActiveLearnLoopEndNodeModel.java

示例6: collectSettingsModels

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
@Override
protected List<SettingsModel> collectSettingsModels() {
    if (m_settingsModels == null) {
        m_settingsModels = new ArrayList<>();
        m_settingsModels.add(m_groundTruthColumnModel);
        m_settingsModels.add(m_maxIterationsModel);
    }
    return m_settingsModels;
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:10,代码来源:DBGActiveLearnLoopEndNodeModel.java

示例7: collectSettingsModels

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
private void collectSettingsModels() {
    if (m_settingsModels == null) {
        m_settingsModels = new ArrayList<SettingsModel>();
        m_settingsModels.add(m_classLabelColumnModel);
        m_settingsModels.add(m_customClassCollumnNameModel);
        m_settingsModels.add(m_appendClassCollumnModel);
        m_settingsModels.add(m_appendIterationModel);
    }
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:10,代码来源:ActiveLearnLoopStartNodeModel.java

示例8: validateSettings

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected void validateSettings(final NodeSettingsRO settings)
        throws InvalidSettingsException {
    collectSettingsModels();
    for (final SettingsModel sm : m_settingsModels) {
        sm.validateSettings(settings);
    }
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:12,代码来源:ActiveLearnLoopStartNodeModel.java

示例9: loadValidatedSettingsFrom

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected void loadValidatedSettingsFrom(final NodeSettingsRO settings)
        throws InvalidSettingsException {
    collectSettingsModels();
    for (final SettingsModel sm : m_settingsModels) {
        sm.loadSettingsFrom(settings);
    }
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:12,代码来源:ActiveLearnLoopStartNodeModel.java

示例10: collectSettingsModels

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected List<SettingsModel> collectSettingsModels() {
    if (m_settingsModels == null) {
        m_settingsModels = new ArrayList<>(1);
        m_settingsModels.add(m_columnFilterModel);
    }
    return m_settingsModels;
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:12,代码来源:AbstractUncertaintyNodeModel.java

示例11: collectSettingsModels

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected List<SettingsModel> collectSettingsModels() {
    if (m_settingsModels == null) {
        m_settingsModels = new ArrayList<>();
        m_settingsModels.add(m_exploitationColumnModel);
        m_settingsModels.add(m_explorationColumnModel);
        m_settingsModels.add(m_exploitationFactorModel);
    }
    return m_settingsModels;
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:14,代码来源:UncertaintyDistributionScorerNodeModel.java

示例12: collectSettingsModels

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected List<SettingsModel> collectSettingsModels() {
    if (m_settingsModels == null) {
        m_settingsModels = new ArrayList<>();
        m_settingsModels.add(m_columnFilterModel);
        m_settingsModels.add(m_numNeighbors);
        m_settingsModels.add(m_sigmaModel);
    }
    return m_settingsModels;
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:14,代码来源:GraphDensityScorerNodeModel.java

示例13: collectSettingsModels

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
protected List<SettingsModel> collectSettingsModels() {
    if (m_settingsModels == null) {
        m_settingsModels = new ArrayList<>();
        m_settingsModels.add(m_filterModel);
        m_settingsModels.add(m_radiusAlphaModel);
    }
    return m_settingsModels;
}
 
开发者ID:knime,项目名称:knime-activelearning,代码行数:13,代码来源:NodePotentialScorerNodeModel.java

示例14: getComponentSettings

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
@Override
protected List<SettingsModel> getComponentSettings() {
	return Arrays.<SettingsModel>asList(
			expression,
			sampleFile,
			inputField,
			includeSource,
			includeNode,
			includeChildren,
			model
			);
}
 
开发者ID:ActianCorp,项目名称:df-xpath,代码行数:13,代码来源:XPathTableNodeSettings.java

示例15: getSettingsModel

import org.knime.core.node.defaultnodesettings.SettingsModel; //导入依赖的package包/类
@Override
protected List<SettingsModel> getSettingsModel() {
	 List<SettingsModel> L=new ArrayList<SettingsModel>(super.getSettingsModel());
	 L.add(this.m_ncbiIdColumn);
	 L.add(this.m_ncbiDb);
	return L;
	}
 
开发者ID:lindenb,项目名称:knime4bio,代码行数:8,代码来源:NcbiViewNodeModel.java


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