OSCR

Block oscr:b:DS97FK7BZBD3Q-L

A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON

Identifier
oscr:b:DS97FK7BZBD3Q-L
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41598-026-45824-3 · its page here
Code
github.com/wouterkool/attention-learn-to-route, nets/graph_encoder.py, lines 183 to 215 (GraphAttentionEncoder)
Commit read
c9abf41ac2f878a55b20dc7e829bc942bb999631
SWHID
swh:1:cnt:e3a4cf883a9adfd69fe826137d7708da5ce60fc7;origin=https://github.com/wouterkool/attention-learn-to-route;anchor=swh:1:rev:c9abf41ac2f878a55b20dc7e829bc942bb999631;path=/nets/graph_encoder.py;lines=183-215 (the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)
In the paper
paragraph 55 (Experimental studies › Experimental setup › Neural TSP solver component)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-14

Open these lines beside the paper

Cite this block

Copy this text: the identifier and its page first, then the code, the paper and the SWHID.

Code block oscr:b:DS97FK7BZBD3Q-L (https://openscicode.org/b/oscr:b:DS97FK7BZBD3Q-L)
nets/graph_encoder.py, lines 183 to 215, in github.com/wouterkool/attention-learn-to-route (https://github.com/wouterkool/attention-learn-to-route), commit c9abf41ac2f878a55b20dc7e829bc942bb999631.
Paper: https://doi.org/10.1038/s41598-026-45824-3
SWHID: swh:1:cnt:e3a4cf883a9adfd69fe826137d7708da5ce60fc7;origin=https://github.com/wouterkool/attention-learn-to-route;anchor=swh:1:rev:c9abf41ac2f878a55b20dc7e829bc942bb999631;path=/nets/graph_encoder.py;lines=183-215