Opened 10 years ago

Closed 10 years ago

Last modified 3 years ago

#640 closed defect (fixed)

optimize does not restrict on marked visible parts of tree

Reported by: westram Owned by: westram
Priority: normal Milestone: arb7.0
Component: ARB_PARSIMONY Version: SVN
Keywords: Cc:

Description (last modified by westram)

Optimize was designed to operate only on subtrees which are visible (i.e. not inside folded groups) and contain marked.

Previous behavior:

  • recursive NNI always operates on whole tree
  • KL optimize operates on whole tree, but stops recursion when inside a folded group

Current behavior [13589]:

  • NNI operates on marked visible edges only
  • KL starts recursion on marked visible edges and descends along visible edges

Wanted behavior:

  • make both criteria configurable:
    • only consider marked branches (opposed to considering all)
    • do not optimize inside folded groups (opposed to optimizing everywhere)

To check:

  • ensure flags used to test for folding/marking are correct after tree modifications

Change History (6)

comment:1 Changed 10 years ago by westram

  • Status changed from new to _started

comment:2 Changed 10 years ago by westram

[13519] and [13520] added tests showing what's wrong with EdgeChains

  • fixing this problem reduces the number of edges in chains (as many are added by mistake)
  • as an unwanted result, this affects the tree quality produced by NNI, because
    • after the fix only marked edges are used
    • as [13521] documents, these mark-flags are invalidated by several tree operations

⇒ NNI doesn't optimize marked species when called several times, e.g.

  • during add+NNI or
  • in recursive-NNI)

comment:3 Changed 10 years ago by westram

  • Description modified (diff)

comment:4 Changed 10 years ago by westram

  • Resolution set to fixed
  • Status changed from _started to closed

by [13589]

customizable with [13593]

comment:5 Changed 9 years ago by westram

  • Milestone set to arb6.1

mark changes that got fixed after arb 6.0.x

comment:6 Changed 3 years ago by westram

  • Milestone changed from arb6.1 to arb7.0

Milestone renamed

Note: See TracTickets for help on using tickets.