设为首页  
联系我们  
加入收藏  
网页制作 冲浪宝典 图形图像 操作系统 软件教学 编程开发 认证考试 安全技术 站长专区 文学驿站 娱乐天地 游戏天地 办公软件
文章搜索
您的位置: 首页 >> 文章首页 >> 编程开发 >> 网络编程 >> ASP.NET实例 >> 在.NET环境下绘制模糊数学中隶属函数分布图
精品推荐
ASP.NET实例点击TOP10
·ASP.NET 程序中常用的三十三种代码
·C#版的网站新闻发布系统
·基于css样式绑定的样式驱动式AJAX程序开发(.net实现)
·ASP.NET的实时天气及24小时天气预报(C#)
·ASP.NET多频道网站架构实现方法
·利用ASP.NET构建网上考试系统
·设计ASP.NET新闻管理系统
·ASP.NET中树形图的实现
·asp.net 2.0中不同web控件之间的相互调用
·结合ASP.NET与JavaScript开发电子沙盘
网络编程点击TOP10
·给 OpenPOP.Net 加一个小功能,可用于收取邮件时监测数据流量!
·『原创』C#中TreeView类操作全攻略:建立树,新增节点,删除节点,修改节点,拖动节点,与Oracle数据库交互操作(一)
·ASP.NET 程序中常用的三十三种代码
·ASP.NET2.0下含有CheckBox的GridView删除选定记录实例
·.Net 名字空间成员速查
·JSP文件下载的几种方式
·Eric的超高效数据分页(图示+代码) ^_^
·Eric的数据分页(演示+代码)
·ASP.NET2.0下含有DropDownList的GridView编辑、删除的完整例子!
·XML与数据库
精选专题

在.NET环境下绘制模糊数学中隶属函数分布图

作者: 来源: 时间:2007-11-24 14:13:42

在.NET环境下绘制模糊数学中隶属函数分布图(1)

本文给出了有个在.NET环境下绘制模糊数学中隶属函数分布图的实例代码,并对其作了简单讲解,大家可以学习一下。

 

以下是引用片段:
  using System;
  using System.Collections.Generic;
  using System.ComponentModel;
  using System.Data;
  using System.Drawing;
  using System.Text;
  using System.Collections;
  using System.Windows.Forms;
  using System.Drawing.Imaging;
  using System.Drawing.Drawing2D;
  namespace ImageFuzzy
  ...{
  public partial class Form1 : Form
  ...{
  private int type1;
  private int type2;


  private string item1;
  private string item2;
  private float a;
  private float b;
  private float c;
  private float d1;
  private float k;
  private float l;
  private float tempx;
  private float tempy;
  public void InitArray()
  ...{
  type1 = 0;
  type2 = 0;
  k = 2;
  item1 = this.comboBox1.Text.ToString();
  item2 = this.comboBox2.Text.ToString();
  this.groupBox1.Text = item1 + item2 + "图形";
  a = float.Parse(this.tbA.Text.Trim().ToString());
  b = float.Parse(this.tbB.Text.Trim().ToString());
  c = float.Parse(this.tbC.Text.Trim().ToString());
  d1 = float.Parse(this.tbD.Text.Trim().ToString());


  k = float.Parse(this.tbK.Text.Trim().ToString());
  l = float.Parse(this.tbL.Text.Trim().ToString());
  type1 = this.comboBox1.SelectedIndex+1;
  type2 = this.comboBox2.SelectedIndex+1;
  }
  private void delete()
  ...{
  a = 0;
  b = 0;
  c = 0;
  d1 = 0;
  k = 0;
  l = 0;
  }
  private void set1()
  ...{
  this.tbA.Text = "1";
  this.tbB.Text = "2";
  this.tbC.Text = "3";
  this.tbD.Text = "4";
  this.tbK.Text = "1";
  this.tbL.Text = "2";
  }
  private void set2()
  ...{
  this.tbA.Text = "1";
  this.tbB.Text = "1.5";

  this.tbC.Text = "2";
  this.tbD.Text = "2.5";
  this.tbK.Text = "1";
  this.tbL.Text = "2";

共4页 9 7 [1] [2] [3] [48 :>

在.NET环境下绘制模糊数学中隶属函数分布图 相关文章:
在.NET环境下绘制模糊数学中隶属函数分布图 相关软件:
特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。
转载请注明来源:http://www.xgdown.com