用 C 语言进行遗传编程?

发布于 2024-11-14 18:42:11 字数 192 浏览 5 评论 0原文

我想使用基于符号回归的遗传编程创建一种算法。

我读了一些关于这方面的文章,一些用 java 或 c++ 编写的示例。

也许更困难,因为它不是 OOP,但是可以用 C 开发遗传编程吗?

你对我开始编程有何建议?有什么书籍/文章/例子可供阅读吗? 我尝试用谷歌搜索,但没有发现任何有趣的东西..

谢谢,干杯。

I want to create an algorithm using genetic programming, based on symbolic regression.

I read some articles about that, some examples written on java or c++.

Maybe is more difficult because it isn't OOP, but is it possible to develop genetic programming in C?

What do you suggest to me to start programming? Any books/articles/examples to read?
I tried googling about that, but I didn't find anything interesting..

Thank you, cheers.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

遥远的她 2024-11-21 18:42:12

我过去使用过 GAUL ,并且我相当确定它是为与 C 一起使用而编写的。我的工作。

I've used GAUL in the past, and I'm fairly certain it's written to work with C. It did the job for me.

靖瑶 2024-11-21 18:42:12

你对我开始编程有何建议?

如果您开始编程,我强烈推荐一种现代语言,它带有丰富的库,并且对初学者的错误更宽容。

大多数语言都可以使用免费环境,我个人建议使用 C#(使用免费的 MS 工具或 Mono)或 Java(使用 Eclipse)。

Groovy 或 Python 也是不错的选择。

你绝对不会从 C 开始,假设你不受某些特定环境的限制,你的解决方案必须在仅支持 C 的基础上运行。

只是我的 2c ;-)

干杯,
杰伊

What do you suggest to me to start programming?

If you're starting to program I highly recommend a modern language that comes with a rich set of libraries and is more forgiving to beginner's mistakes.

Free environments are available for most languages, personally I'd suggest C# (using either the free MS stuff or Mono) or Java (using Eclipse).

Groovy or Python are good choices, too.

You most definitely won't start with C, that is assuming you're not constrained by some particular environment your solution has to run on that only supports C.

Just my 2c ;-)

Cheers,
Jay

夜夜流光相皎洁 2024-11-21 18:42:12

用C语言实现遗传算法肯定是可以的。如果你只是想专注于算法实验,而不了解机器细节,并且还不了解C语言,那么我推荐Python。

It's definitely possible to implement genetic algorithm with C. If you just wanna focus on the algorithm experiments without the machine details and have not yet known C, then I recommend python.

無心 2024-11-21 18:42:12

TinyGP 最初是用 C 编写的,所以是的,可以实现遗传编程对于遗传编程,我会推荐遗传编程领域指南,因为它是免费的可用并且有很多参考资料。它非常注重实用,但不如其他文本那么彻底。

TinyGP was originally written in C so yes, it is possible to implement genetic programming with C. For genetic programming I would recommend the Fiueld Guide to Genetic Programming since its freely available and has a lot of references. It is very practically-oriented but not as thorough as other texts.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文