<commit_before>#ifndef BEDGE
#define BEDGE

#include <utility>
#include "BVect.hpp"
#include "DominanceStatus.hpp"

class BEdge {
  private:
    BVect _a;
    BVect _b;
    bool _aClosed;
    bool _bClosed;
    bool _point;
  public:
    BEdge() : _aClosed(false), _bClosed(false), _point(false) {}
    BEdge (BVect a, BVect b, bool aC = true, bool bC = true) : _a(a), _b(b), _aClosed(aC), _bClosed(bC), _point(a==b) {}<commit_msg>BEdge: Ensure that an edge's extremities are closed when reduced to a point<commit_after>#ifndef BEDGE
#define BEDGE

#include <utility>
#include "BVect.hpp"
#include "DominanceStatus.hpp"

class BEdge {
  private:
    BVect _a;
    BVect _b;
    bool _aClosed;
    bool _bClosed;
    bool _point;
  public:
    BEdge() : _aClosed(false), _bClosed(false), _point(false) {}
    BEdge (BVect a, BVect b, bool aC = true, bool bC = true) : _a(a), _b(b), _point(a==b), _aClosed(_point || aC), _bClosed(_point || bC) {}
{'fraction_non_alphanumeric': 0.13983050847457626, 'fraction_numerical': 0.0, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1154079', 'n_tokens_mistral': 398, 'n_tokens_neox': 374, 'n_words': 102}