Ignore:
Timestamp:
Apr 23, 2021, 8:51:43 PM (5 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
9171d8
Parents:
d951a5
git-author:
Frederik Heber <frederik.heber@…> (03/27/21 16:54:08)
git-committer:
Frederik Heber <frederik.heber@…> (04/23/21 20:51:43)
Message:

FIX: Several small errors in Graph6Reader.

  • off-by-one error with encoding starts at 63 (0), not 64.
  • cur_byte needs to exist outside of scope of next_edge().
  • need a mapping from edges_by_vertices in the subgraph (with indices from the subgraph vertices) to the edge index used in th degrees array to properly calculate the bond degrees.
  • TESTS: Added a chemical space evaluator test case with 3 nodes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Graph/Graph6Reader.hpp

    rd951a5 r1be100  
    4444    eos(false),
    4545    bit_pos(-1),
     46    cur_byte(0),
    4647    num_nodes(0)
    4748  {}
     
    6667  bool eos;
    6768  int bit_pos;
     69  int cur_byte;
    6870  static const int packet_size;
    6971
Note: See TracChangeset for help on using the changeset viewer.