使用 php 等语言创建模糊函数
我应该通过 php 实现一个模糊函数。问题是我不知道如何创建它,我在网上查找但没有找到任何东西。现在我希望你能帮我告诉我如何创建 php 模糊函数的拼写错误。每个函数都能顺利进行。这对我来说将是理解一般模型,并使我了解如何为自己创建模糊函数。
I should implement a fuzzy function through php. the problem it is I haven't any idea how create it and I looked for in the web and I didn't found anything.Now I would your help to say me how I could create a typos of php fuzzy function. Every function could go well.It will be to understand for me the general model and make me an idea in how I create fuzzy function to myself.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
取决于你怎么称呼模糊函数,但是
模糊逻辑基本上可以转化为一组此类 IF 条件:
假设我们要为视频游戏怪物编写模糊逻辑规则。我们决定从两个变量开始:生命值(HP)和火力(FP)。我们可以这样开始:
Depends on what do you call a fuzzy functions, but
Basically fuzzy logic translates into a set of IF conditions of this kind:
Let's suppose we want to write fuzzy logic rules for a video game monster. We decide to start with two variables: hit points (HP) and firepower (FP). We might start with this: