Questions on using or implementing more or less common data structures such as linked lists, structs, trees, tries, heaps etc. in Mathematica.
6
votes
0answers
217 views
Is it possible to construct a function to make a poor man's Mathematica database?
I have a function that is set up to write to a database with 10-20 standard variables with 10 fields each, but the application is going to a place where database access is not available. Can ...
4
votes
0answers
80 views
What is the fastest way to maintain a large set of expressions?
In my algorithm I need to maintain a set (an unordered list of distinct elements) of expressions supporting two operations:
Test an expression for membership in the set
Adding a new expression to ...
1
vote
0answers
135 views
Data structure for a list of actions
The idea: I need to generate a sequence of events then run a "propagator" over the list of events where the "propagator" will update the state of the following event. I can then write functions that ...
0
votes
0answers
41 views
tree of values representation
Main Question
Is there an efficient way to output a tree of values similar to the output of TreeForm?
Something like
...