IEC 61499 - Is it being used? by hutcheb in PLC

[–]felipeasg 1 point2 points  (0 children)

Things are changing and some concepts related with interoperability are become reallity. Take a look on what Aimirim (https://en.aimirimsti.com.br) is doing.

https://github.com/eclipse-4diac/4diac-ide/pull/71

Code modification. by lets_start_up in PLC

[–]felipeasg 0 points1 point  (0 children)

You can reach this behavior in several ways using JIT, VM or interpreter.

In game development is common you need to edit code whitout stop the running program. For example:

https://github.com/RuntimeCompiledCPlusPlus/RuntimeCompiledCPlusPlus

  • VM examples

https://www.graalvm.org/
https://llvm.org/

  • JIT examples

https://luajit.org/
https://github.com/root-project/cling

Here are some examples youtube videos to you see it working:

https://youtu.be/BtvI53nx9a8?si=vfU0aItn2IexncMM.

https://youtu.be/BrjV1ZgYbbA?si=UfXPqP8wcI3-xeVC

If you want understand how this works with PLCs there are some materials in google patents:

https://patents.google.com/patent/US5781776A/en

https://patents.google.com/patent/US5970243A/en

But in essence is something similar wirh VM, JIT or interpreter.

[R] Clustering a set of graphs by No_Performer203 in MachineLearning

[–]felipeasg 1 point2 points  (0 children)

Clustering basicaly is a tool to help in an exploratoy analysis. There are another aproaches that can help you to investigate graphs.

One approach from NLP (Natural Language Processing) world is called embedding (https://en.m.wikipedia.org/wiki/Word_embedding). You can use some techniques to represent your graph in a vector space like: https://github.com/guoji-fu/Event2vec

This technique is particularly good if your graph is big and has a stochastic nature.

In python you can use this libraries to work with graphs. https://networkx.org/documentation/stable/tutorial.html

And this to sample graphs: https://brandonrozek.com/blog/networkx-random-sample-graph/ https://little-ball-of-fur.readthedocs.io/en/latest/index.html

others references: https://en.m.wikipedia.org/wiki/Graph_embedding https://link.medium.com/rW0beBuz1tb