Skip to content
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

Implement dimensions of multiplexity (aspects) #100

Open
ClaudMor opened this issue Jan 15, 2023 · 0 comments
Open

Implement dimensions of multiplexity (aspects) #100

ClaudMor opened this issue Jan 15, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request.

Comments

@ClaudMor
Copy link
Member

For some application, it could be useful to impose a hierarchy to Layers, where each step of the ladder may contain more than one Layer. All Layers in one step would be considered "at the same hierarchical level".

Although the current way to collect Layers - i.e. Vector{Layer}- allows for an hierarchical structure given by the order, it still lacks horizontality. We may then transition from a Vector{Layer} to an OrderedDict{String, Vector{Layer}} where the Strings would name the aspects, and the Layers belonging to each aspect would need an order to be still able to construct the tensorial/matricial representations (could this be relaxed since the way indexing of such representations works right now does not require the user to remember which order Layers where added in? If so, a more elegant and efficient OrderedDict{String, Set{Layer}} could be used).

This would surely require:

  1. Implement an add_aspect! function;
  2. Modify add_layer! so that it also requires the aspect the Layer should be assigned to.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

2 participants