aimclub / aimclub/GOLEM

Support graph grammars for graph generation

オープン
#50 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
discuss enhancement help wanted research
主要言語
Python
スター
73
フォーク
11
平均マージ
8時間 51分
マージ済み PR(30日)
4

説明

The idea is to provide a way to generate only valid graphs during evolution (mutations/crossovers).

there's already some rudimentary support for constrained generation. As a sketch, the ChangeAdviser could play a role of a graph grammar generator. For example, mutation could ask ChangeAdvisor which nodes are allowed in a current node context.

This approach would be a more effective alternative to GraphVerifier. GraphVerifier discards already generated invalid graphs, whereas graph grammar approach wouldn't allow them to appear and waste time on them.

What must be here:
- [ ] Support for Context Free Grammars
- [ ] Explicit support for generation of terminal and non-terminal nodes
- [ ] It must be possible to check already generated graph, if it corresponds to the grammar or not.
Possibly there're already tools for that. This would be useful at least for testing.

There's already a real use-case for that in https://github.com/aimclub/rostok library, that uses GOLEM.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。