-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encodings for graphs #129
Encodings for graphs #129
Conversation
…e_drop_mutation-fails-to-remove-node
Codecov Report
@@ Coverage Diff @@
## main #129 +/- ##
==========================================
+ Coverage 72.22% 72.45% +0.22%
==========================================
Files 127 128 +1
Lines 7284 7377 +93
==========================================
+ Hits 5261 5345 +84
- Misses 2023 2032 +9
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Пробовала что-нибудь запускать с этими способами кодирования?
for graph in initial_graphs: | ||
opt_graph = BaseNetworkxAdapter().adapt(item=graph) | ||
for node in opt_graph.nodes: | ||
node.content['name'] = 'x' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Вот, кажется, такие штуки тяжело будет ловить, тяжело избегать и невозможно запретить при учете изменений с кэшированием descriptive_id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
как вариант -- добавить флаг в descriptive_id, чтобы его можно было пересчитать принудительно. ну и оставить там предупреждение о такого рода действиях
здесь так сделано из-за того, что при адаптации в имена нод ставится их uid
запускала на синтетическом примере, но скорее для проверки работоспособности, а не сравнения полученных метрик |
e844604
to
6cb4ab7
Compare
Encodings for graphs with the use of nodes labels were added.