Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • F FEDOT
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 87
    • Issues 87
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ITMO-NSS-team
  • FEDOT
  • Merge requests
  • !278

Merged
Created Apr 22, 2021 by Elizaveta Lutsenko@LizLutsenkoOwner

Graph operations extraction

  • Overview 46
  • Commits 8
  • Changes 20

Created by: BarabanovaIrina

New GraphOperator class was implemented, which contains all the operations with graph structure. New NodeOperator class was implemented, which contains implementation of Node.distance_to_primary_level, Node.ordered_subnodes_hierarchy. These classes were created to separate implementation of all the operations on the graph structure from Chain and Node classes.

  • Chain still has base methods for add, delete, update nodes/subtrees, but implementation is moved.
  • Chain has new field called 'operator' which is now used to call some methods: node_children, nodes_from_layer (former nodes_from_height), distance_to_root_level(former node_height), sort_nodes, actualise_old_node_children. You may use them from chain.operator.defined_method()
  • Node has new property distance_to_primary_level.
  • Deletion of nodes with multiple parents and children now works without redirections all-to-all.
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: chain-operations