JuliaGraphs / JuliaGraphs/MultilayerGraphs.jl

Implement dimensions of multiplexity (aspects)

Open
#100 0 comments 0 reactions 2 assignees View on GitHub

@ClaudMor is already working on this.

Since Jan 15, 2023.

enhancement
Dominant language
Julia
Stars
133
Forks
8
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.