资源简介
强大的贝叶斯网络分析软件,可用于系统风险分析,系统失效仿真建模。
代码片段和文件信息
/*
“Demo“ program for Netica-COM in C# using VS8
Works with Netica 3.25 or later and Microsoft C# in Visual Studio 2005
It is best to get this example project working first before writing your own software.
Run the latest version of Netica.exe (“Netica Application“) and then exit to register it as the COM server
(which will remain until another version of Netica is run).
Then build this project (Build->Build Solution) and run it (Debug->Start Debugging).
If it reports the probability of Tuberculosis is 0.0104 then 0.09241 .3377 and .05 your Netica
installation and C# project appear to all be in good order.
Now you can replace the code below with your own.
Or to add Netica to a different project:
From that project choose Project->Add Reference then the “COM“ tab
then double-click “Netica 3.25 object Library“ (or similar).
For documentation on Netica‘s objects and functions:
Add Netica to your project as described above.
Choose View->object Browser (or View->Other Windows->object Browser) or click on the Views
multi-purpose tool button down-arrow and choose “object Browser“.
In the left pane of the object Browser one of the top level entries will be “Interop.Netica“.
You can browse that but it won‘t be as good as browsing the Netica library directly
because it won‘t have a description of each function and it may not even list the functions at all.
If there is no entry at the top level for the library named simply “Netica“ (with the books icon)
choose “Edit Custom Component Set...“ from the “Browse“ menu on the toolbar of the object Browser
(with VS.Net 2003 click on the “Customize...“ button at the top of the window and then the
“Add...“ button of the dialog box that appears). Choose the COM tab select the Netica library from
the list click “Add“ or “Select“ and then “OK“. Now the books icon for the Netica library should
appear and you can browse it.
Choose a Netica object in the left pane then click on a member function or property in the top
right pane to view its short description in the bottom pane.
For more information on it find its Netica-C equivalent name at the end of its short description
and look up the function in the Netica-C manual or online at http://www.norsys.com/onLineAPIManual/index.html .
If you are getting the wrong version of Netica‘s objects then you need to run the correct version of
Netica.exe first to register its COM definition and then choose Build->Clean Solution to remove the old.
Some properties (those taking a parameter) listed in the object browser won‘t be available from C#
but instead you can use the functions get_.. and set_.. where the dots are replaced with the property name.
*/
using System;
using Netica;
namespace NeticaDemo
{
class Program
{
static void Main(string[] args)
{
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-06-22 17:29 Netica(贝叶斯网络分析软件)\Examples\
文件 13746 2009-05-07 15:10 Netica(贝叶斯网络分析软件)\Examples\Animals Common_09-05-07.neta
文件 6062 2006-05-18 16:46 Netica(贝叶斯网络分析软件)\Examples\Animals.dne
文件 18321 2007-06-14 11:55 Netica(贝叶斯网络分析软件)\Examples\Beta Updating.dne
文件 5259 2011-04-25 19:59 Netica(贝叶斯网络分析软件)\Examples\Book Bags.dne
文件 18971 2007-09-19 04:38 Netica(贝叶斯网络分析软件)\Examples\Bouncing.dne
文件 21175 2011-04-25 19:59 Netica(贝叶斯网络分析软件)\Examples\Car Diagnosis 2.dne
文件 9132 2011-04-25 19:59 Netica(贝叶斯网络分析软件)\Examples\Classifier Optimization.dne
文件 8890 2011-04-25 19:59 Netica(贝叶斯网络分析软件)\Examples\Classifier.dne
文件 27190 2007-09-18 14:22 Netica(贝叶斯网络分析软件)\Examples\Copy of Bouncing.dne
文件 29161 2012-02-12 11:10 Netica(贝叶斯网络分析软件)\Examples\Europe Map CSP.dne
文件 130134 2011-04-25 19:59 Netica(贝叶斯网络分析软件)\Examples\HailFinder25.dne
文件 5723 2011-04-25 19:59 Netica(贝叶斯网络分析软件)\Examples\Imposs Demo.dne
文件 7442 2011-04-25 19:59 Netica(贝叶斯网络分析软件)\Examples\Mendel Genetics.dne
目录 0 2018-06-22 17:29 Netica(贝叶斯网络分析软件)\Examples\qNetica Examples\
文件 4319 2009-09-14 17:18 Netica(贝叶斯网络分析软件)\Examples\qNetica Examples\Chest Clinic.neta
文件 8826 2011-04-25 19:59 Netica(贝叶斯网络分析软件)\Examples\Reactor.dne
目录 0 2018-06-22 17:29 Netica(贝叶斯网络分析软件)\Examples\Tutorial - View these first\
文件 14085 2012-11-27 13:11 Netica(贝叶斯网络分析软件)\Examples\Tutorial - View these first\01 - ChestClinic.dne
文件 37094 2010-02-09 10:26 Netica(贝叶斯网络分析软件)\Examples\Tutorial - View these first\02 - ALARM.dne
文件 11507 2011-05-08 16:37 Netica(贝叶斯网络分析软件)\Examples\Tutorial - View these first\03 - Umbrella.dne
文件 9555 2010-02-09 10:28 Netica(贝叶斯网络分析软件)\Examples\Tutorial - View these first\04 - Car Buyer Neapolitan.dne
文件 10315 2011-05-08 16:52 Netica(贝叶斯网络分析软件)\Examples\Tutorial - View these first\05 - Car Diagnosis 0.dne
文件 7678 2011-04-25 15:38 Netica(贝叶斯网络分析软件)\Examples\Tutorial - View these first\06 - Learn Latent.dne
文件 19270 2012-01-16 12:20 Netica(贝叶斯网络分析软件)\Examples\Tutorial - View these first\07 - Bouncing.dne
文件 29818 2003-03-19 23:34 Netica(贝叶斯网络分析软件)\Examples\Tutorial - View these first\Car Cases.cas
文件 281 2002-04-14 04:17 Netica(贝叶斯网络分析软件)\Examples\Tutorial - View these first\Learn Latent Data.cas
文件 2195 2011-04-25 15:38 Netica(贝叶斯网络分析软件)\Examples\Tutorial - View these first\Learn Latent no CPTs.dne
文件 55327 1998-08-30 17:48 Netica(贝叶斯网络分析软件)\Examples\Tutorial - View these first\More Car Cases.cas
目录 0 2018-06-22 17:29 Netica(贝叶斯网络分析软件)\Factory Settings\
文件 1147 2014-09-23 07:46 Netica(贝叶斯网络分析软件)\Factory Settings\Netica Settings.txt
............此处省略105个文件信息
- 上一篇:微风模块9.5
- 下一篇:Cesium画点线面
评论
共有 条评论