code: def connect(self, v):
      if v is not self and v not in self.nn:
          self.nn.add(v)
          v.nn.add(self)
  
          if self.minimiser():
              v._min = False
              v.check_min = False
  
          # TEMPORARY
          self.check_min = True
          v.check_min = True
  
imports: import numpy
  import copy
label_desc: Use image node_id 3 for calling the Vertex obj's underlying member method code with example usage: obj.connect(v) without return types