class_docstr: Base class defining the distribution default behavior and interface
docstr: Default constructor for the DistTypeBase class.
  Unless overridden, provides default behavior to all subclasses.
  
  Args:
      idx: Positional index in data passed to the NOTEARS algorithm
      which correspond to this datatype.
docstr_tok: ["Default","constructor","for","the","DistTypeBase","class",".","Unless","overridden",",","provides","default","behavior","to","all","subclasses",".","Args",":","idx",":","Positional","index","in","data","passed","to","the","NOTEARS","algorithm","which","correspond","to","this","datatype","."]
code: def __init__(self, idx: int):
      """
      Default constructor for the DistTypeBase class.
      Unless overridden, provides default behavior to all subclasses.
  
      Args:
          idx: Positional index in data passed to the NOTEARS algorithm
          which correspond to this datatype.
      """
      self.idx = idx
  
imports: import itertools
  from abc import ABCMeta, abstractmethod
  from copy import deepcopy
  from typing import Dict, List, Tuple
  import numpy
  import torch
  from causalnex.structure.structuremodel import StructureModel
label_desc: Use image node_id 1 to create a new DistTypeBase object  with example: obj = DistTypeBase(idx)