Ignore:
Timestamp:
Oct 23, 2022, 9:08:55 AM (3 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
894040
Parents:
0daef6
git-author:
Frederik Heber <frederik.heber@…> (10/19/22 19:38:02)
git-committer:
Frederik Heber <frederik.heber@…> (10/23/22 09:08:55)
Message:

Graph6Writer::write_elementlist uses BFS from boundary atom.

  • the elementlist is not stable as the set of atoms is arbitrary to any kind of permutation. However, the underlying bond graph is not, even though it may also have some symmetries.
  • Therefore, we use a BFS from a non-hydrogen atom on the boundary.
  • FIX: BoosGraphCreator gets vector of const atom*.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Graph/Graph6Writer.hpp

    r0daef6 r1c0b0b  
    1717#include <iosfwd>
    1818#include <vector>
     19
     20#include "types.hpp"
    1921
    2022class atom;
     
    4143
    4244   void write_elementlist(std::ostream& out);
     45
     46private:
     47   atomId_t getBoundaryNonHydrogen() const;
    4348};
    4449
Note: See TracChangeset for help on using the changeset viewer.