Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
D
dune-typetree
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • staging
  • dune-typetree
  • Merge Requests
  • !90

Merged
Created Feb 18, 2021 by Simon Praetorius@simon.praetoriusOwner

Change TreeContainer factory to support various tree types genericially

  • Overview 28
  • Commits 1
  • Pipelines 11
  • Changes 2

Summary

This is a generalization of the TreeContainer implementation not relying on the node tags but on node interface properties.

Changes

  • Add overload of operator() in ContainerFactory for nodes with dynamic degree, producing a std::vector container
  • Construct all childs of a power-node container
  • Add resize() function to TreeContainerVectorBackend
  • Add Constructor with tree argument that calls resize(tree)

Details

If the tree container storage type is a std::vector we need to construct it using a size argument. This means you have to construct the container with the tree as argument, or make a proper resize afterwards.

Edited Feb 28, 2021 by Simon Praetorius
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: feature/dynamic_treecontainer