class Node():

    def __init__(self, name):

        self.name = name
        self.possValues = []
        self.value = ""
        self.parents = []
        self.children = []
        self.CPD = {}

        # variables for use in Variable Elimination
        self.inDeg = 0
        self.used = False

class Node():

    def __init__(self, name):

        self.name = name
        self.possValues = []
        self.value = ""
        self.parents = []
        self.children = []
        self.CPD = {}

        # variables for use in Variable Elimination
        self.inDeg = 0
        self.used = False

# variables for use in Variable Elimination