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


C# Ferda类代码示例

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


Ferda类属于命名空间,在下文中一共展示了Ferda类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: getStatistics

 public override float getStatistics(Ferda.Modules.AbstractQuantifierSetting quantifierSetting, Ice.Current current__)
 {
     //a(a+b+c+d)/((a+b)(a+c))- 1
     return
         (float)(
              quantifierSetting.secondContingencyTableRows[0][0] *
             (
                 quantifierSetting.secondContingencyTableRows[0][0] +
                 quantifierSetting.secondContingencyTableRows[0][1] +
                 quantifierSetting.secondContingencyTableRows[1][0] +
                 quantifierSetting.secondContingencyTableRows[1][1]
             )
         )
         /
         (float)((
             (
             quantifierSetting.secondContingencyTableRows[0][0] +
             quantifierSetting.secondContingencyTableRows[0][1]
             )
             *
             (
             quantifierSetting.secondContingencyTableRows[0][0] +
             quantifierSetting.secondContingencyTableRows[1][0]
             )
         ) - 1);
 }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:26,代码来源:TwoAvgDf.cs

示例2: getStatistics

 public override float getStatistics(Ferda.Modules.AbstractQuantifierSetting quantifierSetting, Ice.Current current__)
 {
     //Differences between EConfidence (a+d)/(a+b+c+d)
     return
         ((float)(
         quantifierSetting.firstContingencyTableRows[0][0] +
         quantifierSetting.firstContingencyTableRows[1][1]
         )
         /
         (float)(
         quantifierSetting.firstContingencyTableRows[0][0] +
         quantifierSetting.firstContingencyTableRows[0][1] +
         quantifierSetting.firstContingencyTableRows[1][0] +
         quantifierSetting.firstContingencyTableRows[1][1]
         ))
         -
         ((float)(
         quantifierSetting.secondContingencyTableRows[0][0] +
         quantifierSetting.secondContingencyTableRows[1][1]
         )
         /
         (float)(
         quantifierSetting.secondContingencyTableRows[0][0] +
         quantifierSetting.secondContingencyTableRows[0][1] +
         quantifierSetting.secondContingencyTableRows[1][0] +
         quantifierSetting.secondContingencyTableRows[1][1]
         ))
         ;
 }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:29,代码来源:DfFUE.cs

示例3: AttributeFrequencyIce

 /// <summary>
 /// Class constructor
 /// </summary>
 /// <param name="ownerOfAddIn">Owner of addin</param>
 public AttributeFrequencyIce(Ferda.FrontEnd.AddIns.IOwnerOfAddIn ownerOfAddIn)
 {
     this.ownerOfAddIn = ownerOfAddIn;
     resManager = new ResourceManager("Ferda.FrontEnd.AddIns.AttributeFr.Localization_en-US",
     Assembly.GetExecutingAssembly());
     localizationString = "en-US";
 }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:11,代码来源:AttributeFrequencyIce.cs

示例4: ExceptionCatcher

 /// <summary>
 /// Default constructor for the class
 /// </summary>
 /// <param name="ownerOfAddIn">OwnerofAddIn</param>
 /// <param name="form">Parent form</param>
 public ExceptionCatcher(Ferda.FrontEnd.AddIns.IOwnerOfAddIn ownerOfAddIn, 
     WaitDialog parent)
 {
     this.projectManager = ownerOfAddIn.ProjectManager;
     this.ownerOfAddIn = ownerOfAddIn;
     this.parentDialog = parent;
 }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:12,代码来源:ExceptionCatcher.cs

示例5: getStatistics

 public override float getStatistics(Ferda.Modules.AbstractQuantifierSetting quantifierSetting, Ice.Current current__)
 {
     //a+b
     return
         quantifierSetting.firstContingencyTableRows[0][0] +
         quantifierSetting.firstContingencyTableRows[0][1];
 }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:7,代码来源:R.cs

示例6: WaitDialog

 /// <summary>
 /// Class constructor
 /// </summary>
 /// <param name="localePrefs">localeprefs</param>
 /// <param name="tprx">Proxy</param>
 /// <param name="ownerOfAddIn">Owner of addin</param>
 public WaitDialog(string[] localePrefs, AbstractLMTaskFunctionsPrx tprx, Ferda.FrontEnd.AddIns.IOwnerOfAddIn ownerOfAddIn)
 {
     //setting the ResManager resource manager and localization string
     string locale;
     try
     {
         locale = localePrefs[0];
         localizationString = locale;
         locale = "Ferda.FrontEnd.AddIns.WaitDialog.Localization_" + locale;
         resManager = new ResourceManager(locale, Assembly.GetExecutingAssembly());
     }
     catch
     {
         resManager = new ResourceManager("Ferda.FrontEnd.AddIns.WaitDialog.Localization_en-US",
     Assembly.GetExecutingAssembly());
         localizationString = "en-US";
     }
     this.KeyDown += new KeyEventHandler(WaitDialog_KeyDown);
     this.tprx = tprx;
     this.ownerOfAddIn = ownerOfAddIn;
     InitializeComponent();
     this.ChangeLocale(this.resManager);
     ExceptionCatcher catcher = new ExceptionCatcher(this.ownerOfAddIn, this);
     this.tprx.runAction_async(catcher);
 }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:31,代码来源:WaitDialog.cs

示例7: ExplainTableIce

 /// <summary>
 /// Class constructor
 /// </summary>
 /// <param name="ownerOfAddIn">Owner of addin</param>
 public ExplainTableIce(Ferda.FrontEnd.AddIns.IOwnerOfAddIn ownerOfAddIn)
 {
     this.ownerOfAddIn = ownerOfAddIn;
     //setting the ResManager resource manager and localization string
     resManager = new ResourceManager("Ferda.FrontEnd.AddIns.ExplainTable.Localization_en-US",
     Assembly.GetExecutingAssembly());
     localizationString = "en-US";
 }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:12,代码来源:ExplainTableIce.cs

示例8: BoxExceptionClass

 /// <summary>
 /// Default constructor of the class
 /// </summary>
 /// <param name="mod">Modules manager of the application</param>
 /// <param name="resManager">Resource manager</param>
 /// <param name="box">Box that has thrown the exception</param>
 /// <param name="userMessage">Message to be displayed to the user</param>
 public BoxExceptionClass(IBoxModule box, string userMessage, Ferda.FrontEnd.AddIns.IOwnerOfAddIn ownerOfAddIn)
 {
     //   this.resourceManager = resManager;
     this.box = box;
     this.userMessage = userMessage;
     this.modulesManager = ownerOfAddIn.ProjectManager.ModulesManager;
     this.ownerOfAddIn = ownerOfAddIn;
 }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:15,代码来源:BoxExceptionClass.cs

示例9: ResultBrowserIce

 public ResultBrowserIce(Ferda.FrontEnd.AddIns.IOwnerOfAddIn ownerOfAddIn, Ferda.FrontEnd.Properties.IOtherObjectDisplayer Displayer)
 {
     this.ownerOfAddIn = ownerOfAddIn;
     //setting the ResManager resource manager and localization string
     resManager = new ResourceManager("Ferda.FrontEnd.AddIns.ResultBrowser.Localization_en-US",
     Assembly.GetExecutingAssembly());
     localizationString = "en-US";
     this.Displayer = Displayer;
 }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:9,代码来源:ResultBrowserIce.cs

示例10: AddFactory

 public void AddFactory(Ferda.Modules.BoxModuleFactoryPrx factoryPrx)
 {
     lock(this)
     {
         _factories[factoryPrx]=
             Ferda.Modules.BoxModuleFactoryPrxHelper.uncheckedCast(
                 factoryPrx.ice_batchOneway()
             );
     }
 }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:10,代码来源:BoxModuleIceFactories.cs

示例11: getStatistics

 public override float getStatistics(Ferda.Modules.AbstractQuantifierSetting quantifierSetting, Ice.Current current__)
 {
     //a/(a+b)
     return
         (float)quantifierSetting.secondContingencyTableRows[0][0] /
         (float)(
         quantifierSetting.secondContingencyTableRows[0][0] +
         quantifierSetting.secondContingencyTableRows[0][1]
         );
 }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:10,代码来源:TwoConf.cs

示例12: getStatistics

 public override float getStatistics(Ferda.Modules.AbstractQuantifierSetting quantifierSetting, Ice.Current current__)
 {
     //(a+d)/(a+b+c+d)
     return
         (float)(
         quantifierSetting.firstContingencyTableRows[0][0] +
         quantifierSetting.firstContingencyTableRows[1][1]
         )
         /
         (float)(
         quantifierSetting.firstContingencyTableRows[0][0] +
         quantifierSetting.firstContingencyTableRows[0][1] +
         quantifierSetting.firstContingencyTableRows[1][0] +
         quantifierSetting.firstContingencyTableRows[1][1]
         );
 }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:16,代码来源:EConf.cs

示例13: BoxModule

            public BoxModule(Ferda.Modules.BoxModulePrx iceBoxModulePrx, BoxModuleFactoryCreator madeInCreator, Helper helper, ModulesManager modulesManager)
            {
                this.iceBoxModulePrx = iceBoxModulePrx;
                this.madeInCreator = madeInCreator;
                this.iceIdentity = Ice.Util.identityToString(
                    iceBoxModulePrx.ice_getIdentity());
                this.helper = helper;
                this.modulesManager = modulesManager;
                this.managersLocatorI = this.helper.ManagersEngineI.ManagersLocatorI;
                foreach(PropertyInfo property in madeInCreator.Properties)
                {
                    this.propertyNames.Add(property.name);
                }

                //string[] driver = this.MadeInCreator.PropertyDrivingLabel;
                //if (driver != null && driver.Length != 0)
                //{
                //    propertyDrivingLabel = driver[0];
                //}
            }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:20,代码来源:BoxModule.cs

示例14: GetProperty_async

 public abstract void GetProperty_async(Ferda.Modules.AMI_BoxModule_getProperty callBack, string name);
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:1,代码来源:BoxModuleForManager.cs

示例15: StringSeqSettingModule

 public StringSeqSettingModule(Ferda.FrontEnd.AddIns.IOwnerOfAddIn ownerOfAddIn)
 {
     this.ownerOfAddIn = ownerOfAddIn;
 }
开发者ID:BackupTheBerlios,项目名称:ferdadataminer-svn,代码行数:4,代码来源:StringSeqSettingModule.cs


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