def create_csp2(): csp = CSP() csp.add_node("class1", ["domain1"]) csp.add_node("class2", ["domain2", "domain3", "domain4"]) csp.add_node("class3", ["domain5", "domain6"]) return csp
def create_csp(): csp = CSP() csp.add_node(("physics", "John Smith"), [("648", (5, 60), "physics")]) return csp
def create_csp(): csp = CSP() csp.add_node("class1", ["domain1"]) return csp