ExpressionsByAtom and ExpressionsAtomsHypergraph property #409
Labels
analysis
Adds or changes evolution analysis tools, e.g., `WolframModelEvolutionObject` properties
feature
New functionality, or change in existing functionality
good first issue
Good for newcomers
help wanted
Extra attention is needed
wolfram language
Requires Wolfram Language implementation
The problem
"ExpressionsByAtom"
property will return an association<|atom1 -> {expression1, ...}, atom2 -> {expression2, ...}|>
showing which atoms appear in which expressions.It should take the same arguments as
"Expressions"
property, i.e., to retrieve the result for the last state only, throughout the entire history, for a particular foliation, etc."ExpressionsAtomsHypergraph"
will just return the values of the association above. It is a hypergraph with expressions at vertices, and hyperedges indicating which of those expressions are adjacent. It is a complement of the"AtomsExpressionsHypergraph"
(also known as the spatial graph).Possible solution
Here is the code that does that for the final state.
The text was updated successfully, but these errors were encountered: